1 #ifndef INCLUDE_CHANNELMARKER_H 2 #define INCLUDE_CHANNELMARKER_H 35 void emitChangedByAPI();
37 void setTitle(
const QString& title);
38 const QString&
getTitle()
const {
return m_title; }
40 void setCenterFrequency(
int centerFrequency);
41 void setCenterFrequencyByCursor(
int centerFrequency);
44 void setBandwidth(
int bandwidth);
47 void setOppositeBandwidth(
int bandwidth);
50 void setLowCutoff(
int lowCutoff);
53 void setSidebands(sidebands_t sidebands);
56 void setVisible(
bool visible);
59 void setHighlighted(
bool highlighted);
60 void setHighlightedByCursor(
bool highlighted);
63 void setColor(
const QColor& color);
64 const QColor&
getColor()
const {
return m_color; }
84 static QRgb m_colorTable[];
103 void resetToDefaults();
107 void changedByCursor();
108 void highlightedByCursor();
111 #endif // INCLUDE_CHANNELMARKER_H
enum ChannelMarker::frequencyScaleDisplay_e frequencyScaleDisplay_t
int getOppositeBandwidth() const
int getStreamIndex() const
int getCenterFrequency() const
bool m_sourceOrSinkStream
sidebands_t getSidebands() const
frequencyScaleDisplay_t getFrequencyScaleDisplayType() const
const QString & getDisplayAddressSend() const
void setFrequencyScaleDisplayType(frequencyScaleDisplay_t type)
const QString & getDisplayAddressReceive() const
bool getSourceOrSinkStream() const
QString m_displayAddressReceive
void setStreamIndex(int streamIndex)
void setSourceOrSinkStream(bool sourceOrSinkStream)
void setMovable(bool movable)
const QString & getTitle() const
enum ChannelMarker::sidebands_e sidebands_t
bool getHighlighted() const
virtual bool deserialize(const QByteArray &data)=0
virtual QByteArray serialize() const =0
QString m_displayAddressSend
const QColor & getColor() const
frequencyScaleDisplay_t m_fScaleDisplayType