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
qdesigner_internal::ObjectData Class Reference

#include <objectinspectormodel_p.h>

+ Collaboration diagram for qdesigner_internal::ObjectData:

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
 
QObjectobject () const
 
QObjectparent () 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
 

Detailed Description

Definition at line 42 of file objectinspectormodel_p.h.

Member Typedef Documentation

◆ StandardItemList

Member Enumeration Documentation

◆ ChangedMask

Enumerator
ClassNameChanged 
ObjectNameChanged 
ClassIconChanged 
TypeChanged 
LayoutTypeChanged 

Definition at line 66 of file objectinspectormodel_p.h.

◆ Type

Enumerator
Object 
Action 
SeparatorAction 
ChildWidget 
LayoutableContainer 
LayoutWidget 
ExtensionContainer 

Definition at line 44 of file objectinspectormodel_p.h.

Constructor & Destructor Documentation

◆ ObjectData() [1/2]

qdesigner_internal::ObjectData::ObjectData ( QObject * parent,
QObject * object,
const ModelRecursionContext & ctx )
explicit

Definition at line 115 of file objectinspectormodel.cpp.

References ObjectData(), and QPainter::QWidget.

Referenced by ObjectData().

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

◆ ObjectData() [2/2]

qdesigner_internal::ObjectData::ObjectData ( )
default

Member Function Documentation

◆ compare()

unsigned qdesigner_internal::ObjectData::compare ( const ObjectData & me) const

◆ equals()

bool qdesigner_internal::ObjectData::equals ( const ObjectData & me) const

Definition at line 182 of file objectinspectormodel.cpp.

◆ object()

QObject * qdesigner_internal::ObjectData::object ( ) const
inline

Definition at line 60 of file objectinspectormodel_p.h.

◆ objectName()

QString qdesigner_internal::ObjectData::objectName ( ) const
inline

Definition at line 62 of file objectinspectormodel_p.h.

◆ parent()

QObject * qdesigner_internal::ObjectData::parent ( ) const
inline

Definition at line 61 of file objectinspectormodel_p.h.

◆ setItems()

void qdesigner_internal::ObjectData::setItems ( const StandardItemList & row,
const ObjectInspectorIcons & icons ) const

◆ setItemsDisplayData()

void qdesigner_internal::ObjectData::setItemsDisplayData ( const StandardItemList & row,
const ObjectInspectorIcons & icons,
unsigned mask ) const

◆ type()

Type qdesigner_internal::ObjectData::type ( ) const
inline

Definition at line 59 of file objectinspectormodel_p.h.

Referenced by qdesigner_internal::createModelRecursion().

+ Here is the caller graph for this function:

Friends And Related Symbol Documentation

◆ comparesEqual

bool comparesEqual ( const ObjectData & lhs,
const ObjectData & rhs )
friend

Definition at line 78 of file objectinspectormodel_p.h.


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