You can do it like this:
            QApplication.invokeLater(new Runnable() {

                public void run() {
                    // construct and show message box here
                }

            });

It worked when I checked it last time. The only thing - I am not sure
how to return answer to other thread.

On Wed, Sep 30, 2009 at 3:59 PM, Dusan Zatkovsky <[email protected]> wrote:
>> Oh, no, not like that :) I asked about sigProgressChanged.emit(i);
>> operation, it invokes UI-related method outside event loop. But if it
>> works - it's great.
>
> Ok, and what to do with that messagebox? I need to ask a question within job
> thread and receive user answer.
>
> --
> Dusan
> _______________________________________________
> Qt-jambi-interest mailing list
> [email protected]
> http://lists.trolltech.com/mailman/listinfo/qt-jambi-interest
_______________________________________________
Qt-jambi-interest mailing list
[email protected]
http://lists.trolltech.com/mailman/listinfo/qt-jambi-interest

Reply via email to