[SOLVED] resize event and gui responsiveness
-
I am having a long standing problem with my application .
When I resize my application window , the GUI gets stuck until I stop the resizing .
I am receiving network communication and the GUI updates based on the incoming network communication . I put the tcp socket in a separate thread and emit signals to my window to update the GUI .
I need the GUI update not to be interrupted when resize event occurs . I have tried various ways of using threads to achieve this but it is not working . What is the correct code architecture I need ?
-
Try to put QApplication::processEvents() where you think your program is getting stuck, that usually works for simple implementations of progress bars and loops.
For something more complicated you should post some sample code.
-
Thanks . That seemed to do the trick .