-
Notifications
You must be signed in to change notification settings - Fork 558
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Can you add Auto Hide functionality? #147
Comments
Could you please elaborate what is your use case for this kind of functionality? |
Flexible and dockable widgets for Qt5, like Visual Studio 2017 user interface. |
Sometimes the computer screen is small, you need to hide part of the form, so that you can easily see the form of interest. |
Ok, I understand. You do not need this feature for yourself and you do not have an urgent need for this feature. You just think it would be nice to have it in the library. I will check what I can do. |
In fact, my need is to add an automatic hide button to the dockwidget. After the mouse clicks the button, the dockwidget will be hidden, and then there will be a sidebar toolbar on the left or right or bottom side. The toolbar has buttons. When this button is pressed After that, the dockwidget will be displayed again. |
Was just about to ask for that feature exactly. I'm in the process of porting my project GitAtomic to Qt and this is simply a "must have" not just, nice to have. This is standard behavior. |
Ok, I think, I will try to implement this feature, but this will take some time (some weeks). If you need it urgently, you may try QTitanDocking. I think, they have this feature. Or you could donate 20$ or more via the donate button on the front page of this project, to indicate that this feature is really important and urgent for you and that you would like me to spend some spare time immediately to implement this feature for you. Btw, what do you mean with "This is standard behaviour"? |
Hi, Thank you for reply. Will donate 40$ with great pleasure as I believe we devs need to support each other (will do it after the COVID situation is finished). Once again, thank you for your reply and wish you good health in those strange times. |
I second this proposal. It would be very nice to have. However, there could be an intermediate solution that should be a lot simpler to implement: |
@Folling I completely disagree with "so called" intermediate solution idea. From the experience I know that: |
I found a temporary solution, github has an open source project of golang IDE: https://github.com/visualfc/liteide But I hope Qt-Advanced-Docking-System can do better than it! |
@libaineu2004 Could you please explain how would that be a temporary solution? And to which/whos problem? |
I mean https://github.com/visualfc/liteide, this project also has dockwidget. But I prefer to use |
I just checked LiteIDE and it is completely different from what you see in Visual Studio. In Visual Studio an Auto Hide Window is overlayed in layer above the normal docked Windows - so that means it does not change the docking layout. The LiteIDE behaviour is completely different. I'm not going to implement a temprary solution. If I start implementing this feature, then it will be a final solution. |
@githubuser0xFFFF Smart choice ;) |
@githubuser0xFFFF Just to clarify on auto hide. In VS and GitAtomic (which I believe has it implemented the way it should be) if you hide a panel it will hide to the side it is docked to, not always above the window as you suggested in your last comment. |
Sorry, I used the wrong wording. With above I mean the Z order. That means the the auto hide widget is overlayed in a layer over the normal dock layout. |
@githubuser0xFFFF Perfect! |
Yes. The Dockwidget of LiteIDE and Visual Studio are completely different. Looking forward to your excellent work!@githubuser0xFFFF |
Is this feature in development? Anything we can do to prioritize it's delivery? |
The feature is under development in the autohide branch and it already has the highest priority. |
@githubuser0xFFFF Any update on this? It's nearly 7 months since the last comment on this issue. Is this still work in progress or is this work shelved? |
@hs-apotell The work is not shelved. I really would like to implement this feature and I already started work in the |
@githubuser0xFFFF Could you pen down some thoughts/approach on how you think this should be implemented. May be one of us can contribute the feature, with some guidance from your end. |
Is this feature in development? Looking forward to your results! |
At the moment I do not work on this feature so do not expect any results in the near future |
Added inittial implementation in branch https://github.com/githubuser0xFFFF/Qt-Advanced-Docking-System/tree/auto_hide_feature. The branch was created based on the pull request #452 |
I close the issue, because this feature is under active development |
Can you add the function of automatically hiding and docking?
The following four states can be switched:
Float
Dock
Hide
Auto Hide
for example:Qt-Auto-Hide-DockWidget
https://github.com/anyox/Qt-Auto-Hide-DockWidget
The text was updated successfully, but these errors were encountered: