Obsolete Members for QStyleOptionProgressBar

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

公共變量

(obsolete) Qt::Orientation orientation

相關非成員

(obsolete) typedef QStyleOptionProgressBarV2

成員變量文檔編製

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 QStyleOption::state member).

另請參閱 QProgressBar::orientation .

相關非成員

typedef QStyleOptionProgressBarV2

This typedef is obsolete. It is provided to keep old source code working. We strongly advise against using it in new code.

同義詞 QStyleOptionProgressBar .