【发布时间】:2021-10-22 13:58:08
【问题描述】:
我读过一篇文章The Imagine Style,可以在qml 中使用c++ 代码样式。
需要qtquickcontrols2.conf 和Imagine Style 或者其他文件。
但我不知道如何在 pyqt 风格中使用它。
我想知道在pyqt中可以使用The Imagine Style吗?
【问题讨论】:
-
你的意思是用
setStyleSheet()将它用于QtWidgets 吗?如果是这种情况,则不能,因为文档中提到的 Imagine Style 仅适用于 Qt Quick。 -
@musicamante 其实只针对Qt Quick Control2,不是QtQuick的全部