On Wed, Sep 30, 2009 at 2:05 PM, Dusan Zatkovsky <[email protected]> wrote:
> Hi,
>
>> Are you sure code from first way will work?
>
> Yes. It was simplified a bit, but copy-pasted from running project.
>
> I have tried to change it to:
>
>        Job j = new Job();
>        j.sigProgressChanged.connect(b, "setValue(int)");
>        QApplication.invokeLater(j);
>        d.exec();
>
> but gui was totally freezed ( except progressbar, but slider was freezed ).

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.

_______________________________________________
Qt-jambi-interest mailing list
[email protected]
http://lists.trolltech.com/mailman/listinfo/qt-jambi-interest

Reply via email to