QDesignerDynamicPropertySheetExtension¶
The QDesignerDynamicPropertySheetExtension
class allows you to manipulate a widget’s dynamic properties in Qt Designer’s property editor. More…
Detailed Description¶
See also
QDesignerPropertySheetExtension
Dynamic Properties
- class PySide6.QtDesigner.QDesignerDynamicPropertySheetExtension¶
- PySide6.QtDesigner.QDesignerDynamicPropertySheetExtension.addDynamicProperty(propertyName, value)¶
- Parameters
propertyName – str
value – object
- Return type
int
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.
- PySide6.QtDesigner.QDesignerDynamicPropertySheetExtension.canAddDynamicProperty(propertyName)¶
- Parameters
propertyName – str
- Return type
bool
Returns true if propertyName
is a valid, unique name for a dynamic property; otherwise returns false.
- PySide6.QtDesigner.QDesignerDynamicPropertySheetExtension.dynamicPropertiesAllowed()¶
- Return type
bool
Returns true if the widget supports dynamic properties; otherwise returns false.
- PySide6.QtDesigner.QDesignerDynamicPropertySheetExtension.isDynamicProperty(index)¶
- Parameters
index – int
- Return type
bool
Returns true if the property at the given index
is a dynamic property; otherwise returns false.
- PySide6.QtDesigner.QDesignerDynamicPropertySheetExtension.removeDynamicProperty(index)¶
- Parameters
index – int
- Return type
bool
Removes the dynamic property at the given index
. Returns true if the operation succeeds; otherwise returns false.
© 2022 The Qt Company Ltd. Documentation contributions included herein are the copyrights of their respective owners. The documentation provided herein is licensed under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation. Qt and respective logos are trademarks of The Qt Company Ltd. in Finland and/or other countries worldwide. All other trademarks are property of their respective owners.