![]() |
Home |
The QtBoolPropertyManager class provides and manages boolean properties. More...
#include <QtBoolPropertyManager>
Inherits QtAbstractPropertyManager.
QtBoolPropertyManager ( QObject * parent = 0 ) | |
~QtBoolPropertyManager () | |
bool | value ( const QtProperty * property ) const |
void | setValue ( QtProperty * property, bool value ) |
void | valueChanged ( QtProperty * property, bool value ) |
virtual void | initializeProperty ( QtProperty * property ) |
virtual void | uninitializeProperty ( QtProperty * property ) |
virtual QIcon | valueIcon ( const QtProperty * property ) const |
virtual QString | valueText ( const QtProperty * property ) const |
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 and QtCheckBoxFactory.
Creates a manager with the given parent.
Destroys this manager, and all the properties it has created.
Reimplemented from QtAbstractPropertyManager::initializeProperty().
Sets the value of the given property to value.
See also value().
Reimplemented from QtAbstractPropertyManager::uninitializeProperty().
Returns the given property's value.
If the given property is not managed by this manager, this function returns false.
See also setValue().
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.
Reimplemented from QtAbstractPropertyManager::valueIcon().
Reimplemented from QtAbstractPropertyManager::valueText().
Copyright © 2010 Nokia Corporation and/or its subsidiary(-ies) | Trademarks | Qt Solutions |