[Interest] New QMouseArea property longPressDelay

Guido Seifert wargand at gmx.de
Wed Jun 26 23:49:41 CEST 2013


Hiya,
in one of my qml project I am quite unhappy with the MouseArea longpress delay.
For some very strange reason it is hardcoded to 800ms. 

I would like to add a new property
  Q_PROPERTY(int longPressDelay READ longPressDelay WRITE setLongPressDelay)
into qtquick1/src/declarative/graphicsitems/qdeclarativemousearea_p.h
(and the analogue class for qtquick2)

Or is there a reason why it must be 800ms? Anything special I should know before I
tamper with the Qt internals?

Guido

-- 
Guido Seifert <wargand at gmx.de>



More information about the Interest mailing list