[Qt] Storing custom data in QWidget

Den Jean Den.Jean at telenet.be
Thu Dec 28 11:04:16 CET 2006


On Thursday 28 December 2006 00:55, Jesus Reyes wrote:
> Another thing, keymodifiers cannot be retrieved using QMouseEventH,
> QMouseEvent_modifiers 
QMouseEvent inherits from QInputEvent.
Use following function using the handle of your QMouseEvent.
function QInputEvent_modifiers(handle: QInputEventH): QtKeyboardModifiers; 


> or QMouseEvent_to_QInputEvent() function is
Such a function is not necessary, usage see above.

Sometimes there are ClassA_To_ClassB functions.
See wiki why:
http://www.freepascal.org/wiki/index.php/Qt4_binding#C.2B.2B_Multiple_inheritance

> missing, this is needed to get shift state into LCL mouse msg.


regards,

Den Jean



More information about the Qt mailing list