15 #ifndef BORNAGAIN_GUI_COREGUI_VIEWS_SESSIONMODELVIEW_H
16 #define BORNAGAIN_GUI_COREGUI_VIEWS_SESSIONMODELVIEW_H
Equivalent of QTreeView for SessionModel allowing to add visual decorations to the tree.
The SessionModelDelegate class presents the content of SessionModel items in standard QTreeView.
The SessionModelView is a technical view which shows the content all current application models.
void setViewActive(bool is_active)
SessionModelDelegate * m_delegate
QToolButton * m_expandCollapseButton
void onExpandCollapseTree()
QList< SessionModel * > modelsForTabs()
Returns list of models to show in tabs.
SessionModelView(MainWindow *mainWindow=0)
QVector< ModelTreeView * > m_content
void init_tabs()
Creates content for tab widget.
MainWindow * m_mainWindow