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's going on with the dock Widget? Where's Auto Hide ?
Forum Updated to NodeBB v4.3 + New Features

What's going on with the dock Widget? Where's Auto Hide ?

Scheduled Pinned Locked Moved Unsolved General and Desktop
3 Posts 2 Posters 2.6k Views
  • 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.
  • EatonCodeE Offline
    EatonCodeE Offline
    EatonCode
    wrote on last edited by
    #1

    Hi All,

    I am very, very new to Qt. Now that's out of way what's up with the dock widget in Qt 5.6 ?

    I bought the commercial version of Qt thinking I could take my old C# project and convert it using Qt.

    The very first thing i noticed was that Qt Widgets are different from what I am normally used to.

    I was expecting a way to close the Qt Dock and have some kind of way of bring it back to scope without having to create a menu to find the window I just closed. If I closed a dock window I was expecting something where I could bring it back. Sort of how the Visual Studio Pin/Dock and auto hide works.

    Here is a compare between my existing windows forms and the Qt Projects side by side.

    http://www.eatoncode.com/resources/shareit/dock_Controls_qt_2016-05-09_1939.swf

    It seems that a ton of people have been asking for this exact same feature.

    [2006] http://www.qtcentre.org/archive/index.php/t-3177.html
    [2008] http://www.qtcentre.org/threads/15404-Qt-widget-libraries-catalogs-etc
    [2011] https://forum.qt.io/topic/3055/mainwindow-layout-problem-with-qdockwidget
    [2012] http://stackoverflow.com/questions/13228690/qt-docking-with-docking-arrow-best-way-to-design
    [2012] https://forum.qt.io/topic/20942/solved-styling-qdockwidget/2
    [2016] https://bugreports.qt.io/browse/QTBUG-11331

    These are just some, there are hundreds more asking the very same question.

    Since I am very new to Qt only figured out it existed around Dec 2015, why something this basic was not already added to Qt? Is it a license issue? Is it a Mac/Linux Issue ?

    I was under the impression that Qt was time tested solution with many years under it's belt. It amazes me that something like this is not really important to many others in Qt development.

    I am a Windows Junkie, because I grew up with windows, I am trying my best to learn other OS such as Mac and Linux.

    With Respect,
    David

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

      Right click on Main window menu area by default will show the popup menu with opened/closed dock windows.

      Qt Main Window/views/docking system is far from ideal.
      Most of the development of widget system was frozen in attempt to push QML.

      And you are mistaken it is basic, if you disagree it would be easy for you to implement it yourself.
      Until now I've seen a few implementations in a few applications, but none went public. AFAIK

      1 Reply Last reply
      0
      • EatonCodeE Offline
        EatonCodeE Offline
        EatonCode
        wrote on last edited by
        #3

        @alex_malyu Thanks. I would not have ever expected to click there to restore a docked window.

        I also turned off the content menu by mistake.

        http://www.eatoncode.com/resources/shareit/dock_Controls_qt_2016-05-09_2055.swf

        Not really the ideal way I was thinking of to restore a docked window.

        I am just learning Qt so Sub Classing a Widget is beyond my ability right now.. I guess I will have to learn.

        Who knows maybe it will show up on a YouTube QT tutorial video one day?

        I have seen a project about 5 years old that has this ability but like you said it was not public (Open Source)

        Thanks.

        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