以下成员源于类 QStyleOptionProgressBar 已过时。 提供它们是为使旧源代码能继续工作。强烈建议不要在新代码中使用它们。
(obsolete)
void
|
init (const QWidget * widget ) |
(obsolete)
Qt::Orientation
|
orientation |
This documentation is obsolete. It is provided to keep old source code working. We strongly advise against using it in new code.
This variable holds the progress bar's orientation (horizontal or vertical); the default orentation is Qt::Horizontal
使用 QStyle::State_Horizontal flag instead (in the the QStyleOption::state member).
另请参阅 QProgressBar::orientation .