[Interest] [SOLVED] Re: QGraphicsView viewport touch event on iOS through event filter

André Somers andre at familiesomers.nl
Thu Aug 27 17:36:31 CEST 2015


Op 27-8-2015 om 16:21 schreef Jakob Magiera:
> 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?
The docs. Use open instead.

André

>
> 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.
>




More information about the Interest mailing list