[Interest] [SOLVED] Re: QGraphicsView viewport touch event on iOS through event filter
Jakob Magiera
JAM at ivu.de
Thu Aug 27 16:21:41 CEST 2015
No exec(), seriously? Could you point me to a place that elaborates on this? I mean the QDialog doc clearly states
>>The most common way to display a modal dialog is to call its exec() function.<<
What gives?
Jakob
-----Ursprüngliche Nachricht-----
Von: interest-bounces+jam=ivu.de at qt-project.org [mailto:interest-bounces+jam=ivu.de at qt-project.org] Im Auftrag von Thiago Macieira
Gesendet: Mittwoch, 26. August 2015 17:17
An: interest at qt-project.org
Betreff: Re: [Interest] [SOLVED] Re: QGraphicsView viewport touch event on iOS through event filter
On Wednesday 26 August 2015 10:02:16 maitai wrote:
> Conclusion is: never ever call processEvents() from a eventFilter or
> similar event() routines
Never do that.
And avoid processEvents() and exec() functions anywhere, period. Nested event
loops cause weird event delivery problems because some events get delivered
unexpectedly and you recurse into your event filters and slots.
--
Thiago Macieira - thiago.macieira (AT) intel.com
Software Architect - Intel Open Source Technology Center
_______________________________________________
Interest mailing list
Interest at qt-project.org
http://lists.qt-project.org/mailman/listinfo/interest
More information about the Interest
mailing list