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. Tabified QDockWidget: how to check a QDockWidget is not active?

Tabified QDockWidget: how to check a QDockWidget is not active?

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.
  • Q Offline
    Q Offline
    qtui
    wrote on last edited by
    #1

    Hi all,

    In my Qt application there are many QDockWidget's and those QDockWidget's are tabified into several groups. so most of those QDockWidget's are not active(or not visible). I don't want to update those inactive QDockWidget's to increase UI response, but I don't know how to check this state, do we have an API for that? thanks.

    1 Reply Last reply
    0
    • N Offline
      N Offline
      Neutron Stein
      wrote on last edited by
      #2

      just call qDock.isActiveWindow() i think.

      Never Seen !

      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