61using namespace DISPLIB;
62using namespace FIFFLIB;
77 m_pTableView->setSelectionMode(QAbstractItemView::ExtendedSelection);
82 QVBoxLayout *neLayout =
new QVBoxLayout(
this);
87 this->setLayout(neLayout);
111 connect(
m_pTableView.data(), &QTableView::doubleClicked,
122 m_pTableView->setSizePolicy(QSizePolicy::Expanding,QSizePolicy::Expanding);
126 m_pTableView->horizontalHeader()->setSectionResizeMode(1, QHeaderView::Stretch);
128 m_pTableView->verticalHeader()->setDefaultSectionSize(140);
135 m_pTableView->setHorizontalScrollMode(QAbstractItemView::ScrollPerPixel);
138 m_pTableView->setContextMenuPolicy(Qt::CustomContextMenu);
162 if(event->type() == QEvent::MouseMove){
163 QMouseEvent *mouseEvent =
static_cast <QMouseEvent*
>( event );
175 return QWidget::eventFilter(watched, event);
188 QSettings settings(
"MNECPP");
200 QSettings settings(
"MNECPP");
208 case GuiMode::Clinical:
220 case ProcessingMode::Offline:
Declaration of the SpectrumView Class.
Declaration of the FrequencySpectrumModel Class.
Declaration of the FrequencySpectrumDelegate Class.
FiffInfo class declaration.
The AbstractView class provides the base calss for all Disp viewers.
The FrequencySpectrumDelegate class represents a frequency delegate which creates the plot paths.
void rcvMouseLoc(int row, int x, int y, QRect visRect)
The FrequencySpectrumModel class implements the data access model for a real-time multi sample array ...
void toggleFreeze(const QModelIndex &index)
QPointer< QTableView > m_pTableView
QPointer< DISPLIB::FrequencySpectrumModel > m_pFSModel
void updateGuiMode(GuiMode mode)
void addData(const Eigen::MatrixXd &data)
SpectrumView(const QString &sSettingsPath="", QWidget *parent=0, Qt::WindowFlags f=Qt::Widget)
virtual bool eventFilter(QObject *watched, QEvent *event)
QPointer< DISPLIB::FrequencySpectrumDelegate > m_pFSDelegate
void setBoundaries(int iLower, int iUpper)
void init(QSharedPointer< FIFFLIB::FiffInfo > &info, int iScaleType)
void updateProcessingMode(ProcessingMode mode)
void sendMouseLoc(int row, int x, int y, QRect visRect)
QSharedPointer< FiffInfo > SPtr