如何更改 Qt 表单的外观?

发布于 2024-08-22 16:55:12 字数 84 浏览 5 评论 0原文

我需要改变我的表单外观和感觉,但我不知道: 我需要下载和安装什么? qt 库中是否安装了任何可用的外观? 我正在使用 Windows 和 qt 4.4.3

i need to change my form look and feel and i dont know :
what i need to download and install ?
is there any ready to use look and feel installed into qt library ?
i am using windows and qt 4.4.3

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

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

发布评论

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

评论(2

我很坚强 2024-08-29 16:55:12

查看 小部件样式样式表(都链接到 Qt 4.4,因为这是您的版本)。

编辑:换句话说,您不需要安装任何其他东西。样式内置于 Qt 中。

Take a look at Widget Styles and Stylesheets (both linked to Qt 4.4 since that's your version).

Edit: In other words, you don't need to install anything else. Styles are built into Qt.

七秒鱼° 2024-08-29 16:55:12

外观相当模糊——您可以在运行程序时通过添加 -style STYLENAME 命令行参数来更改 GUI 应用程序样式。您可以更改应用程序以在 motifwindowsplatinum 或您可能已编译的任何其他自定义样式(例如 <代码>塑料)。

以下是 Qt 文档中有关它的更多信息: http://doc.trolltech.com /4.6/qapplication.html#QApplication

Look-and-feel is pretty vague -- you can change the GUI application style by adding the -style STYLENAME command line argument when you run the program. You can change to the application to run under motif, windows, platinum, or any other custom styles that you might have compiled (such as plastique).

Here is more information about it in the Qt Docs: http://doc.trolltech.com/4.6/qapplication.html#QApplication

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