A subclass of QComboBox which takes its list of values from a QtlNamedIntSet.
More...
A subclass of QComboBox which takes its list of values from a QtlNamedIntSet.
When the QtlNamedIntComboBox is editable, a decimal or hexadecimal value can be entered.
◆ QtlNamedIntComboBox()
QtlNamedIntComboBox::QtlNamedIntComboBox |
( |
QWidget * |
parent = 0 | ) |
|
|
explicit |
Constructor.
- Parameters
-
[in] | parent | Optional parent widget. |
◆ minimum()
quint32 QtlNamedIntComboBox::minimum |
( |
| ) |
const |
|
inline |
Get the minimum acceptable value.
- Returns
- The minimum acceptable value.
◆ setMinimum()
void QtlNamedIntComboBox::setMinimum |
( |
quint32 |
minimum | ) |
|
|
inline |
Set the minimum acceptable value.
- Parameters
-
[in] | minimum | The minimum acceptable value. |
◆ maximum()
quint32 QtlNamedIntComboBox::maximum |
( |
| ) |
const |
|
inline |
Get the maximum acceptable value.
- Returns
- The maximum acceptable value.
◆ setMaximum()
void QtlNamedIntComboBox::setMaximum |
( |
quint32 |
maximum | ) |
|
|
inline |
Set the maximum acceptable value.
- Parameters
-
[in] | maximum | The maximum acceptable value. |
◆ setRange()
void QtlNamedIntComboBox::setRange |
( |
quint32 |
minimum, |
|
|
quint32 |
maximum |
|
) |
| |
|
inline |
Set the minimum and maximum acceptable values.
- Parameters
-
[in] | minimum | The minimum acceptable value. |
[in] | maximum | The maximum acceptable value. |
◆ names()
Get the set of named values.
- Returns
- The set of named values.
◆ setNames()
Set the set of named values.
- Parameters
-
[in] | names | The set of named values. |
◆ currentValue()
quint32 QtlNamedIntComboBox::currentValue |
( |
| ) |
const |
Get the current integer value in the combo box.
- Returns
- The current integer value in the combo box.
◆ setCurrentValue()
void QtlNamedIntComboBox::setCurrentValue |
( |
quint32 |
currentValue | ) |
|
Set the current integer value in the combo box.
- Parameters
-
[in] | currentValue | The current integer value in the combo box. |
◆ setEditable()
void QtlNamedIntComboBox::setEditable |
( |
bool |
editable | ) |
|
Set the editable flag in the combo box.
Reimplemented from QComboBox.
- Parameters
-
[in] | editable | The editable flag in the combo box. |
◆ currentValueChanged
void QtlNamedIntComboBox::currentValueChanged |
( |
quint32 |
currentValue | ) |
|
|
signal |
Emitted when the current integer value in the combo box changes.
- Parameters
-
[in] | currentValue | The current integer value in the combo box. |
◆ receiveCurrentText
void QtlNamedIntComboBox::receiveCurrentText |
( |
const QString & |
text | ) |
|
|
privateslot |
Received when the current text has changed in the combo box.
- Parameters
-
[in] | text | The current text in the combo box. |
◆ _validator
◆ _names
Validate input (when editable).
The documentation for this class was generated from the following files: