The DataManagerView class provides the plugin control. More...
#include <bidsview.h>
Signals | |
| void | removeItem (const QModelIndex &pIndex) |
| void | selectedModelChanged (const QVariant &data) |
| void | selectedItemChanged (const QModelIndex &pIndex) |
| void | onAddSubject (const QString &sSubjectName) |
| void | onAddSession (QModelIndex subjectIndex, const QString &sSessionName) |
| void | onMoveSession (QModelIndex subjectIndex, QModelIndex sessionIndex) |
| void | onMoveData (QModelIndex sessionIndex, QModelIndex dataIndex) |
| Signals inherited from DISPLIB::AbstractView | |
| void | guiStyleChanged (DISPLIB::AbstractView::StyleMode style) |
Public Member Functions | |
| BidsView (QWidget *parent=0) | |
| virtual | ~BidsView () |
| void | setModel (QAbstractItemModel *pModel) |
| virtual void | saveSettings () |
| virtual void | loadSettings () |
| virtual void | updateGuiMode (GuiMode mode) |
| virtual void | updateProcessingMode (ProcessingMode mode) |
| void | clearView () |
| Public Member Functions inherited from DISPLIB::AbstractView | |
| AbstractView (QWidget *parent=0, Qt::WindowFlags f=Qt::Widget) | |
| virtual void | setGuiMode (GuiMode mode) |
| virtual void | setProcessingMode (ProcessingMode mode) |
Additional Inherited Members | |
| Public Types inherited from DISPLIB::AbstractView | |
| enum | StyleMode { Default , Dark } |
| enum | GuiMode { Clinical , Research } |
| enum | ProcessingMode { RealTime , Offline } |
| typedef QSharedPointer< AbstractView > | SPtr |
| typedef QSharedPointer< const AbstractView > | ConstSPtr |
| Protected Attributes inherited from DISPLIB::AbstractView | |
| bool | m_bResearchModeIsActive |
| bool | m_bOfflineModeIsActive |
| QString | m_sSettingsPath |
The DataManagerView class provides the plugin control.
DataManagerView Plugin Control
Definition at line 82 of file bidsview.h.

|
explicit |
Constructs the DataManagerView
| [in] | parent | If parent is not NULL the QWidget becomes a child of QWidget inside parent. |
Definition at line 69 of file bidsview.cpp.
|
virtual |
Destroys the DataManagerView.
Definition at line 81 of file bidsview.cpp.
|
virtual |
|
virtual |
Loads and inits all important settings of this view via QSettings.
Implements DISPLIB::AbstractView.
Definition at line 321 of file bidsview.cpp.
|
signal |
Triggers a session to be added with name sSessionName to subject at index subjectIndex
| [in] | subjectIndex | index of subject to which the session will be added. |
| [in] | sSessionName | name of new session. |
|
signal |
Triggers a subject to be added with name sSubjectName
| [in] | sSubjectName | name of new subject. |
|
signal |
Triggers data at dataIndex to be moved to session at sessionIndex
| [in] | sessionIndex | index of destination session. |
| [in] | dataIndex | index of data to me moved. |
|
signal |
Triggers session at sessionIndex to be moved to subject at subjectIndex
| [in] | subjectIndex | index of destination subject. |
| [in] | sessionIndex | index of session to be moved. |
|
signal |
Sends index of item to be removed from model
| [in] | pIndex | index of item to be removed. |
|
virtual |
Saves all important settings of this view via QSettings.
Implements DISPLIB::AbstractView.
Definition at line 314 of file bidsview.cpp.
|
signal |
Sends the index of currently selected item to update saved current items
| [in] | pIndex | index of new item. |
|
signal |
Sends model in 'data' to be send via the event manager
| [in] | data | new selected model in a QVariant. |
| void BidsView::setModel | ( | QAbstractItemModel * | pModel | ) |
Sets the model to the tree view.
| [in] | pModel | The new model. |
Definition at line 88 of file bidsview.cpp.
|
virtual |
Update the views GUI based on the set GuiMode (Clinical=0, Research=1).
| [in] | mode | The new mode (Clinical=0, Research=1). |
Implements DISPLIB::AbstractView.
Definition at line 328 of file bidsview.cpp.
|
virtual |
Update the views GUI based on the set ProcessingMode (RealTime=0, Offline=1).
| [in] | mode | The new mode (RealTime=0, Offline=1). |
Implements DISPLIB::AbstractView.
Definition at line 340 of file bidsview.cpp.