Workspace 6.21.5
|
#include <Workspace/Widgets/ObjectGroup/objectgroupmodelitem.h>
Public Member Functions | |
ObjectGroupModelItem (const QString &name, ObjectGroupModel &model, const NamePath &namePath, ObjectGroupModelItem *parent=nullptr) | |
~ObjectGroupModelItem () | |
ObjectGroupModelItem * | getChild (int row) |
int | getChildCount () const |
QString | getName () const |
const NamePath & | getNamePath () const |
ObjectGroupModelItem * | getParent () |
const ObjectGroupModelItem * | getParent () const |
int | getRow () const |
bool | hasChildren () const |
void | insertChild (ObjectGroupModelItem &item, int index=-1) |
void | removeAllChildren () |
bool | removeChild (ObjectGroupModelItem &item) |
ObjectGroupModelItem | ( | const QString & | name, |
ObjectGroupModel & | model, | ||
const NamePath & | namePath, | ||
ObjectGroupModelItem * | parent = nullptr |
||
) |
~ObjectGroupModelItem | ( | ) |
ObjectGroupModelItem * getChild | ( | int | row | ) |
int getChildCount | ( | ) | const |
QString getName | ( | ) | const |
const NamePath & getNamePath | ( | ) | const |
ObjectGroupModelItem * getParent | ( | ) |
const ObjectGroupModelItem * getParent | ( | ) | const |
int getRow | ( | ) | const |
bool hasChildren | ( | ) | const |
void insertChild | ( | ObjectGroupModelItem & | item, |
int | index = -1 |
||
) |
void removeAllChildren | ( | ) |
bool removeChild | ( | ObjectGroupModelItem & | item | ) |