QStandardItemModel mirroring the BIDS dataset hierarchy (subjects / sessions / runs / derivatives).
More...
#include "../../disp_global.h"
#include <QStandardItemModel>
Go to the source code of this file.
|
| namespace | DISPLIB |
| | 2-D display widgets and visualisation helpers (charts, topography, colour maps).
|
QStandardItemModel mirroring the BIDS dataset hierarchy (subjects / sessions / runs / derivatives).
SPDX-License-Identifier: BSD-3-Clause Copyright (c) 2020-2026 MNE-CPP Authors
- Author
- Gabriel Motta gabri.nosp@m.elbe.nosp@m.nmott.nosp@m.a@gm.nosp@m.ail.c.nosp@m.om; Juan GPC jgarc.nosp@m.iapr.nosp@m.ieto@.nosp@m.mgh..nosp@m.harva.nosp@m.rd.e.nosp@m.du; Christoph Dinh chris.nosp@m.toph.nosp@m..dinh.nosp@m.@mne.nosp@m.-cpp..nosp@m.org
- Since
- 0.1.7
- Date
- October 2020
BidsViewModel rebuilds itself from a top-level dataset path and exposes the BIDS tree to DISPLIB::BidsView. Item roles carry the absolute path, the BIDS entity type and the loadable-by-this-app flag so the surrounding plugin can react to double-clicks (load raw, attach derivative, …) without re-walking the file system.
Definition in file bidsviewmodel.h.
◆ BIDS_ITEM_SESSION
| #define BIDS_ITEM_SESSION Qt::UserRole + 4 |
◆ BIDS_ITEM_SUBJECT
| #define BIDS_ITEM_SUBJECT Qt::UserRole + 3 |
◆ BIDS_ITEM_TYPE
| #define BIDS_ITEM_TYPE Qt::UserRole + 2 |
◆ BIDS_ANATOMICALDATA
| auto BIDS_ANATOMICALDATA = 11 |
|
inlineconstexpr |
◆ BIDS_AVERAGE
◆ BIDS_BEHAVIORALDATA
| auto BIDS_BEHAVIORALDATA = 12 |
|
inlineconstexpr |
◆ BIDS_COORDSYSTEM
| auto BIDS_COORDSYSTEM = 24 |
|
inlineconstexpr |
◆ BIDS_DIPOLE
◆ BIDS_ELECTRODES
| auto BIDS_ELECTRODES = 23 |
|
inlineconstexpr |
◆ BIDS_EVENT
◆ BIDS_FOLDER
◆ BIDS_FUNCTIONALDATA
| auto BIDS_FUNCTIONALDATA = 10 |
|
inlineconstexpr |
◆ BIDS_IEEGDATA
◆ BIDS_SESSION
◆ BIDS_SUBJECT
◆ BIDS_UNKNOWN