MNE-CPP
0.1.9
A Framework for Electrophysiology
|
The MultiView class inherits from QMainWindow and provides a view which supports dock widgets. More...
#include <multiview.h>
Public Types | |
typedef QSharedPointer< MultiView > | SPtr |
typedef QSharedPointer< const MultiView > | ConstSPtr |
Signals | |
void | dockLocationChanged (QWidget *pWidget) |
Public Member Functions | |
MultiView (const QString &sSettingsPath="", QWidget *parent=Q_NULLPTR, Qt::WindowFlags flags=Qt::Widget) | |
~MultiView () | |
MultiViewWindow * | addWidgetTop (QWidget *pWidget, const QString &sName) |
MultiViewWindow * | addWidgetBottom (QWidget *pWidget, const QString &sName) |
void | saveSettings () |
void | loadSettings () |
The MultiView class inherits from QMainWindow and provides a view which supports dock widgets.
Definition at line 73 of file multiview.h.
typedef QSharedPointer<const MultiView> DISPLIB::MultiView::ConstSPtr |
Const shared pointer type for MultiView.
Definition at line 79 of file multiview.h.
typedef QSharedPointer<MultiView> DISPLIB::MultiView::SPtr |
Shared pointer type for MultiView.
Definition at line 78 of file multiview.h.
|
explicit |
Constructs an MultiView.
Definition at line 62 of file multiview.cpp.
MultiView::~MultiView | ( | ) |
Destructs an MultiView.
Definition at line 76 of file multiview.cpp.
MultiViewWindow * MultiView::addWidgetBottom | ( | QWidget * | pWidget, |
const QString & | sName | ||
) |
Adds a QWidget to the bottom docking area. Please note that all bottom dock widgets are tabbified by default.
[in] | pWidget | The widget to be added. |
[in] | sName | The window title shown in the QSplitter. |
Definition at line 111 of file multiview.cpp.
MultiViewWindow * MultiView::addWidgetTop | ( | QWidget * | pWidget, |
const QString & | sName | ||
) |
Adds a QWidget to the top docking area.
[in] | pWidget | The widget to be added. |
[in] | sName | The window title shown in the QSplitter. |
Definition at line 82 of file multiview.cpp.
void MultiView::loadSettings | ( | ) |
Restores geometry and state as saved by saveSettings()
Definition at line 167 of file multiview.cpp.
void MultiView::saveSettings | ( | ) |
Saves geometry and state of GUI dock widgets that have given a name with setObjectName()
Definition at line 150 of file multiview.cpp.