18 #ifndef PLUGINS_CHANNELTX_FILESOURCE_FILESOURCEGUI_H_ 19 #define PLUGINS_CHANNELTX_FILESOURCE_FILESOURCEGUI_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::FileSourceGUI*
ui;
87 void blockApplySettings(
bool block);
88 void applySettings(
bool force =
false);
89 void applyChannelSettings();
90 void configureFileName();
91 void updateWithAcquisition();
92 void updateWithStreamData();
93 void updateWithStreamTime();
94 void displaySettings();
95 void displayRateAndShift();
97 void leaveEvent(QEvent*);
98 void enterEvent(QEvent*);
100 void applyInterpolation();
101 void applyPosition();
104 void handleSourceMessages();
105 void onWidgetRolled(QWidget* widget,
bool rollDown);
106 void onMenuDialogCalled(
const QPoint& p);
107 void on_interpolationFactor_currentIndexChanged(
int index);
108 void on_position_valueChanged(
int value);
109 void on_gain_valueChanged(
int value);
110 void on_showFileDialog_clicked(
bool checked);
111 void on_playLoop_toggled(
bool checked);
112 void on_play_toggled(
bool checked);
113 void on_navTime_valueChanged(
int value);
quint64 m_startingTimeStamp
MessageQueue m_inputMessageQueue
void * create(QString type)
FileSourceSettings m_settings
FileSource * m_fileSource
ChannelMarker m_channelMarker
double m_shiftFrequencyFactor
Channel frequency shift factor.
virtual MessageQueue * getInputMessageQueue()
DeviceUISet * m_deviceUISet