Qt 或 WxWidgets 中的自动隐藏面板
我正在寻找一种方法来拥有与 Visual Studio 中的面板类似的停靠面板。
本质上是一个可以设置为自动隐藏或可以固定打开的面板。
可能这个问题有点模糊。 我正在寻找的本质上是 此产品
如果我是,请发表评论缺少细节,因为我希望这个问题得到解决。 我已经在谷歌上进行了相当多的搜索,但未能找到可能的解决方案。 如果情况变得更糟,我最终将使用快捷方式来隐藏和取消隐藏侧面板。
I am looking to find a way to have a docked panel that would be similar to the panels within visual studio.
Essentially a panel that can be set to auto hide or can be pinned open.
Possibly this question was a bit vague. What I am looking for is essentially this product
Please leave a comment if I am missing details as I would like this question solved. I have searched google a fair bit and have not been able to find a possible solution. If worse comes to worse I will end up using a shortcut to hide and unhide the side panel.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(4)
查看 wxWidgets 中的 AUI 演示。
check out the AUI demo in wxWidgets.
Qt 有 QDockWidget,也许这就是您正在寻找的?
Qt has QDockWidget, maybe that's what you're looking for?
遗憾的是 Qt 不支持这一点。 我曾骚扰过他们和其他人,但没有得到任何消息。 我正在写自己的内容来做到这一点。
Qt sadly doesn't support this. I've bugged them and others but got no word. I'm writing my own to doing this.
目前,有一个针对 Qt 的 Visual Studio 对接实现。
它实现了常规 MFC 对接中存在的所有功能 - 自动隐藏面板、栏、浮动窗口和贴纸。
如果该任务对您来说仍然是实际的,您可以尝试在此处下载示例 - http://www .devmachines.com/qtitandocking-overview.html
At the moment, there is a Visual Studio docking implementation for Qt.
It implements all the features that exist in a regular MFC docking - autohide panels, bars, floating windows and stickers.
If the task is still actual for you, you can try download the example here - http://www.devmachines.com/qtitandocking-overview.html