How to repaint another Qt class
Posted
by RR
on Stack Overflow
See other posts from Stack Overflow
or by RR
Published on 2010-04-14T11:33:36Z
Indexed on
2010/04/14
12:13 UTC
Read the original article
Hit count: 228
Hi all, I'm a new bit in Qt...
I have a Qt GUI application (written by me), let's call it QtAPP.exe When QtAPP.exe running, I will use a QThread and QProcess to execute some external file, such as player.exe (written in native C).
Here's my question: In QtAPP.exe, there are 2 classes, 1. QMainWindow - Core of QtAPP.exe 2. QThread - A thread class to execute external things
For now, if I got a finished() signal in that QThread, how do I to force the QMainWindow to repaint itself ?
Hope somebody can show me some tips, maybe sample code :) Any suggestion are welcome~
© Stack Overflow or respective owner