21#ifndef BIDSVIEWMODEL_H
22#define BIDSVIEWMODEL_H
29#define BIDS_ITEM_TYPE Qt::UserRole + 2
30#define BIDS_ITEM_SUBJECT Qt::UserRole + 3
31#define BIDS_ITEM_SESSION Qt::UserRole + 4
36#define BIDS_SUBJECT 01
37#define BIDS_SESSION 02
41#define BIDS_FUNCTIONALDATA 10
42#define BIDS_ANATOMICALDATA 11
43#define BIDS_BEHAVIORALDATA 12
44#define BIDS_IEEGDATA 13
47#define BIDS_AVERAGE 20
50#define BIDS_ELECTRODES 23
51#define BIDS_COORDSYSTEM 24
53#define BIDS_UNKNOWN 99
65#include <QStandardItemModel>
100 typedef QSharedPointer<BidsViewModel>
SPtr;
127 void addData(QModelIndex selectedItem,
128 QStandardItem* pNewItem,
139 const QModelIndex& parentIndex,
150 QModelIndex
addSubject(
const QString& sSubjectName);
162 const QString& sSessionName);
174 const QString& sSessionName);
186 QStandardItem* pNewItem,
198 QModelIndex sessionIndex);
210 QModelIndex dataIndex);
Export macros and build-info hooks for the DISPLIB shared library.
#define DISPSHARED_EXPORT
2-D display widgets and visualisation helpers (charts, topography, colour maps).
QModelIndex addDataToSession(QModelIndex sessionIndex, QStandardItem *pNewItem, int iDataType)
bool removeItem(QModelIndex itemIndex)
QSharedPointer< BidsViewModel > SPtr
BidsViewModel(QObject *pParent=nullptr)
QModelIndex moveSessionToSubject(QModelIndex subjectIndex, QModelIndex sessionIndex)
void newItemIndex(QModelIndex itemIndex)
QModelIndex moveDataToSession(QModelIndex sessionIndex, QModelIndex dataIndex)
QModelIndex addSubject(const QString &sSubjectName)
QSharedPointer< const BidsViewModel > ConstSPtr
void addToData(QStandardItem *pNewItem, const QModelIndex &parentIndex, int iDataType)
QModelIndex addSessionToSubject(const QString &sSubjectName, const QString &sSessionName)
void addData(QModelIndex selectedItem, QStandardItem *pNewItem, int iDataType)