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. Resizing window fails to draw chart

Resizing window fails to draw chart

Scheduled Pinned Locked Moved Solved General and Desktop
2 Posts 2 Posters 216 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.
  • L Offline
    L Offline
    LISP
    wrote on last edited by LISP
    #1

    When data is received by serial communication, draw a qt chart.

    If I resize the main window while receiving data, the chart stops.

    How can I solve this problem?

    I turned off the resize function.

    But the chart also stops when I'm gripping the size.

    or move window..

    1 Reply Last reply
    0
    • mrjjM Offline
      mrjjM Offline
      mrjj
      Lifetime Qt Champion
      wrote on last edited by
      #2

      Hi
      Are you using a QTimer to drive it ?
      On some platforms, dragging or resizing the window will starve to the event queue
      while in progress.

      You can use a thread to drive the cart as it won't get interrupted.

      1 Reply Last reply
      1

      • Login

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