This is code fragment:
ExcitThread eThread(this, eInfo);
eThread.
start(QThread::LowestPriority);
l
->addWidget
(new QLabel("Working..."));
widget->setLayout(l);
widget->show();
while(eThread.isRunning())
usleep(100);
widget->close();
if(eThread.isOk())
...
ExcitThread eThread(this, eInfo);
eThread.start(QThread::LowestPriority);
QWidget* widget = new QWidget(this);
QVBoxLayout* l = new QVBoxLayout();
l->addWidget(new QLabel("Working..."));
widget->setLayout(l);
widget->show();
while(eThread.isRunning())
usleep(100);
widget->close();
if(eThread.isOk())
...
To copy to clipboard, switch view to plain text mode
The thing is I don't see "Working..." message. The (non GUI) ExcitThread does it's work fine.
Where is "Working..."?
Bookmarks