[Development] QAbstractScrollArea::keyPressEvent
Giuseppe D'Angelo
giuseppe.dangelo at kdab.com
Tue Sep 18 17:10:56 CEST 2018
Il 18/09/2018 16:14, Martin Koller ha scritto:
> e is a pointer - I can not compare this to a QKeySequence enum, right ?
You can, just overload the operator== for it.
> https://code.woboq.org/qt5/include/qt/QtGui/qevent.h.html#_ZeqP9QKeyEventN12QKeySequence11StandardKeyE
(No idea if that's documented somewhere)
HTH,
--
Giuseppe D'Angelo | giuseppe.dangelo at kdab.com | Senior Software Engineer
KDAB (France) S.A.S., a KDAB Group company
Tel. France +33 (0)4 90 84 08 53, http://www.kdab.com
KDAB - The Qt, C++ and OpenGL Experts
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 4007 bytes
Desc: Firma crittografica S/MIME
URL: <http://lists.qt-project.org/pipermail/development/attachments/20180918/9d4d45dc/attachment.bin>
More information about the Development
mailing list