Hi,
On Sunday 07 August 2016 10:06:54 Thiago Macieira wrote:
> On domingo, 7 de agosto de 2016 10:17:44 PDT André Somers wrote:
> > > Yet, I don't see where the problem is. QDialog::exec() displays a
> > > modal
> > > dialog. It is not possible to click again on the menu or button that
> > >
On domingo, 7 de agosto de 2016 10:17:44 PDT André Somers wrote:
> > Yet, I don't see where the problem is. QDialog::exec() displays a modal
> > dialog. It is not possible to click again on the menu or button that
> > displayed the dialog in the first place. It effectively breaks recursive
> >
Verstuurd vanaf mijn iPhone
> Op 7 aug. 2016 om 09:12 heeft Frederic Marchal
> het volgende geschreven:
>
> On Thursday 04 August 2016 11:20:58 Thiago Macieira wrote:
> > On quinta-feira, 4 de agosto de 2016 10:32:26 PDT John Weeks wrote:
> > > > On Aug 4,
On Thursday 04 August 2016 11:20:58 Thiago Macieira wrote:
> On quinta-feira, 4 de agosto de 2016 10:32:26 PDT John Weeks wrote:
> > > On Aug 4, 2016, at 10:04 AM, Thiago Macieira
> > > wrote:
> > >
> > > Starting an event loop from inside another event loop.
> > >
>
On quinta-feira, 4 de agosto de 2016 10:32:26 PDT John Weeks wrote:
> > On Aug 4, 2016, at 10:04 AM, Thiago Macieira
> > wrote:
> >
> > Starting an event loop from inside another event loop.
> >
> > exec() → some slot or event handler → exec()
>
> OK, so that would
> On Aug 4, 2016, at 10:04 AM, Thiago Macieira
> wrote:
>
> Starting an event loop from inside another event loop.
>
> exec() → some slot or event handler → exec()
OK, so that would cover any use of QEventLoop::exec() in the main thread.
It would also seem to
On quinta-feira, 4 de agosto de 2016 09:25:21 PDT John Weeks wrote:
> At the risk of displaying my ignorance...
>
> Having followed this thread with great interest, I have come to the
> conclusion that perhaps I'm not really certain what you mean by "nested".
> Any chance of an example?
Starting
At the risk of displaying my ignorance...
Having followed this thread with great interest, I have come to the conclusion
that perhaps I'm not really certain what you mean by "nested". Any chance of an
example?
> On Aug 3, 2016, at 10:31 PM, Thiago Macieira
>
On quinta-feira, 4 de agosto de 2016 04:21:44 PDT Uwe Rathmann wrote:
> Having to write this code without nested loops ( f.e. QDialog::exec() )
> leads to 3 method ...
>
> - before askForOption
> - between askForOption and doYouReallyWantTo
> - after doYouReallyWantTo
>
> ... where you always
On Wed, 03 Aug 2016 13:41:51 -0700, Thiago Macieira wrote:
> It's still a source of errors because the nesting counter can be
> incremented in different ways, depending on what triggered the event. So
> the recommendation remains: avoid nesting like the plague.
void doIt()
{
...
int
On quarta-feira, 3 de agosto de 2016 22:25:32 PDT Konstantin Shegunov wrote:
> On Wed, Aug 3, 2016 at 8:58 PM, Thiago Macieira
>
> wrote:
> > On quarta-feira, 3 de agosto de 2016 11:22:36 PDT Jorge Fierro wrote:
> > > - If QEventLoop::exec() spins the main loop then
On Wed, Aug 3, 2016 at 8:58 PM, Thiago Macieira
wrote:
> On quarta-feira, 3 de agosto de 2016 11:22:36 PDT Jorge Fierro wrote:
> > - If QEventLoop::exec() spins the main loop then any event at all can
> > be generated. Is this why one must use it very carefully to
> Sent: Wednesday, August 03, 2016 at 1:22 PM
> From: "Jorge Fierro" <jo...@jorgefierro.com>
> To: interest@qt-project.org
> Subject: [Interest] Relationship between a QEventLoop and
> QCoreApplication::exec().
>
> Hi. I've been reading through the docu
On quarta-feira, 3 de agosto de 2016 11:22:36 PDT Jorge Fierro wrote:
> What exactly is the relationship between an event loop entered by
> calling QEventLoop::exec() and *the* main event loop (the one running
> when you can QCoreApplication::exec())?
Both functions as well as QThread::exec() are
Hi. I've been reading through the documentation and mailing list
archives and I haven't found an authoritative and/or conclusive answer to
the following question:
What exactly is the relationship between an event loop entered by
calling QEventLoop::exec() and *the* main event loop (the one
15 matches
Mail list logo