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
 

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 139 of file qdesigner_propertysheet.cpp.

Member Typedef Documentation

◆ ObjectFlags

typedef QDesignerPropertySheet::ObjectFlags QDesignerPropertySheetPrivate::ObjectFlags = QDesignerPropertySheet::ObjectFlags

Definition at line 143 of file qdesigner_propertysheet.cpp.

◆ ObjectType

◆ PropertyType

Member Enumeration Documentation

◆ PropertyKind [1/2]

Enumerator
NormalProperty 
FakeProperty 
DynamicProperty 
DefaultDynamicProperty 
NormalProperty 
FakeProperty 
DynamicProperty 
DefaultDynamicProperty 

Definition at line 177 of file qdesigner_propertysheet.cpp.

◆ PropertyKind [2/2]

Enumerator
NormalProperty 
FakeProperty 
DynamicProperty 
DefaultDynamicProperty 
NormalProperty 
FakeProperty 
DynamicProperty 
DefaultDynamicProperty 

Definition at line 177 of file qdesigner_propertysheet.cpp.

Constructor & Destructor Documentation

◆ QDesignerPropertySheetPrivate() [1/2]

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

Definition at line 354 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 337 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 250 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 315 of file qdesigner_propertysheet.cpp.

◆ addStringListProperty() [2/2]

void QDesignerPropertySheetPrivate::addStringListProperty ( int index)

◆ addStringProperty() [1/2]

void QDesignerPropertySheetPrivate::addStringProperty ( int index)

Definition at line 293 of file qdesigner_propertysheet.cpp.

◆ addStringProperty() [2/2]

void QDesignerPropertySheetPrivate::addStringProperty ( int index)

◆ count() [1/2]

int QDesignerPropertySheetPrivate::count ( ) const
inline

Definition at line 148 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 148 of file qdesigner_propertysheet.cpp.

◆ defaultResourceProperty() [1/2]

QVariant QDesignerPropertySheetPrivate::defaultResourceProperty ( int index) const

Definition at line 268 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 258 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 422 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 375 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 332 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 230 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 245 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 310 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 288 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 342 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 384 of file qdesigner_propertysheet.cpp.

References m_LastLayoutByDesigner, and QPainter::QWidget.

◆ layout() [2/2]

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

◆ objectType() [1/2]

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

◆ objectType() [2/2]

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

◆ propertyType() [1/2]

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

Definition at line 430 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 273 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 347 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 278 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 325 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 303 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 320 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 298 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 438 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 203 of file qdesigner_propertysheet.cpp.

◆ m_addProperties

QHash< int, QVariant > QDesignerPropertySheetPrivate::m_addProperties

Definition at line 202 of file qdesigner_propertysheet.cpp.

◆ m_canHaveLayoutAttributes

const bool QDesignerPropertySheetPrivate::m_canHaveLayoutAttributes

Definition at line 209 of file qdesigner_propertysheet.cpp.

◆ m_core

QDesignerFormEditorInterface * QDesignerPropertySheetPrivate::m_core

Definition at line 195 of file qdesigner_propertysheet.cpp.

◆ m_fakeProperties

QHash< int, QVariant > QDesignerPropertySheetPrivate::m_fakeProperties

Definition at line 201 of file qdesigner_propertysheet.cpp.

◆ m_fwb

QPointer< qdesigner_internal::FormWindowBase > QDesignerPropertySheetPrivate::m_fwb

Definition at line 219 of file qdesigner_propertysheet.cpp.

◆ m_iconCache

qdesigner_internal::DesignerIconCache * QDesignerPropertySheetPrivate::m_iconCache

Definition at line 218 of file qdesigner_propertysheet.cpp.

Referenced by QDesignerPropertySheetPrivate().

◆ m_info

QHash< int, Info > QDesignerPropertySheetPrivate::m_info

Definition at line 200 of file qdesigner_propertysheet.cpp.

◆ m_internalDynamicPropertiesEnabled

bool QDesignerPropertySheetPrivate::m_internalDynamicPropertiesEnabled = false
static

Definition at line 222 of file qdesigner_propertysheet.cpp.

◆ m_keySequenceProperties

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

Definition at line 207 of file qdesigner_propertysheet.cpp.

◆ m_lastLayout

QPointer< QLayout > QDesignerPropertySheetPrivate::m_lastLayout
mutable

Definition at line 213 of file qdesigner_propertysheet.cpp.

◆ m_LastLayoutByDesigner

bool QDesignerPropertySheetPrivate::m_LastLayoutByDesigner
mutable

Definition at line 215 of file qdesigner_propertysheet.cpp.

Referenced by QDesignerPropertySheetPrivate(), and layout().

◆ m_lastLayoutPropertySheet

QDesignerPropertySheetExtension * QDesignerPropertySheetPrivate::m_lastLayoutPropertySheet
mutable

Definition at line 214 of file qdesigner_propertysheet.cpp.

◆ m_meta

const QDesignerMetaObjectInterface * QDesignerPropertySheetPrivate::m_meta

Definition at line 196 of file qdesigner_propertysheet.cpp.

◆ m_object

QPointer< QObject > QDesignerPropertySheetPrivate::m_object

Definition at line 212 of file qdesigner_propertysheet.cpp.

◆ m_objectFlags

const ObjectFlags QDesignerPropertySheetPrivate::m_objectFlags

Definition at line 198 of file qdesigner_propertysheet.cpp.

◆ m_objectType

const ObjectType QDesignerPropertySheetPrivate::m_objectType

Definition at line 197 of file qdesigner_propertysheet.cpp.

◆ m_pixmapCache

qdesigner_internal::DesignerPixmapCache * QDesignerPropertySheetPrivate::m_pixmapCache

Definition at line 217 of file qdesigner_propertysheet.cpp.

Referenced by QDesignerPropertySheetPrivate().

◆ m_resourceProperties

QHash< int, QVariant > QDesignerPropertySheetPrivate::m_resourceProperties

Definition at line 204 of file qdesigner_propertysheet.cpp.

◆ m_stringListProperties

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

Definition at line 206 of file qdesigner_propertysheet.cpp.

◆ m_stringProperties

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

Definition at line 205 of file qdesigner_propertysheet.cpp.

◆ q

QDesignerPropertySheet * QDesignerPropertySheetPrivate::q

Definition at line 194 of file qdesigner_propertysheet.cpp.

Referenced by QDesignerPropertySheetPrivate().


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