36#ifndef CHANNELLABELPANEL_H
37#define CHANNELLABELPANEL_H
150 bool event(QEvent *e)
override;
153 QVector<int> effectiveChannelIndices()
const;
155 QPointer<ChannelDataModel> m_model;
156 int m_firstVisibleChannel = 0;
157 int m_visibleChannelCount = 12;
159 QVector<int> m_channelIndices;
160 bool m_hideBadChannels =
false;
161 bool m_butterflyMode =
false;
162 int m_visSampleFirst = 0;
163 int m_visSampleLast = 0;
165 bool m_dragging =
false;
166 bool m_dragActivated =
false;
167 int m_dragStartY = 0;
168 int m_dragStartFirst = 0;
disp library export/import macros.
#define DISPSHARED_EXPORT
2-D display widgets and visualisation helpers (charts, topography, colour maps).
ChannelDataModel – lightweight data container for ChannelDataView / ChannelRhiView.
void channelScrollRequested(int targetFirst)
void setVisibleChannelCount(int count)
void setFirstVisibleChannel(int ch)
void setVisibleSampleRange(int firstSample, int lastSample)
void setChannelIndices(const QVector< int > &indices)
void setHideBadChannels(bool hide)
void mouseReleaseEvent(QMouseEvent *event) override
QSize sizeHint() const override
void channelBadToggled(int channelIndex, bool bad)
void mouseMoveEvent(QMouseEvent *event) override
bool event(QEvent *e) override
void paintEvent(QPaintEvent *event) override
QSize minimumSizeHint() const override
void setButterflyMode(bool enabled)
void mousePressEvent(QMouseEvent *event) override
ChannelLabelPanel(QWidget *parent=nullptr)
void setModel(ChannelDataModel *model)