Public Member Functions | |
| void | appendChild (DocumentModelIndex *child) |
| DocumentModelIndex * | child (int row) |
| int | childCount () const |
| virtual QVariant | data (int role) const |
| virtual Qt::ItemFlags | flags () const |
| DocumentModelIndex * | parent () const |
| QList< DocumentModelIndex * > | removeAll () |
| void | removeChild (int row) |
| int | row () const |
| virtual bool | setData (const QVariant &value, int role) |
| void | setParent (DocumentModelIndex *parent) |
| virtual | ~DocumentModelIndex () |
Public Member Functions inherited from Base::BaseClass | |
| BaseClass () | |
| Construction. More... | |
| virtual PyObject * | getPyObject (void) |
| This method returns the Python wrapper for a C++ object. More... | |
| virtual Type | getTypeId (void) const |
| bool | isDerivedFrom (const Type type) const |
| virtual void | setPyObject (PyObject *) |
| virtual | ~BaseClass () |
| Destruction. More... | |
Protected Member Functions | |
| DocumentModelIndex () | |
| void | reset () |
Protected Attributes | |
| QList< DocumentModelIndex * > | childItems |
| DocumentModelIndex * | parentItem |
Additional Inherited Members | |
Static Public Member Functions inherited from Base::BaseClass | |
| static void * | create (void) |
| static Type | getClassTypeId (void) |
| static void | init (void) |
Static Protected Member Functions inherited from Base::BaseClass | |
| static void | initSubclass (Base::Type &toInit, const char *ClassName, const char *ParentName, Type::instantiationMethod method=nullptr) |
Constructor & Destructor Documentation
◆ ~DocumentModelIndex()
|
virtual |
References childItems.
◆ DocumentModelIndex()
|
protected |
Member Function Documentation
◆ appendChild()
| void Gui::DocumentModelIndex::appendChild | ( | DocumentModelIndex * | child | ) |
References child(), childItems, and setParent().
◆ child()
| DocumentModelIndex* Gui::DocumentModelIndex::child | ( | int | row | ) |
References childItems.
Referenced by appendChild(), and Gui::ApplicationIndex::findChild().
◆ childCount()
| int Gui::DocumentModelIndex::childCount | ( | ) | const |
References childItems.
Referenced by Gui::DocumentModel::rowCount().
◆ data()
|
virtual |
Reimplemented in Gui::ViewProviderIndex, Gui::DocumentIndex, and Gui::ApplicationIndex.
Referenced by ArchSchedule.CommandArchSchedule::IsActive().
◆ flags()
|
virtual |
Reimplemented in Gui::ApplicationIndex.
◆ parent()
| DocumentModelIndex* Gui::DocumentModelIndex::parent | ( | ) | const |
References parentItem.
Referenced by Gui::DocumentModel::parent(), and setParent().
◆ removeAll()
| QList<DocumentModelIndex*> Gui::DocumentModelIndex::removeAll | ( | ) |
References childItems.
◆ removeChild()
| void Gui::DocumentModelIndex::removeChild | ( | int | row | ) |
References childItems.
◆ reset()
|
protected |
References childItems.
Referenced by draftguitools.gui_trackers.gridTracker::set().
◆ row()
| int Gui::DocumentModelIndex::row | ( | ) | const |
References childItems, and parentItem.
◆ setData()
|
virtual |
◆ setParent()
| void Gui::DocumentModelIndex::setParent | ( | DocumentModelIndex * | parent | ) |
References parent(), and parentItem.
Referenced by appendChild().
Member Data Documentation
◆ childItems
|
protected |
Referenced by appendChild(), child(), childCount(), Gui::ViewProviderIndex::clone(), Gui::ApplicationIndex::findChild(), Gui::DocumentIndex::findViewProviders(), Gui::ViewProviderIndex::findViewProviders(), removeAll(), removeChild(), reset(), row(), Gui::DocumentIndex::rowOfViewProvider(), Gui::DocumentIndex::~DocumentIndex(), and ~DocumentModelIndex().
◆ parentItem
|
protected |
Referenced by parent(), row(), and setParent().
The documentation for this class was generated from the following file:
- src/Gui/DocumentModel.cpp
Public Member Functions inherited from
1.8.17