OpenStudio:shared_gui_components
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator
Public Member Functions | Static Public Attributes | List of all members
openstudio::TIDItemModel Class Reference

#include <TIDItemModel.hpp>

+ Inheritance diagram for openstudio::TIDItemModel:

Public Member Functions

int columnCount (const QModelIndex &parent=QModelIndex()) const override
 
QVariant data (const QModelIndex &index, int role=Qt::DisplayRole) const override
 
Qt::ItemFlags flags (const QModelIndex &index) const override
 
QModelIndex index (int row, int column, const QModelIndex &parent=QModelIndex()) const override
 
QModelIndex indexForTID (int tid) const
 
QModelIndex parent (const QModelIndex &index) const override
 
int rowCount (const QModelIndex &parent=QModelIndex()) const override
 
 TIDItemModel (const QDomDocument &document, QObject *parent=nullptr)
 
virtual ~TIDItemModel ()
 

Static Public Attributes

static const std::map< int,
std::vector< IddObjectType > > 
tidToOSTypeMap
 

Constructor & Destructor Documentation

openstudio::TIDItemModel::TIDItemModel ( const QDomDocument &  document,
QObject parent = nullptr 
)
virtual openstudio::TIDItemModel::~TIDItemModel ( )
virtual

Member Function Documentation

int openstudio::TIDItemModel::columnCount ( const QModelIndex &  parent = QModelIndex()) const
override
QVariant openstudio::TIDItemModel::data ( const QModelIndex &  index,
int  role = Qt::DisplayRole 
) const
override
Qt::ItemFlags openstudio::TIDItemModel::flags ( const QModelIndex &  index) const
override
QModelIndex openstudio::TIDItemModel::index ( int  row,
int  column,
const QModelIndex &  parent = QModelIndex() 
) const
override
QModelIndex openstudio::TIDItemModel::indexForTID ( int  tid) const
QModelIndex openstudio::TIDItemModel::parent ( const QModelIndex &  index) const
override
int openstudio::TIDItemModel::rowCount ( const QModelIndex &  parent = QModelIndex()) const
override

Member Data Documentation

const std::map<int,std::vector<IddObjectType> > openstudio::TIDItemModel::tidToOSTypeMap
static