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 use QDockWidget in QMainWindow?

How to use QDockWidget in QMainWindow?

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

    could it be possible to use a QDockWidget as part of the MainWindow?
    how would the DockWidget be used in this case?
    thanks

    [EDIT: Split from other thread. Please start a new thread when you have an unrelated question -- JKSH]

    1 Reply Last reply
    0
    • JKSHJ Offline
      JKSHJ Offline
      JKSH
      Moderators
      wrote on last edited by
      #2

      Hi,

      Yes, QDockWidget was designed to be used in QMainWindow.

      See the documentation for guidance:

      • http://qt-project.org/doc/qt-5/QDockWidget.html
      • http://qt-project.org/doc/qt-5/qmainwindow.html

      Qt Doc Search for browsers: forum.qt.io/topic/35616/web-browser-extension-for-improved-doc-searches

      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