Adds functionality to ComboBox controls by offering configuration, styling and validation options.
More...
#include <ComboBox.h>
Adds functionality to ComboBox controls by offering configuration, styling and validation options.
◆ addCustomCheckStateStyle()
static void AzQtComponents::ComboBox::addCustomCheckStateStyle |
( |
QComboBox * |
cb | ) |
|
|
static |
Applies the CustomCheckState styling to a QCheckBox. With this style applied, the checkmark will be defined by the model, and won't be automatically checked for the current item. Same as AzQtComponents::Style::addClass(comboBox, "CustomCheckState")
◆ loadConfig()
static Config AzQtComponents::ComboBox::loadConfig |
( |
QSettings & |
settings | ) |
|
|
static |
Sets the ComboBox style configuration.
- Parameters
-
settings | The settings object to load the configuration from. |
- Returns
- The new configuration of the ComboBox.
◆ setValidator()
static void AzQtComponents::ComboBox::setValidator |
( |
QComboBox * |
cb, |
|
|
QValidator * |
validator |
|
) |
| |
|
static |
Adds a validator to the ComboBox. This function binds a validator to the control itself instead of the underlying LineEdit, meaning it won't be deleted until the QComboBox itself is destroyed.
The documentation for this class was generated from the following file:
- Code/Framework/AzQtComponents/AzQtComponents/Components/Widgets/ComboBox.h