Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
Loading...
Searching...
No Matches
QDesignerPropertySheetPrivate Class Reference
Collaboration diagram for QDesignerPropertySheetPrivate:

Classes

class  Info

Public Types

enum  PropertyKind {
  NormalProperty , FakeProperty , DynamicProperty , DefaultDynamicProperty ,
  NormalProperty , FakeProperty , DynamicProperty , DefaultDynamicProperty
}
enum  PropertyKind {
  NormalProperty , FakeProperty , DynamicProperty , DefaultDynamicProperty ,
  NormalProperty , FakeProperty , DynamicProperty , DefaultDynamicProperty
}
using PropertyType = QDesignerPropertySheet::PropertyType
using ObjectType = QDesignerPropertySheet::ObjectType
using ObjectFlags = QDesignerPropertySheet::ObjectFlags
using PropertyType = QDesignerPropertySheet::PropertyType
using ObjectType = QDesignerPropertySheet::ObjectType
using ObjectFlags = QDesignerPropertySheet::ObjectFlags

Public Member Functions

 QDesignerPropertySheetPrivate (QDesignerPropertySheet *sheetPublic, QObject *object, QObject *sheetParent)
bool invalidIndex (const char *functionName, int index) const
int count () const
PropertyType propertyType (int index) const
QString transformLayoutPropertyName (int index) const
QLayoutlayout (QDesignerPropertySheetExtension **layoutPropertySheet=nullptr) const
bool isReloadableProperty (int index) const
bool isResourceProperty (int index) const
void addResourceProperty (int index, int type)
QVariant resourceProperty (int index) const
void setResourceProperty (int index, const QVariant &value)
QVariant emptyResourceProperty (int index) const
QVariant defaultResourceProperty (int index) const
bool isStringProperty (int index) const
void addStringProperty (int index)
qdesigner_internal::PropertySheetStringValue stringProperty (int index) const
void setStringProperty (int index, const qdesigner_internal::PropertySheetStringValue &value)
bool isStringListProperty (int index) const
void addStringListProperty (int index)
qdesigner_internal::PropertySheetStringListValue stringListProperty (int index) const
void setStringListProperty (int index, const qdesigner_internal::PropertySheetStringListValue &value)
bool isKeySequenceProperty (int index) const
void addKeySequenceProperty (int index)
qdesigner_internal::PropertySheetKeySequenceValue keySequenceProperty (int index) const
void setKeySequenceProperty (int index, const qdesigner_internal::PropertySheetKeySequenceValue &value)
InfoensureInfo (int index)
 QDesignerPropertySheetPrivate (QDesignerPropertySheet *sheetPublic, QObject *object, QObject *sheetParent)
bool invalidIndex (const char *functionName, int index) const
int count () const
PropertyType propertyType (int index) const
QString transformLayoutPropertyName (int index) const
QLayoutlayout (QDesignerPropertySheetExtension **layoutPropertySheet=nullptr) const
bool isReloadableProperty (int index) const
bool isResourceProperty (int index) const
void addResourceProperty (int index, int type)
QVariant resourceProperty (int index) const
void setResourceProperty (int index, const QVariant &value)
QVariant emptyResourceProperty (int index) const
QVariant defaultResourceProperty (int index) const
bool isStringProperty (int index) const
void addStringProperty (int index)
qdesigner_internal::PropertySheetStringValue stringProperty (int index) const
void setStringProperty (int index, const qdesigner_internal::PropertySheetStringValue &value)
bool isStringListProperty (int index) const
void addStringListProperty (int index)
qdesigner_internal::PropertySheetStringListValue stringListProperty (int index) const
void setStringListProperty (int index, const qdesigner_internal::PropertySheetStringListValue &value)
bool isKeySequenceProperty (int index) const
void addKeySequenceProperty (int index)
qdesigner_internal::PropertySheetKeySequenceValue keySequenceProperty (int index) const
void setKeySequenceProperty (int index, const qdesigner_internal::PropertySheetKeySequenceValue &value)
InfoensureInfo (int index)

Static Public Member Functions

static ObjectType objectType (const QObject *o)
static ObjectType objectType (const QObject *o)

Public Attributes

