|
|
| ComboBoxState () |
| | Constructs an empty combo box state.
|
|
bool | isEnabled () const |
| | Returns true if the box is currently enabled.
|
|
void | setEnabled (bool value) |
| | Sets whether the box is enabled.
|
|
bool | isFocused () const |
| | Returns true if the box currently has focus.
|
|
void | setFocused (bool value) |
| | Sets whether the box has focus.
|
|
bool | isHighlighted () const |
| | Returns true if the pointer is currently over the box.
|
|
void | setHighlighted (bool value) |
| | Sets whether the pointer is over the box.
|
|
bool | isEditable () const |
| | Returns true if the box currently accepts typing.
|
|
void | setEditable (bool value) |
| | Sets whether the box currently accepts typing.
|
|
bool | isPopupVisible () const |
| | Returns true if the popup list is currently shown.
|
|
void | setPopupVisible (bool value) |
| | Sets whether the popup list is shown.
|
ComboBoxState is the snapshot a ComboBox passes to measure, layout, and paint. It is not the application model. Enabled, focused, highlighted, editable, and popup visibility describe the look of one paint pass.