#include <TreeViewWidget.hpp>
Public Slots | |
virtual void | on_nameChanged (QString) override |
virtual void | viewSelection () |
virtual void | viewSelection (const QModelIndex &modelIndex) override |
Public Slots inherited from modeleditor::ViewWidget | |
void | on_modelDirty () |
virtual void | on_nameChanged (QString) |
virtual void | viewSelection (const QModelIndex &modelIndex)=0 |
Signals | |
void | collapseAll () |
void | expandAll () |
Signals inherited from modeleditor::ViewWidget | |
void | commentsShow (bool) |
void | eventEnter () |
void | eventLeave () |
void | modelDirty () |
void | modelUpdated (QAbstractItemModel *model) |
void | precisionDlgFinished () |
void | precisionDlgHide () |
void | precisionDlgShow () |
Public Member Functions | |
virtual void | addObjects (openstudio::IddObjectType type=openstudio::IddObjectType("UserCustom")) override |
void | collapseAllNodes () |
virtual void | copyObjects () override |
void | expandAllNodes () |
std::vector < openstudio::IddObjectType > | getAllowableChildTypes () |
TreeModel * | getTreeModel () |
TreeView * | getTreeView () |
virtual bool | hasRowsToPaste () override |
virtual bool | hasSelectedRows () override |
virtual void | loadModel () override |
virtual void | pasteObjects () override |
virtual void | removeObjects () override |
virtual void | toggleGUIDs () override |
TreeViewWidget (openstudio::model::Model &model,*parent=nullptr) | |
virtual | ~TreeViewWidget () |
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 | |
TreeViewWidget * | parent |
Public Attributes inherited from modeleditor::ViewWidget | |
ViewWidget * | parent |
Protected Attributes | |
TreeModel * | mTreeModel |
TreeView * | mTreeView |
Protected Attributes inherited from modeleditor::ViewWidget | |
InspectorGadget * | mIG |
IGPrecisionDialog * | mIGPrecisionDlg |
openstudio::model::Model | mModel |
bool | mModelDirty |
ModelExplorer * | mModelExplorer |
QSplitter * | mSplitter |
QString | mSplitterSetting |
modeleditor::TreeViewWidget::TreeViewWidget | ( | openstudio::model::Model & | model, |
* | parent = nullptr |
||
) |
|
virtual |
|
overridevirtual |
Implements modeleditor::ViewWidget.
|
signal |
void modeleditor::TreeViewWidget::collapseAllNodes | ( | ) |
|
overridevirtual |
Implements modeleditor::ViewWidget.
|
signal |
void modeleditor::TreeViewWidget::expandAllNodes | ( | ) |
std::vector<openstudio::IddObjectType> modeleditor::TreeViewWidget::getAllowableChildTypes | ( | ) |
TreeModel* modeleditor::TreeViewWidget::getTreeModel | ( | ) |
TreeView* modeleditor::TreeViewWidget::getTreeView | ( | ) |
|
overridevirtual |
Implements modeleditor::ViewWidget.
|
overridevirtual |
Implements modeleditor::ViewWidget.
|
overridevirtual |
Implements modeleditor::ViewWidget.
|
overridevirtualslot |
|
overridevirtual |
Implements modeleditor::ViewWidget.
|
overridevirtual |
Implements modeleditor::ViewWidget.
|
overridevirtual |
Implements modeleditor::ViewWidget.
|
virtualslot |
|
overridevirtualslot |
|
protected |
|
protected |
TreeViewWidget * modeleditor::TreeViewWidget::parent |