QDesignerPropertySheetq
QDesignerFormEditorInterfacem_core
const QDesignerMetaObjectInterfacem_meta
const ObjectType m_objectType
const ObjectFlags m_objectFlags
QHash< int, Infom_info
QHash< int, QVariantm_fakeProperties
QHash< int, QVariantm_addProperties
QHash< QString, int > m_addIndex
QHash< int, QVariantm_resourceProperties
QHash< int, qdesigner_internal::PropertySheetStringValuem_stringProperties
QHash< int, qdesigner_internal::PropertySheetStringListValuem_stringListProperties
QHash< int, qdesigner_internal::PropertySheetKeySequenceValuem_keySequenceProperties
const bool m_canHaveLayoutAttributes
QPointer< QObjectm_object
QPointer< QLayoutm_lastLayout
QDesignerPropertySheetExtensionm_lastLayoutPropertySheet
bool m_LastLayoutByDesigner
qdesigner_internal::DesignerPixmapCachem_pixmapCache
qdesigner_internal::DesignerIconCachem_iconCache
QPointer< qdesigner_internal::FormWindowBasem_fwb

Static Public Attributes

static bool m_internalDynamicPropertiesEnabled = false

Detailed Description

Definition at line 142 of file qdesigner_propertysheet.cpp.

Member Typedef Documentation

◆ ObjectFlags [1/2]

using QDesignerPropertySheetPrivate::ObjectFlags = QDesignerPropertySheet::ObjectFlags

Definition at line 146 of file qdesigner_propertysheet.cpp.

◆ ObjectFlags [2/2]

using QDesignerPropertySheetPrivate::ObjectFlags = QDesignerPropertySheet::ObjectFlags

Definition at line 146 of file qdesigner_propertysheet.cpp.

◆ ObjectType [1/2]

◆ ObjectType [2/2]

◆ PropertyType [1/2]

◆ PropertyType [2/2]

Member Enumeration Documentation

◆ PropertyKind [1/2]

Enumerator
NormalProperty 
FakeProperty 
DynamicProperty 
DefaultDynamicProperty 
NormalProperty 
FakeProperty 
DynamicProperty 
DefaultDynamicProperty 

Definition at line 180 of file qdesigner_propertysheet.cpp.

◆ PropertyKind [2/2]

Enumerator
NormalProperty 
FakeProperty 
DynamicProperty 
DefaultDynamicProperty 
NormalProperty 
FakeProperty 
DynamicProperty 
DefaultDynamicProperty 

Definition at line 180 of file qdesigner_propertysheet.cpp.

Constructor & Destructor Documentation

◆ QDesignerPropertySheetPrivate() [1/2]

QDesignerPropertySheetPrivate::QDesignerPropertySheetPrivate ( QDesignerPropertySheet * sheetPublic,
QObject * object,
QObject * sheetParent )
explicit

Definition at line 357 of file qdesigner_propertysheet.cpp.

References QDesignerPropertySheetPrivate(), m_iconCache, m_LastLayoutByDesigner, m_pixmapCache, and q.

Referenced by QDesignerPropertySheetPrivate().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ QDesignerPropertySheetPrivate() [2/2]

QDesignerPropertySheetPrivate::QDesignerPropertySheetPrivate ( QDesignerPropertySheet * sheetPublic,
QObject * object,
QObject * sheetParent )
explicit

Member Function Documentation

◆ addKeySequenceProperty() [1/2]

void QDesignerPropertySheetPrivate::addKeySequenceProperty ( int index)

Definition at line 340 of file qdesigner_propertysheet.cpp.

◆ addKeySequenceProperty() [2/2]

void QDesignerPropertySheetPrivate::addKeySequenceProperty ( int index)

◆ addResourceProperty() [1/2]

void QDesignerPropertySheetPrivate::addResourceProperty ( int index,
int type )

Definition at line 253 of file qdesigner_propertysheet.cpp.

◆ addResourceProperty() [2/2]

void QDesignerPropertySheetPrivate::addResourceProperty ( int index,
int type )

◆ addStringListProperty() [1/2]

void QDesignerPropertySheetPrivate::addStringListProperty ( int index)

Definition at line 318 of file qdesigner_propertysheet.cpp.

◆ addStringListProperty() [2/2]

void QDesignerPropertySheetPrivate::addStringListProperty ( int index)

◆ addStringProperty() [1/2]

void QDesignerPropertySheetPrivate::addStringProperty ( int index)

Definition at line 296 of file qdesigner_propertysheet.cpp.

◆ addStringProperty() [2/2]

void QDesignerPropertySheetPrivate::addStringProperty ( int index)

