sounds like you're blocking the gui painting.
i would start a thread for parsing the dom and use some signals/slots to signal 
the gui the current state, like:

signals:
  void startDomParsing();

slots:
  void onDomParsingFinished()
  {
    delete progress;
    // or whatever
  }

or instead of onDomParsingFinished() you could even connect your 
QThread::finished() signal
to the progress::deleteLater() or alike...
and some signals from thread to gui slots for updateing your tree widget.

or, call QCoreApplication::processEvents at appropriate places, if you don't 
want to do it the threaded way.

alex

Attachment: signature.asc
Description: PGP signature

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

Reply via email to