[Development] QWidget mouse events - different order

Andreas Aardal Hanssen andreas at hanssen.name
Thu Dec 19 10:11:37 CET 2013


On 19 Dec 2013, at 03:30, Nicolás Alvarez <nicolas.alvarez at gmail.com> wrote:
> That would break many use cases, such as QSpinBox, which performs an
> action on every press (not release) and doesn't care about double
> click events.

No it wouldn’t. The default implementation of mouseDoubleClickEvent() calls mousePressEvent().

Andreas
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/development/attachments/20131219/15ddf493/attachment.html>


More information about the Development mailing list