Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct
What's going on with the dock Widget? Where's Auto Hide ?
EatonCode last edited by
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.
It seems that a ton of people have been asking for this exact same feature.
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.
alex_malyu last edited by alex_malyu
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
EatonCode last edited by
@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.
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)