以下成员源于类 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 .