18 #ifndef PLUGINS_CHANNELTX_REMOTESRC_REMOTESRCGUI_H_ 19 #define PLUGINS_CHANNELTX_REMOTESRC_REMOTESRCGUI_H_ 28 #include "../remotesource/remotesourcesettings.h" 44 virtual void destroy();
46 void setName(
const QString& name);
47 QString getName()
const;
48 virtual qint64 getCenterFrequency()
const;
49 virtual void setCenterFrequency(qint64 centerFrequency);
51 void resetToDefaults();
52 QByteArray serialize()
const;
53 bool deserialize(
const QByteArray& data);
55 virtual bool handleMessage(
const Message& message);
58 void channelMarkerChangedByCursor();
61 Ui::RemoteSourceGUI*
ui;
84 void blockApplySettings(
bool block);
85 void applySettings(
bool force =
false);
86 void displaySettings();
88 void leaveEvent(QEvent*);
89 void enterEvent(QEvent*);
91 void displayEventCounts();
92 void displayEventStatus(
int recoverableCount,
int unrecoverableCount);
93 void displayEventTimer();
96 void handleSourceMessages();
97 void on_dataAddress_returnPressed();
98 void on_dataPort_returnPressed();
99 void on_dataApplyButton_clicked(
bool checked);
100 void onWidgetRolled(QWidget* widget,
bool rollDown);
101 void onMenuDialogCalled(
const QPoint& p);
102 void on_eventCountsReset_clicked(
bool checked);
RemoteSource * m_remoteSrc
uint32_t m_countRecovered
uint32_t m_lastCountRecovered
ChannelMarker m_channelMarker
DeviceUISet * m_deviceUISet
void * create(QString type)
MessageQueue m_inputMessageQueue
uint32_t m_countUnrecoverable
uint32_t m_lastSampleCount
RemoteSourceSettings m_settings
uint32_t m_lastCountUnrecoverable
virtual MessageQueue * getInputMessageQueue()
uint64_t m_lastTimestampUs
unsigned __int64 uint64_t