以下成員源於類 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 .