v2.0.0
Loading...
Searching...
No Matches
channelinfomodel.h File Reference

QAbstractTableModel exposing per-channel FIFF metadata (name, type, unit, position, bad flag, mapping). More...

#include "../../disp_global.h"
#include <QAbstractTableModel>
#include <QSharedPointer>
#include <QPointF>
#include <QMultiMap>
#include <Eigen/Core>
Include dependency graph for channelinfomodel.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  DISPLIB::ChannelInfoModel
 QAbstractTableModel exposing per-channel FIFF metadata (name, type, unit, position, bad flag, mapping). More...

Namespaces

namespace  FIFFLIB
 FIFF file I/O, in-memory data structures and high-level readers/writers.
namespace  DISPLIB
 2-D display widgets and visualisation helpers (charts, topography, colour maps).
namespace  DISPLIB::ChannelInfoModelRoles

Enumerations

enum  DISPLIB::ChannelInfoModelRoles::ItemRole {
  DISPLIB::ChannelInfoModelRoles::GetOrigChName = Qt::UserRole + 1009 , DISPLIB::ChannelInfoModelRoles::GetMappedLayoutChName = Qt::UserRole + 1010 , DISPLIB::ChannelInfoModelRoles::GetChNumber = Qt::UserRole + 1011 , DISPLIB::ChannelInfoModelRoles::GetChKind = Qt::UserRole + 1012 ,
  DISPLIB::ChannelInfoModelRoles::GetMEGType = Qt::UserRole + 1013 , DISPLIB::ChannelInfoModelRoles::GetChUnit = Qt::UserRole + 1014 , DISPLIB::ChannelInfoModelRoles::GetChAlias = Qt::UserRole + 1015 , DISPLIB::ChannelInfoModelRoles::GetChPosition = Qt::UserRole + 1016 ,
  DISPLIB::ChannelInfoModelRoles::GetChDigitizer = Qt::UserRole + 1017 , DISPLIB::ChannelInfoModelRoles::GetChActiveFilter = Qt::UserRole + 1018 , DISPLIB::ChannelInfoModelRoles::GetChCoilType = Qt::UserRole + 1019 , DISPLIB::ChannelInfoModelRoles::GetIsBad = Qt::UserRole + 1020
}

Detailed Description

QAbstractTableModel exposing per-channel FIFF metadata (name, type, unit, position, bad flag, mapping).

SPDX-License-Identifier: BSD-3-Clause Copyright (c) 2018-2026 MNE-CPP Authors

Author
Lorenz Esch loren.nosp@m.z.es.nosp@m.ch@tu.nosp@m.-ilm.nosp@m.enau..nosp@m.de; 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.0
Date
July 2018

ChannelInfoModel turns a FiffInfo into a sortable / filterable table model. Each row maps a FIFF channel to its presentation attributes — display name, modality, unit, scaling, layout-mapped alias and bad flag — and listens for live edits coming from the channel-selection / mapping dialogs to update the underlying FiffInfo in place.

Definition in file channelinfomodel.h.