Public Slots | |
| virtual void | setValue (QtProperty *property, const QVariant &val) |
| Public Slots inherited from QtVariantPropertyManager | |
| virtual void | setAttribute (QtProperty *property, const QString &attribute, const QMap< int, QIcon > &value) |
| virtual void | setAttribute (QtProperty *property, const QString &attribute, const QVariant &value) |
| virtual void | setValue (QtProperty *property, const QVariant &val) |
Public Member Functions | |
| virtual bool | isPropertyTypeSupported (int propertyType) const |
| virtual QVariant | value (const QtProperty *property) const |
| QString | valueText (const QtProperty *property) const |
| virtual int | valueType (int propertyType) const |
| VariantManager (QObject *parent=0) | |
| ~VariantManager () | |
| Public Member Functions inherited from QtVariantPropertyManager | |
| virtual QtVariantProperty * | addProperty (int propertyType, const QString &name=QString()) |
| virtual QStringList | attributes (int propertyType) const |
| virtual int | attributeType (int propertyType, const QString &attribute) const |
| virtual QVariant | attributeValue (const QtProperty *property, const QString &attribute) const |
| int | propertyType (const QtProperty *property) const |
| QtVariantPropertyManager (QObject *parent=nullptr) | |
| int | valueType (const QtProperty *property) const |
| QtVariantProperty * | variantProperty (const QtProperty *property) const |
| ~QtVariantPropertyManager () override | |
| Public Member Functions inherited from QtAbstractPropertyManager | |
| QtProperty * | addProperty (const QString &name=QString()) |
| void | clear () const |
| QSet< QtProperty * > | properties () const |
| QtAbstractPropertyManager (QObject *parent=nullptr) | |
| ~QtAbstractPropertyManager () override | |
Protected Member Functions | |
| virtual void | initializeProperty (QtProperty *property) |
| virtual void | uninitializeProperty (QtProperty *property) |
| Protected Member Functions inherited from QtVariantPropertyManager | |
| QtProperty * | createProperty () override |
| bool | hasValue (const QtProperty *property) const override |
| QIcon | valueIcon (const QtProperty *property) const override |
| Protected Member Functions inherited from QtAbstractPropertyManager | |
| virtual QString | displayText (const QtProperty *property) const |
| virtual EchoMode | echoMode (const QtProperty *) const |
Additional Inherited Members | |
| Signals inherited from QtVariantPropertyManager | |
| void | attributeChanged (QtProperty *property, const QString &attribute, const QVariant &val) |
| void | valueChanged (QtProperty *property, const QVariant &val) |
| Signals inherited from QtAbstractPropertyManager | |
| void | propertyChanged (QtProperty *property) |
| void | propertyDestroyed (QtProperty *property) |
| void | propertyInserted (QtProperty *property, QtProperty *parent, QtProperty *after) |
| void | propertyRemoved (QtProperty *property, QtProperty *parent) |
| Static Public Member Functions inherited from QtVariantPropertyManager | |
| static int | enumTypeId () |
| static int | flagTypeId () |
| static int | groupTypeId () |
| static int | iconMapTypeId () |
| VariantManager::VariantManager | ( | QObject * | parent = 0 | ) |
| VariantManager::~VariantManager | ( | ) |
|
protectedvirtual |
Implementation of virtual method
Reimplemented from QtVariantPropertyManager.
References QtVariantPropertyManager::addProperty(), QtVariantPropertyManager::initializeProperty(), QtVariantPropertyManager::propertyType(), QtAbstractPropertyManager::QtProperty, QtProperty::setPropertyName(), and VariantManager().
|
virtual |
Returns true if the given propertyType is supported by this variant manager; otherwise false.
Reimplemented from QtVariantPropertyManager.
References QtVariantPropertyManager::isPropertyTypeSupported(), and QtVariantPropertyManager::propertyType().
|
virtualslot |
|
protectedvirtual |
Implementation of virtual method
Reimplemented from QtVariantPropertyManager.
References QtAbstractPropertyManager::QtProperty, and QtVariantPropertyManager::uninitializeProperty().
|
virtual |
Returns the given property's value.
If the given property is not managed by this manager, this function returns an invalid variant.
Reimplemented from QtVariantPropertyManager.
References QtAbstractPropertyManager::QtProperty, and QtVariantPropertyManager::value().
|
virtual |
Implementation of virtual method
Reimplemented from QtVariantPropertyManager.
References QtAbstractPropertyManager::QtProperty, and QtVariantPropertyManager::valueText().
|
virtual |
This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.
Returns the value type associated with the given propertyType.
Reimplemented from QtVariantPropertyManager.
References QtVariantPropertyManager::propertyType(), and QtVariantPropertyManager::valueType().