以下成員源於類 QPalette are part of the Qt compatibility layer. We advise against using them in new code.
| QPalette (const QColorGroup & active , const QColorGroup & disabled , const QColorGroup & inactive ) | |
| QColorGroup | active () const |
| QPalette | copy () const |
| QColorGroup | 被禁用 () const |
| QColorGroup | inactive () const |
| void | setActive (const QColorGroup & colorGroup ) |
| void | setDisabled (const QColorGroup & colorGroup ) |
| void | setInactive (const QColorGroup & colorGroup ) |
| void | setNormal (const QColorGroup & colorGroup ) |
Constructs a palette with the specified active , disabled and inactive color groups.
Returns the active color group.
另請參閱 setActive () 和 QColorGroup .
Use simple assignment instead.
Returns the disabled color group.
另請參閱 setDisabled () 和 QColorGroup .
Returns the inactive color group.
另請參閱 setInactive () 和 QColorGroup .
Sets the active color group to colorGroup .
另請參閱 active () 和 QColorGroup .
Sets the disabled color group to colorGroup .
另請參閱 被禁用 () 和 QColorGroup .
Sets the inactive color group.
另請參閱 inactive () 和 QColorGroup .
Sets the normal color group to colorGroup .
另請參閱 normal () 和 QColorGroup .