#include <treeitem.h>
Public Member Functions | |
void | appendChild (TreeItem *child) |
TreeItem * | child (int row) |
int | childCount () const |
int | columnCount () const |
QVariant | data (int column) const |
bool | insertChildren (openstudio::model::ModelObject &object, const QList< QVariant > &data, int position, int count, int columns) |
openstudio::model::ModelObject | modelObject () const |
bool | moveChildren (int position, int count) |
TreeItem * | parent () |
bool | removeChildren (int position, int count) |
int | row () const |
bool | setData (int column, const QVariant &value) |
bool | setData (openstudio::model::ModelObject &data) |
TreeItem (const openstudio::model::ModelObject &object, const QList< QVariant > &data, TreeItem *parent=nullptr) | |
~TreeItem () | |
modeleditor::TreeItem::TreeItem | ( | const openstudio::model::ModelObject & | object, |
const QList< QVariant > & | data, | ||
TreeItem * | parent = nullptr |
||
) |
modeleditor::TreeItem::~TreeItem | ( | ) |
void modeleditor::TreeItem::appendChild | ( | TreeItem * | child | ) |
TreeItem* modeleditor::TreeItem::child | ( | int | row | ) |
int modeleditor::TreeItem::childCount | ( | ) | const |
int modeleditor::TreeItem::columnCount | ( | ) | const |
QVariant modeleditor::TreeItem::data | ( | int | column | ) | const |
bool modeleditor::TreeItem::insertChildren | ( | openstudio::model::ModelObject & | object, |
const QList< QVariant > & | data, | ||
int | position, | ||
int | count, | ||
int | columns | ||
) |
openstudio::model::ModelObject modeleditor::TreeItem::modelObject | ( | ) | const |
bool modeleditor::TreeItem::moveChildren | ( | int | position, |
int | count | ||
) |
TreeItem* modeleditor::TreeItem::parent | ( | ) |
bool modeleditor::TreeItem::removeChildren | ( | int | position, |
int | count | ||
) |
int modeleditor::TreeItem::row | ( | ) | const |
bool modeleditor::TreeItem::setData | ( | int | column, |
const QVariant & | value | ||
) |
bool modeleditor::TreeItem::setData | ( | openstudio::model::ModelObject & | data | ) |