Obsolete Members for QStyleOptionProgressBar

以下成員源於類 QStyleOptionProgressBar 已過時。 提供它們是為使舊源代碼能繼續工作。強烈建議不要在新代碼中使用它們。

公共函數

(obsolete) void init (const QWidget * widget )

公共變量

(obsolete) Qt::Orientation orientation

成員變量文檔編製

Qt::Orientation QStyleOptionProgressBar:: 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 .