◆ count() [1/2]

int QDesignerPropertySheetPrivate::count ( ) const
inline

Definition at line 151 of file qdesigner_propertysheet.cpp.

Referenced by invalidIndex().

Here is the caller graph for this function:

◆ count() [2/2]

int QDesignerPropertySheetPrivate::count ( ) const
inline

Definition at line 151 of file qdesigner_propertysheet.cpp.

◆ defaultResourceProperty() [1/2]

QVariant QDesignerPropertySheetPrivate::defaultResourceProperty ( int index) const

Definition at line 271 of file qdesigner_propertysheet.cpp.

◆ defaultResourceProperty() [2/2]

QVariant QDesignerPropertySheetPrivate::defaultResourceProperty ( int index) const

◆ emptyResourceProperty() [1/2]

QVariant QDesignerPropertySheetPrivate::emptyResourceProperty ( int index) const

Definition at line 261 of file qdesigner_propertysheet.cpp.

◆ emptyResourceProperty() [2/2]

QVariant QDesignerPropertySheetPrivate::emptyResourceProperty ( int index) const

◆ ensureInfo() [1/2]

QDesignerPropertySheetPrivate::Info & QDesignerPropertySheetPrivate::ensureInfo ( int index)

Definition at line 425 of file qdesigner_propertysheet.cpp.

◆ ensureInfo() [2/2]

Info & QDesignerPropertySheetPrivate::ensureInfo ( int index)

◆ invalidIndex() [1/2]

bool QDesignerPropertySheetPrivate::invalidIndex ( const char * functionName,
int index ) const

Definition at line 378 of file qdesigner_propertysheet.cpp.

References count().

Here is the call graph for this function:

◆ invalidIndex() [2/2]

bool QDesignerPropertySheetPrivate::invalidIndex ( const char * functionName,
int index ) const

◆ isKeySequenceProperty() [1/2]

bool QDesignerPropertySheetPrivate::isKeySequenceProperty ( int index) const

Definition at line 335 of file qdesigner_propertysheet.cpp.

Referenced by setKeySequenceProperty().

Here is the caller graph for this function:

◆ isKeySequenceProperty() [2/2]

bool QDesignerPropertySheetPrivate::isKeySequenceProperty ( int index) const

◆ isReloadableProperty() [1/2]

bool QDesignerPropertySheetPrivate::isReloadableProperty ( int index) const

Definition at line 233 of file qdesigner_propertysheet.cpp.

◆ isReloadableProperty() [2/2]

bool QDesignerPropertySheetPrivate::isReloadableProperty ( int index) const

◆ isResourceProperty() [1/2]

bool QDesignerPropertySheetPrivate::isResourceProperty ( int index) const

Definition at line 248 of file qdesigner_propertysheet.cpp.

Referenced by setResourceProperty().

Here is the caller graph for this function:

◆ isResourceProperty() [2/2]

bool QDesignerPropertySheetPrivate::isResourceProperty ( int index) const

◆ isStringListProperty() [1/2]

bool QDesignerPropertySheetPrivate::isStringListProperty ( int index) const

Definition at line 313 of file qdesigner_propertysheet.cpp.

Referenced by setStringListProperty().

Here is the caller graph for this function:

◆ isStringListProperty() [2/2]

bool QDesignerPropertySheetPrivate::isStringListProperty ( int index) const

◆ isStringProperty() [1/2]

bool QDesignerPropertySheetPrivate::isStringProperty ( int index) const

Definition at line 291 of file qdesigner_propertysheet.cpp.

Referenced by setStringProperty().

Here is the caller graph for this function:

◆ isStringProperty() [2/2]

bool QDesignerPropertySheetPrivate::isStringProperty ( int index) const

◆ keySequenceProperty() [1/2]

qdesigner_internal::PropertySheetKeySequenceValue QDesignerPropertySheetPrivate::keySequenceProperty ( int index) const

Definition at line 345 of file qdesigner_propertysheet.cpp.

◆ keySequenceProperty() [2/2]

qdesigner_internal::PropertySheetKeySequenceValue QDesignerPropertySheetPrivate::keySequenceProperty ( int index) const

◆ layout() [1/2]

QLayout * QDesignerPropertySheetPrivate::layout ( QDesignerPropertySheetExtension ** layoutPropertySheet = nullptr) const

Definition at line 387 of file qdesigner_propertysheet.cpp.

