Obsolete Members for QStyleOptionProgressBar

The following members of class QStyleOptionProgressBar are obsolete. They are provided to keep old source code working. We strongly advise against using them in new code.

Public Variables

(obsolete) Qt::Orientation orientation

相关非成员

(obsolete) typedef QStyleOptionProgressBarV2

成员变量

Qt::Orientation QStyleOptionProgressBar::orientation

This variable holds the progress bar's orientation (horizontal or vertical); the default orentation is Qt::Horizontal

Use the QStyle::State_Horizontal flag instead (in the the QStyleOption::state member).

参见 QProgressBar::orientation.

相关非成员

typedef QStyleOptionProgressBarV2

Synonym for QStyleOptionProgressBar.