Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. [SOLVED] resize event and gui responsiveness
Forum Updated to NodeBB v4.3 + New Features

[SOLVED] resize event and gui responsiveness

Scheduled Pinned Locked Moved General and Desktop
3 Posts 2 Posters 1.1k Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • G Offline
    G Offline
    great88
    wrote on last edited by
    #1

    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 ?

    1 Reply Last reply
    0
    • Q Offline
      Q Offline
      QTDavid
      wrote on last edited by
      #2

      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.

      1 Reply Last reply
      0
      • G Offline
        G Offline
        great88
        wrote on last edited by
        #3

        Thanks . That seemed to do the trick .

        1 Reply Last reply
        0

        • Login

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • Users
        • Groups
        • Search
        • Get Qt Extensions
        • Unsolved