The QtBoolPropertyManager class provides and manages boolean properties.
More...
The QtBoolPropertyManager class provides and manages boolean properties.
The property's value can be retrieved using the value() function, and set using the setValue() slot.
In addition, QtBoolPropertyManager provides the valueChanged() signal which is emitted whenever a property created by this manager changes.
- See also
- QtAbstractPropertyManager, QtCheckBoxFactory
◆ QtBoolPropertyManager()
QtBoolPropertyManager::QtBoolPropertyManager |
( |
QObject * | parent = 0 | ) |
|
Creates a manager with the given parent.
◆ ~QtBoolPropertyManager()
QtBoolPropertyManager::~QtBoolPropertyManager |
( |
| ) |
|
Destroys this manager, and all the properties it has created.
◆ initializeProperty()
void QtBoolPropertyManager::initializeProperty |
( |
QtProperty * | property | ) |
|
|
protectedvirtual |
◆ setValue
void QtBoolPropertyManager::setValue |
( |
QtProperty * | property, |
|
|
bool | value ) |
|
slot |
Sets the value of the given property to value.
- See also
- value()
◆ uninitializeProperty()
void QtBoolPropertyManager::uninitializeProperty |
( |
QtProperty * | property | ) |
|
|
protectedvirtual |
◆ value()
bool QtBoolPropertyManager::value |
( |
const QtProperty * | property | ) |
const |
Returns the given property's value.
If the given property is not managed by this manager, this function returns false.
- See also
- setValue()
◆ valueChanged
void QtBoolPropertyManager::valueChanged |
( |
QtProperty * | property, |
|
|
bool | value ) |
|
signal |
This signal is emitted whenever a property created by this manager changes its value, passing a pointer to the property and the new value as parameters.
◆ valueIcon()
QIcon QtBoolPropertyManager::valueIcon |
( |
const QtProperty * | property | ) |
const |
|
protectedvirtual |
◆ valueText()
QString QtBoolPropertyManager::valueText |
( |
const QtProperty * | property | ) |
const |
|
protectedvirtual |
The documentation for this class was generated from the following files:
- C:/Workspace/itom_development_VS2019_Qt5.15.2_x64/itomProject/itom/itomWidgets/paramPropertyBrowser/qtpropertymanager.h
- C:/Workspace/itom_development_VS2019_Qt5.15.2_x64/itomProject/itom/itomWidgets/paramPropertyBrowser/qtpropertymanager.cpp