Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
Mac 向导(以及 QWizard 的扩展)的默认外观是这样的:
左侧的所有这些空间,即领结图像所在的位置,完全没有用处和浪费。 相反,我喜欢 Dropbox 的人所做的:
我如何在 Qt 中实现这种效果? (在这里使用 PySide 包装器,但我会采用我能得到的任何代码!)
我尝试使用样式表在 QFrame、QWidget 等上设置各种填充和边距以及诸如此类的东西,但仍然无法摆脱左侧的这个空间。我需要破解 MacStyle 吗?我该怎么做呢?
将向导样式更改为经典:
setWizardStyle(QWizard::ClassicStyle);