45 #include "../disp_global.h"
53 #include <QAbstractItemModel>
54 #include <QItemSelectionModel>
55 #include <QStandardItem>
93 explicit BidsView(QWidget *parent = 0);
107 void setModel(QAbstractItemModel *pModel);
113 virtual void saveSettings();
119 virtual void loadSettings();
127 virtual void updateGuiMode(GuiMode mode);
135 virtual void updateProcessingMode(ProcessingMode mode);
151 void customMenuRequested(QPoint pos);
160 void onCurrentItemChanged(
const QItemSelection &selected,
161 const QItemSelection &deselected);
170 void onNewFileLoaded(
int iSubject,
179 void onNewItemIndex(QModelIndex itemIndex);
193 void keyPressEvent(QKeyEvent *event);
195 Ui::BidsViewWidget *m_pUi;
204 void removeItem(
const QModelIndex& pIndex);
212 void selectedModelChanged(
const QVariant& data);
220 void selectedItemChanged(
const QModelIndex& pIndex);
228 void onAddSubject(
const QString &sSubjectName);
237 void onAddSession(QModelIndex subjectIndex,
238 const QString &sSessionName);
247 void onMoveSession(QModelIndex subjectIndex,
248 QModelIndex sessionIndex);
257 void onMoveData(QModelIndex sessionIndex,
258 QModelIndex dataIndex);