References m_LastLayoutByDesigner, and QPainter::QWidget.

Here is the call graph for this function:

◆ layout() [2/2]

QLayout * QDesignerPropertySheetPrivate::layout ( QDesignerPropertySheetExtension ** layoutPropertySheet = nullptr) const

◆ objectType() [1/2]

ObjectType QDesignerPropertySheetPrivate::objectType ( const QObject * o)
static

◆ objectType() [2/2]

ObjectType QDesignerPropertySheetPrivate::objectType ( const QObject * o)
static

◆ propertyType() [1/2]

QDesignerPropertySheet::PropertyType QDesignerPropertySheetPrivate::propertyType ( int index) const

Definition at line 433 of file qdesigner_propertysheet.cpp.

◆ propertyType() [2/2]

PropertyType QDesignerPropertySheetPrivate::propertyType ( int index) const

◆ resourceProperty() [1/2]

QVariant QDesignerPropertySheetPrivate::resourceProperty ( int index) const

Definition at line 276 of file qdesigner_propertysheet.cpp.

◆ resourceProperty() [2/2]

QVariant QDesignerPropertySheetPrivate::resourceProperty ( int index) const

◆ setKeySequenceProperty() [1/2]

void QDesignerPropertySheetPrivate::setKeySequenceProperty ( int index,
const qdesigner_internal::PropertySheetKeySequenceValue & value )

Definition at line 350 of file qdesigner_propertysheet.cpp.

References isKeySequenceProperty().

Here is the call graph for this function:

◆ setKeySequenceProperty() [2/2]

void QDesignerPropertySheetPrivate::setKeySequenceProperty ( int index,
const qdesigner_internal::PropertySheetKeySequenceValue & value )

◆ setResourceProperty() [1/2]

void QDesignerPropertySheetPrivate::setResourceProperty ( int index,
const QVariant & value )

Definition at line 281 of file qdesigner_propertysheet.cpp.

References isResourceProperty().

Here is the call graph for this function:

◆ setResourceProperty() [2/2]

void QDesignerPropertySheetPrivate::setResourceProperty ( int index,
const QVariant & value )

◆ setStringListProperty() [1/2]

void QDesignerPropertySheetPrivate::setStringListProperty ( int index,
const qdesigner_internal::PropertySheetStringListValue & value )

Definition at line 328 of file qdesigner_propertysheet.cpp.

References isStringListProperty().

Here is the call graph for this function:

◆ setStringListProperty() [2/2]

void QDesignerPropertySheetPrivate::setStringListProperty ( int index,
const qdesigner_internal::PropertySheetStringListValue & value )

◆ setStringProperty() [1/2]

void QDesignerPropertySheetPrivate::setStringProperty ( int index,
const qdesigner_internal::PropertySheetStringValue & value )

Definition at line 306 of file qdesigner_propertysheet.cpp.

References isStringProperty().

Here is the call graph for this function:

◆ setStringProperty() [2/2]

void QDesignerPropertySheetPrivate::setStringProperty ( int index,
const qdesigner_internal::PropertySheetStringValue & value )

◆ stringListProperty() [1/2]

qdesigner_internal::PropertySheetStringListValue QDesignerPropertySheetPrivate::stringListProperty ( int index) const

Definition at line 323 of file qdesigner_propertysheet.cpp.

◆ stringListProperty() [2/2]

qdesigner_internal::PropertySheetStringListValue QDesignerPropertySheetPrivate::stringListProperty ( int index) const

◆ stringProperty() [1/2]

qdesigner_internal::PropertySheetStringValue QDesignerPropertySheetPrivate::stringProperty ( int index) const

Definition at line 301 of file qdesigner_propertysheet.cpp.

◆ stringProperty() [2/2]

qdesigner_internal::PropertySheetStringValue QDesignerPropertySheetPrivate::stringProperty ( int index) const

◆ transformLayoutPropertyName() [1/2]

QString QDesignerPropertySheetPrivate::transformLayoutPropertyName ( int index) const

Definition at line 441 of file qdesigner_propertysheet.cpp.

◆ transformLayoutPropertyName() [2/2]

QString QDesignerPropertySheetPrivate::transformLayoutPropertyName ( int index) const

Member Data Documentation

◆ m_addIndex

QHash< QString, int > QDesignerPropertySheetPrivate::m_addIndex

Definition at line 206 of file qdesigner_propertysheet.cpp.

