Hi

I have encapsulated a QFileSystemWatcher object into a class to detect 
when a file of a given format appears in a given folder and emits a 
signal when this is the case.

In another class I catch this signal and attempt to add it to a text edit 
widget in my ui.

In my processing slot I have – 
void MirfFolderMonitorTestHarness::onNewMirfFile(const QString newMirfFile){ 
qDebug() << "TH " << newMirfFile; 
ui.m_newMirfFilesTextEdit->append(newMirfFile); qDebug() << "done TH " << 
newMirfFile;}

My problem is that although I always see the the 2 qDebug statements 
when a new file appears the ui is not updated at the same time.

        Can anyone suggest why this might be the case and how I can get the ui 
to update in a timely manner


        Any help would be gratefully received


        Thanks 


        Sarah
                                          
_______________________________________________
Interest mailing list
Interest@qt-project.org
http://lists.qt-project.org/mailman/listinfo/interest

Reply via email to