Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
|
#include <objectinspectormodel_p.h>
Public Types | |
enum | Type { Object , Action , SeparatorAction , ChildWidget , LayoutableContainer , LayoutWidget , ExtensionContainer } |
enum | ChangedMask { ClassNameChanged = 1 , ObjectNameChanged = 2 , ClassIconChanged = 4 , TypeChanged = 8 , LayoutTypeChanged = 16 } |
using | StandardItemList = QList<QStandardItem *> |
Public Member Functions | |
ObjectData (QObject *parent, QObject *object, const ModelRecursionContext &ctx) | |
ObjectData () | |
Type | type () const |
QObject * | object () const |
QObject * | parent () const |
QString | objectName () const |
bool | equals (const ObjectData &me) const |
unsigned | compare (const ObjectData &me) const |
void | setItems (const StandardItemList &row, const ObjectInspectorIcons &icons) const |
void | setItemsDisplayData (const StandardItemList &row, const ObjectInspectorIcons &icons, unsigned mask) const |
Friends | |
bool | comparesEqual (const ObjectData &lhs, const ObjectData &rhs) noexcept |
Definition at line 42 of file objectinspectormodel_p.h.
Definition at line 54 of file objectinspectormodel_p.h.
Enumerator | |
---|---|
ClassNameChanged | |
ObjectNameChanged | |
ClassIconChanged | |
TypeChanged | |
LayoutTypeChanged |
Definition at line 66 of file objectinspectormodel_p.h.
Enumerator | |
---|---|
Object | |
Action | |
SeparatorAction | |
ChildWidget | |
LayoutableContainer | |
LayoutWidget | |
ExtensionContainer |
Definition at line 44 of file objectinspectormodel_p.h.
|
explicit |
Definition at line 115 of file objectinspectormodel.cpp.
References ObjectData(), and QPainter::QWidget.
Referenced by ObjectData().
|
default |
unsigned qdesigner_internal::ObjectData::compare | ( | const ObjectData & | me | ) | const |
Definition at line 187 of file objectinspectormodel.cpp.
References ClassIconChanged, ClassNameChanged, LayoutTypeChanged, ObjectNameChanged, and TypeChanged.
bool qdesigner_internal::ObjectData::equals | ( | const ObjectData & | me | ) | const |
Definition at line 182 of file objectinspectormodel.cpp.
|
inline |
Definition at line 60 of file objectinspectormodel_p.h.
|
inline |
Definition at line 62 of file objectinspectormodel_p.h.
|
inline |
Definition at line 61 of file objectinspectormodel_p.h.
void qdesigner_internal::ObjectData::setItems | ( | const StandardItemList & | row, |
const ObjectInspectorIcons & | icons ) const |
Definition at line 231 of file objectinspectormodel.cpp.
References qdesigner_internal::ObjectInspectorModel::ClassNameColumn, and qdesigner_internal::ObjectInspectorModel::ObjectNameColumn.
void qdesigner_internal::ObjectData::setItemsDisplayData | ( | const StandardItemList & | row, |
const ObjectInspectorIcons & | icons, | ||
unsigned | mask ) const |
Definition at line 203 of file objectinspectormodel.cpp.
References ClassIconChanged, ClassNameChanged, LayoutTypeChanged, qdesigner_internal::ObjectInspectorModel::ObjectNameColumn, and TypeChanged.
|
inline |
Definition at line 59 of file objectinspectormodel_p.h.
Referenced by qdesigner_internal::createModelRecursion().
|
friend |
Definition at line 78 of file objectinspectormodel_p.h.