Qt 中的 Outlook 快捷方式样式工具栏

发布于 2024-08-11 06:05:07 字数 271 浏览 2 评论 0原文

有没有办法在Qt中创建outlook快捷方式样式工具栏?应该使用普通的工具栏并尝试以某种方式设置它的样式(我不知道如何实现这一点)?或者 Qt 是否为此提供了内置小部件?

我正在谈论像这样的图像上的工具栏: http://www.winsupersite.com/图片/评论/outlook2k2_01.gif

Is there any way to create outloook shortcuts style toolbar in Qt? Should use normal toolbar and try to style it somehow (I have little idea how to achieve this)? Or does Qt provide builtin widget for this?

I am talking about toolbar like on this image: http://www.winsupersite.com/images/reviews/outlook2k2_01.gif

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

错々过的事 2024-08-18 06:05:07

您指的是哪个工具栏?如果是菜单栏下面的,则使用QToolBar结合QToolButton和QAction。

对于左侧的框,选中 QToolBox。看起来很相似。

What toolbar are you refering to? If it is the one below the menu bar, use QToolBar combined with QToolButton and QAction.

For the box on the left side, check QToolBox. It looks similar.

回忆追雨的时光 2024-08-18 06:05:07

所有这些都可以使用 Qt 样式系统和 QToolBar 本身的一些选项来完成。现在它在我们的应用程序中看起来很好。

All of this can be done using Qt styling system and some options from the QToolBar itself. Now it looks just fine in our application.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文