Qt:Документация 4.3.2/qdesignerdynamicpropertysheetextension

Материал из Wiki.crossplatform.ru

Перейти к: навигация, поиск
40px Внимание: Актуальная версия перевода документации находится здесь

__NOTOC__

Image:qt-logo.png

Главная · Все классы · Основные классы · Классы по группам · Модули · Функции

Image:trolltech-logo.png

Содержание

[править] QDesignerDynamicPropertySheetExtension Class Reference
[ QtDesigner module]

The QDesignerDynamicPropertySheetExtension class allows you to manipulate a widget's dynamic properties in Qt Designer's property editor. Далее...

 #include <QDesignerDynamicPropertySheetExtension>

Класс был добавлен в Qt 4.3.

[править] Открытые функции


[править] Подробное описание

The QDesignerDynamicPropertySheetExtension class allows you to manipulate a widget's dynamic properties in Qt Designer's property editor.

See also QDesignerPropertySheetExtension and Dynamic Properties.


[править] Описание функций-членов

[править]
QDesignerDynamicPropertySheetExtension::~QDesignerDynamicPropertySheetExtension () [virtual]

Destroys the dynamic property sheet extension.

[править]
int QDesignerDynamicPropertySheetExtension::addDynamicProperty ( const QString & propertyName, const QVariant & value ) [pure virtual]

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.

[править]
bool QDesignerDynamicPropertySheetExtension::canAddDynamicProperty ( const QString & propertyName ) const [pure virtual]

Returns true if propertyName is a valid, unique name for a dynamic property; otherwise returns false.

[править]
bool QDesignerDynamicPropertySheetExtension::dynamicPropertiesAllowed () const [pure virtual]

Returns true if the widget supports dynamic properties; otherwise returns false.

[править]
bool QDesignerDynamicPropertySheetExtension::isDynamicProperty ( int index ) const [pure virtual]

Returns true if the property at the given index is a dynamic property; otherwise returns false.

[править]
bool QDesignerDynamicPropertySheetExtension::removeDynamicProperty ( int index ) [pure virtual]

Removes the dynamic property at the given index. Returns true if the operation succeeds; otherwise returns false.



Copyright © 2007 Trolltech Trademarks
Qt 4.3.2