MultiView
Namespace: DISPLIB · Library: Display Library
#include <disp/multiview.h>
class DISPLIB::MultiView
QMainWindow container hosting an arbitrary number of MultiViewWindow dock widgets.
Inherits QMainWindow purely for the dock infrastructure; named views are added with addWidgetTop / addWidgetBottom and geometry is persisted via QSettings.
Inheritance
Public Methods
MultiView(sSettingsPath, parent, flags)
Constructs an MultiView.
~MultiView()
Destructs an MultiView.
addWidgetTop(pWidget, sName)
Adds a QWidget to the top docking area.
Parameters:
-
pWidget : *QWidget ** The widget to be added.
-
sName : const QString & The window title shown in the QSplitter.
Returns:
- *MultiViewWindow ** — Returns a pointer to the added widget in form of a
MultiViewWindow.
addWidgetBottom(pWidget, sName)
Adds a QWidget to the bottom docking area.
Please note that all bottom dock widgets are tabbified by default.
Parameters:
-
pWidget : *QWidget ** The widget to be added.
-
sName : const QString & The window title shown in the QSplitter.
Returns:
- *MultiViewWindow ** — Returns a pointer to the added widget in form of a
MultiViewWindow.
saveSettings()
Saves geometry and state of GUI dock widgets that have given a name with setObjectName().
loadSettings()
Restores geometry and state as saved by saveSettings().
Authors of this file
- Lorenz Esch <lorenz.esch@tu-ilmenau.de>
- Gabriel Motta <gabrielbenmotta@gmail.com>
- Juan GPC <jgarciaprieto@mgh.harvard.edu>
- Christoph Dinh <christoph.dinh@mne-cpp.org>