1
0
mirror of https://github.com/f4exb/sdrangel.git synced 2026-06-03 06:24:48 -04:00

Multi device support: moved DSPDeviceEngine start/stop actions and status from main window to each source plugin GUI

This commit is contained in:
f4exb
2016-05-11 23:35:16 +02:00
parent 7992f3f428
commit ecd05096ad
31 changed files with 649 additions and 78 deletions
@@ -51,7 +51,7 @@ private:
PluginAPI* m_pluginAPI;
FileSourceInput::Settings m_settings;
QTimer m_updateTimer;
QTimer m_statusTimer;
std::vector<int> m_gains;
SampleSource* m_sampleSource;
bool m_acquisition;
@@ -63,11 +63,11 @@ private:
int m_samplesCount;
std::size_t m_tickCount;
bool m_enableNavTime;
int m_lastEngineState;
void displaySettings();
void displayTime();
void sendSettings();
void updateHardware();
void configureFileName();
void updateWithAcquisition();
void updateWithStreamData();
@@ -75,10 +75,12 @@ private:
private slots:
void handleSourceMessages();
void on_startStop_toggled(bool checked);
void on_playLoop_toggled(bool checked);
void on_play_toggled(bool checked);
void on_navTimeSlider_valueChanged(int value);
void on_showFileDialog_clicked(bool checked);
void updateStatus();
void tick();
};