#include <tablemodel.h>
Public Member Functions | |
int | columnCount (const QModelIndex &parent) const override |
QVariant | data (const QModelIndex &index, int role) const override |
Qt::ItemFlags | flags (const QModelIndex &index) const override |
QVariant | headerData (int section, Qt::Orientation orientation, int role) const override |
bool | insertRows (std::vector< openstudio::WorkspaceObject > wsObjects, const QModelIndexList &rowList) |
bool | insertRows (std::vector< openstudio::WorkspaceObject > wsObjects, const QModelIndex &row, const QModelIndexList &rowList) |
bool | insertRows (std::vector< openstudio::WorkspaceObject > wsObjects, int position, int rows, const QModelIndex &index=QModelIndex()) |
void | loadObjects (openstudio::WorkspaceObjectVector &objects) |
bool | moveRows (const QModelIndex &row, const QModelIndexList &rowList) |
openstudio::OptionalWorkspaceObject | objectAtIndex (const QModelIndex &index) const |
bool | removeRows (int position, int rows, const QModelIndex &index=QModelIndex()) override |
bool | removeRows (const QModelIndexList &rowList) |
int | rowCount (const QModelIndex &parent) const override |
bool | setData (const QModelIndex &index, const QVariant &value, int role=Qt::EditRole) override |
void | setModel (openstudio::model::Model &model) |
virtual void | sort (int column, Qt::SortOrder order=Qt::AscendingOrder) override |
Qt::DropActions | supportedDropActions () const override |
TableModel (openstudio::WorkspaceObjectVector &objects, ClassViewWidget *parent) | |
TableModel (ClassViewWidget *parent) | |
void | toggleGUIDs () |
~TableModel () | |
[0]
modeleditor::TableModel::TableModel | ( | openstudio::WorkspaceObjectVector & | objects, |
ClassViewWidget * | parent | ||
) |
modeleditor::TableModel::TableModel | ( | ClassViewWidget * | parent | ) |
modeleditor::TableModel::~TableModel | ( | ) |
|
override |
|
override |
|
override |
|
override |
bool modeleditor::TableModel::insertRows | ( | std::vector< openstudio::WorkspaceObject > | wsObjects, |
const QModelIndexList & | rowList | ||
) |
bool modeleditor::TableModel::insertRows | ( | std::vector< openstudio::WorkspaceObject > | wsObjects, |
const QModelIndex & | row, | ||
const QModelIndexList & | rowList | ||
) |
bool modeleditor::TableModel::insertRows | ( | std::vector< openstudio::WorkspaceObject > | wsObjects, |
int | position, | ||
int | rows, | ||
const QModelIndex & | index = QModelIndex() |
||
) |
void modeleditor::TableModel::loadObjects | ( | openstudio::WorkspaceObjectVector & | objects | ) |
bool modeleditor::TableModel::moveRows | ( | const QModelIndex & | row, |
const QModelIndexList & | rowList | ||
) |
openstudio::OptionalWorkspaceObject modeleditor::TableModel::objectAtIndex | ( | const QModelIndex & | index | ) | const |
|
override |
bool modeleditor::TableModel::removeRows | ( | const QModelIndexList & | rowList | ) |
|
override |
|
override |
void modeleditor::TableModel::setModel | ( | openstudio::model::Model & | model | ) |
|
overridevirtual |
|
override |
void modeleditor::TableModel::toggleGUIDs | ( | ) |