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 .