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

QAbstractItemDelegate painting one row of the SpectrumView as a horizontal frequency band. More...

#include "../../disp_global.h"
#include <QAbstractItemDelegate>
#include <QPointer>
#include <Eigen/Core>
Include dependency graph for frequencyspectrumdelegate.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  DISPLIB::FrequencySpectrumDelegate
 QAbstractItemDelegate painting one SpectrumView row as a horizontal frequency band. More...

Namespaces

namespace  DISPLIB
 2-D display widgets and visualisation helpers (charts, topography, colour maps).

Detailed Description

QAbstractItemDelegate painting one row of the SpectrumView as a horizontal frequency band.

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; Juan GPC jgarc.nosp@m.iapr.nosp@m.ieto@.nosp@m.mgh..nosp@m.harva.nosp@m.rd.e.nosp@m.du; Gabriel Motta gabri.nosp@m.elbe.nosp@m.nmott.nosp@m.a@gm.nosp@m.ail.c.nosp@m.om; 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

FrequencySpectrumDelegate reads the per-row FFT amplitudes from FrequencySpectrumModel, maps them through a Hot / Jet colour table and draws the resulting pixel strip into the row rectangle during paint(). It also paints the lower / upper frequency cursors emitted by SpectrumSettingsView.

Definition in file frequencyspectrumdelegate.h.