◆ m_addProperties

QHash< int, QVariant > QDesignerPropertySheetPrivate::m_addProperties

Definition at line 205 of file qdesigner_propertysheet.cpp.

◆ m_canHaveLayoutAttributes

const bool QDesignerPropertySheetPrivate::m_canHaveLayoutAttributes

Definition at line 212 of file qdesigner_propertysheet.cpp.

◆ m_core

QDesignerFormEditorInterface * QDesignerPropertySheetPrivate::m_core

Definition at line 198 of file qdesigner_propertysheet.cpp.

◆ m_fakeProperties

QHash< int, QVariant > QDesignerPropertySheetPrivate::m_fakeProperties

Definition at line 204 of file qdesigner_propertysheet.cpp.

◆ m_fwb

QPointer< qdesigner_internal::FormWindowBase > QDesignerPropertySheetPrivate::m_fwb

Definition at line 222 of file qdesigner_propertysheet.cpp.

◆ m_iconCache

qdesigner_internal::DesignerIconCache * QDesignerPropertySheetPrivate::m_iconCache

Definition at line 221 of file qdesigner_propertysheet.cpp.

Referenced by QDesignerPropertySheetPrivate().

◆ m_info

QHash< int, Info > QDesignerPropertySheetPrivate::m_info

Definition at line 203 of file qdesigner_propertysheet.cpp.

◆ m_internalDynamicPropertiesEnabled

bool QDesignerPropertySheetPrivate::m_internalDynamicPropertiesEnabled = false
static

Definition at line 225 of file qdesigner_propertysheet.cpp.

◆ m_keySequenceProperties

QHash< int, qdesigner_internal::PropertySheetKeySequenceValue > QDesignerPropertySheetPrivate::m_keySequenceProperties

Definition at line 210 of file qdesigner_propertysheet.cpp.

◆ m_lastLayout

QPointer< QLayout > QDesignerPropertySheetPrivate::m_lastLayout
mutable

Definition at line 216 of file qdesigner_propertysheet.cpp.

◆ m_LastLayoutByDesigner

bool QDesignerPropertySheetPrivate::m_LastLayoutByDesigner
mutable

Definition at line 218 of file qdesigner_propertysheet.cpp.

Referenced by QDesignerPropertySheetPrivate(), and layout().

◆ m_lastLayoutPropertySheet

QDesignerPropertySheetExtension * QDesignerPropertySheetPrivate::m_lastLayoutPropertySheet
mutable

Definition at line 217 of file qdesigner_propertysheet.cpp.

◆ m_meta

const QDesignerMetaObjectInterface * QDesignerPropertySheetPrivate::m_meta

Definition at line 199 of file qdesigner_propertysheet.cpp.

◆ m_object

QPointer< QObject > QDesignerPropertySheetPrivate::m_object

Definition at line 215 of file qdesigner_propertysheet.cpp.

◆ m_objectFlags

const ObjectFlags QDesignerPropertySheetPrivate::m_objectFlags

Definition at line 201 of file qdesigner_propertysheet.cpp.

◆ m_objectType

const ObjectType QDesignerPropertySheetPrivate::m_objectType

Definition at line 200 of file qdesigner_propertysheet.cpp.

◆ m_pixmapCache

qdesigner_internal::DesignerPixmapCache * QDesignerPropertySheetPrivate::m_pixmapCache

Definition at line 220 of file qdesigner_propertysheet.cpp.

Referenced by QDesignerPropertySheetPrivate().

◆ m_resourceProperties

QHash< int, QVariant > QDesignerPropertySheetPrivate::m_resourceProperties

Definition at line 207 of file qdesigner_propertysheet.cpp.

◆ m_stringListProperties

QHash< int, qdesigner_internal::PropertySheetStringListValue > QDesignerPropertySheetPrivate::m_stringListProperties

Definition at line 209 of file qdesigner_propertysheet.cpp.

◆ m_stringProperties

QHash< int, qdesigner_internal::PropertySheetStringValue > QDesignerPropertySheetPrivate::m_stringProperties

Definition at line 208 of file qdesigner_propertysheet.cpp.

◆ q

QDesignerPropertySheet * QDesignerPropertySheetPrivate::q

Definition at line 197 of file qdesigner_propertysheet.cpp.

Referenced by QDesignerPropertySheetPrivate().


The documentation for this class was generated from the following file: