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. How to change the repaint order of layered QWidget in Qt?
Forum Updated to NodeBB v4.3 + New Features

How to change the repaint order of layered QWidget in Qt?

Scheduled Pinned Locked Moved General and Desktop
2 Posts 2 Posters 1.3k 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.
  • I Offline
    I Offline
    inopportuno
    wrote on last edited by
    #1

    I have a Qt application composed by a big QGLWidget rendering 3D models and by a QDockWidget dialog (non-modal) that sometimes appears on top of the QGLWidget in order to change application parameters values. When a big model is rendered I have the dialog temporary freezing (half of a second), showing only the dialog's frame. Then after the QGLWidget containing the 3D model finishes the rendering process the dialog is correctly repainted.

    Is it possible to force Qt to call the repaint function of the dialog before the one of the QGLWidget?

    1 Reply Last reply
    0
    • A Offline
      A Offline
      andre
      wrote on last edited by
      #2

      No, you cannot alter the painting order.

      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