QDesignerDynamicPropertySheetExtension Class Reference
|
virtual | ~QDesignerDynamicPropertySheetExtension () |
virtual int | addDynamicProperty ( const QString & propertyName, const QVariant & value ) = 0 |
virtual bool | canAddDynamicProperty ( const QString & propertyName ) const = 0 |
virtual bool | dynamicPropertiesAllowed () const = 0 |
virtual bool | isDynamicProperty ( int index ) const = 0 |
virtual bool | removeDynamicProperty ( int index ) = 0 |
The QDesignerDynamicPropertySheetExtension class allows you to manipulate a widget's dynamic properties in Qt Designer's property editor.
See also QDesignerPropertySheetExtension and Dynamic Properties.
Destroys the dynamic property sheet extension.
Adds a dynamic property named propertyName and sets its value to value. Returns the index of the property if it was added successfully; otherwise returns -1 to indicate failure.
Returns true if propertyName is a valid, unique name for a dynamic property; otherwise returns false.
Returns true if the widget supports dynamic properties; otherwise returns false.
Returns true if the property at the given index is a dynamic property; otherwise returns false.
Removes the dynamic property at the given index. Returns true if the operation succeeds; otherwise returns false.
Авторские права © 2010 Nokia Corporation и/или её дочерние компании | Торговые марки | Qt 4.6.4 |
Попытка перевода Qt документации. Если есть желание присоединиться, или если есть замечания или пожелания, то заходите на форум: Перевод Qt документации на русский язык... Люди внесшие вклад в перевод: Команда переводчиков |