OpenStudio:model_editor
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Pages
Public Slots | Public Member Functions | Public Attributes | Protected Attributes | List of all members
modeleditor::ClassViewWidget Class Reference

#include <ClassViewWidget.hpp>

+ Inheritance diagram for modeleditor::ClassViewWidget:

Public Slots

virtual void on_nameChanged (QString) override
 
virtual void viewSelection (const QModelIndex &modelIndex) override
 
virtual void viewSelection ()
 
- Public Slots inherited from modeleditor::ViewWidget
void on_modelDirty ()
 
virtual void on_nameChanged (QString)
 
virtual void viewSelection (const QModelIndex &modelIndex)=0
 

Public Member Functions

virtual void addObjects (openstudio::IddObjectType type=openstudio::IddObjectType("UserCustom")) override
 
 ClassViewWidget (openstudio::model::Model &model,*parent=nullptr)
 
virtual void copyObjects () override
 
TableModelgetTableModel ()
 
TableViewgetTableView ()
 
virtual bool hasRowsToPaste () override
 
virtual bool hasSelectedRows () override
 
virtual void loadModel () override
 
void loadWorkspace (const openstudio::Workspace &workspace)
 
virtual void pasteObjects () override
 
virtual void removeObjects () override
 
virtual void toggleGUIDs () override
 
virtual ~ClassViewWidget ()
 
- Public Member Functions inherited from modeleditor::ViewWidget
virtual void createAllFields ()
 
virtual void emitModelDirty ()
 
virtual const openstudio::IddFile & getIddFile ()
 
virtual openstudio::model::Model & getModel ()
 
virtual bool getModelDirty () const
 
virtual void restoreState ()
 
virtual void setModelDirty (const bool modelDirty)
 
virtual void setRecursive (bool state)
 
virtual void showAllFields (bool state)
 
virtual void showComments (const bool showComments)
 
virtual void showPrecisionDlg (const bool showPrecisionDlg=true)
 
 ViewWidget (openstudio::model::Model model,*parent=nullptr)
 
virtual ~ViewWidget ()
 

Public Attributes

ClassViewWidgetparent
 
- Public Attributes inherited from modeleditor::ViewWidget
ViewWidgetparent
 

Protected Attributes

TableModelmTableModel
 
TableViewmTableView
 
- Protected Attributes inherited from modeleditor::ViewWidget
InspectorGadgetmIG
 
IGPrecisionDialogmIGPrecisionDlg
 
openstudio::model::Model mModel
 
bool mModelDirty
 
ModelExplorermModelExplorer
 
QSplitter * mSplitter
 
QString mSplitterSetting
 

Additional Inherited Members

- Signals inherited from modeleditor::ViewWidget
void commentsShow (bool)
 
void eventEnter ()
 
void eventLeave ()
 
void modelDirty ()
 
void modelUpdated (QAbstractItemModel *model)
 
void precisionDlgFinished ()
 
void precisionDlgHide ()
 
void precisionDlgShow ()
 

Constructor & Destructor Documentation

modeleditor::ClassViewWidget::ClassViewWidget ( openstudio::model::Model &  model,
parent = nullptr 
)
virtual modeleditor::ClassViewWidget::~ClassViewWidget ( )
virtual

Member Function Documentation

virtual void modeleditor::ClassViewWidget::addObjects ( openstudio::IddObjectType  type = openstudio::IddObjectType("UserCustom"))
overridevirtual
virtual void modeleditor::ClassViewWidget::copyObjects ( )
overridevirtual
TableModel* modeleditor::ClassViewWidget::getTableModel ( )
TableView* modeleditor::ClassViewWidget::getTableView ( )
virtual bool modeleditor::ClassViewWidget::hasRowsToPaste ( )
overridevirtual
virtual bool modeleditor::ClassViewWidget::hasSelectedRows ( )
overridevirtual
virtual void modeleditor::ClassViewWidget::loadModel ( )
overridevirtual
void modeleditor::ClassViewWidget::loadWorkspace ( const openstudio::Workspace &  workspace)
virtual void modeleditor::ClassViewWidget::on_nameChanged ( QString  )
overridevirtualslot
virtual void modeleditor::ClassViewWidget::pasteObjects ( )
overridevirtual
virtual void modeleditor::ClassViewWidget::removeObjects ( )
overridevirtual
virtual void modeleditor::ClassViewWidget::toggleGUIDs ( )
overridevirtual
virtual void modeleditor::ClassViewWidget::viewSelection ( const QModelIndex &  modelIndex)
overridevirtualslot
virtual void modeleditor::ClassViewWidget::viewSelection ( )
virtualslot

Member Data Documentation

TableModel* modeleditor::ClassViewWidget::mTableModel
protected
TableView* modeleditor::ClassViewWidget::mTableView
protected
ClassViewWidget * modeleditor::ClassViewWidget::parent