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. What happened when the user close the QDockWidget?does all the widget on in include itself 's destructor been called?
Forum Updated to NodeBB v4.3 + New Features

What happened when the user close the QDockWidget?does all the widget on in include itself 's destructor been called?

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

    what happened when the user close the QDockWidget?does all the widget on in include itself 's destructor been called?
    what should i do if i just want the QDockWidget invisible when the user click the close button there,
    and if that i can show it back easily.
    thank you

    1 Reply Last reply
    0
    • K Offline
      K Offline
      khryleption
      wrote on last edited by
      #2

      When the user click on the close button of a QDockWidget, it just hide, the children widget are not destroyed. To show it again just right-click on the toolbat or the menubar and check your dock widget.

      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