QDesignerMetaPropertyInterface Class
QDesignerMetaPropertyInterface is part of Qt Designer's introspection interface and represents a property. More...
Header: | #include <QDesignerMetaPropertyInterface> |
Public Types
enum | AccessFlag { ReadAccess, WriteAccess, ResetAccess } |
flags | AccessFlags |
enum | Attribute { DesignableAttribute, ScriptableAttribute, StoredAttribute, UserAttribute } |
flags | Attributes |
enum | Kind { EnumKind, FlagKind, OtherKind } |
Public Functions
Detailed Description
\internal
\since
4.4
\inmodule
QtDesigner
The QDesignerMetaPropertyInterface class provides meta-data about a property.
See also QDesignerMetaObjectInterface.
Member Type Documentation
enum QDesignerMetaPropertyInterface::AccessFlag
flags QDesignerMetaPropertyInterface::AccessFlags
These flags specify the access the property provides.
Constant | Value | Description |
---|---|---|
QDesignerMetaPropertyInterface::ReadAccess | 0x0001 | Property can be read |
QDesignerMetaPropertyInterface::WriteAccess | 0x0002 | Property can be written |
QDesignerMetaPropertyInterface::ResetAccess | 0x0004 | Property can be reset to a default value |
The AccessFlags type is a typedef for QFlags<AccessFlag>. It stores an OR combination of AccessFlag values.
enum QDesignerMetaPropertyInterface::Attribute
flags QDesignerMetaPropertyInterface::Attributes
Various attributes of the property.
Constant | Value | Description |
---|---|---|
QDesignerMetaPropertyInterface::DesignableAttribute | 0x0001 | Property is designable (visible in Qt Designer) |
QDesignerMetaPropertyInterface::ScriptableAttribute | 0x0002 | Property is scriptable |
QDesignerMetaPropertyInterface::StoredAttribute | 0x0004 | Property is stored, that is, not calculated |
QDesignerMetaPropertyInterface::UserAttribute | 0x0008 | Property is the property that the user can edit for the QObject |
The Attributes type is a typedef for QFlags<Attribute>. It stores an OR combination of Attribute values.
enum QDesignerMetaPropertyInterface::Kind
This enum indicates whether the property is of a special type.
Constant | Value | Description |
---|---|---|
QDesignerMetaPropertyInterface::EnumKind | 0 | The property is of an enumeration type |
QDesignerMetaPropertyInterface::FlagKind | 1 | The property is of an flag type |
QDesignerMetaPropertyInterface::OtherKind | 2 | The property is of another type |
Member Function Documentation
QDesignerMetaPropertyInterface::QDesignerMetaPropertyInterface()
Constructs a QDesignerMetaPropertyInterface object.
[virtual noexcept]
QDesignerMetaPropertyInterface::~QDesignerMetaPropertyInterface()
Destroys the QDesignerMetaPropertyInterface object.