mirror of
https://github.com/f4exb/sdrangel.git
synced 2024-12-23 18:15:45 -05:00
Commands: implemented save commands button
This commit is contained in:
parent
aa8e01f8ce
commit
de5cedffea
@ -594,6 +594,10 @@ void MainWindow::savePresetSettings(Preset* preset, int tabIndex)
|
||||
preset->setLayout(saveState());
|
||||
}
|
||||
|
||||
void MainWindow::saveCommandSettings()
|
||||
{
|
||||
}
|
||||
|
||||
void MainWindow::createStatusBar()
|
||||
{
|
||||
QString qtVersionStr = QString("Qt %1 ").arg(QT_VERSION_STR);
|
||||
@ -1019,6 +1023,12 @@ void MainWindow::on_commandOutput_clicked()
|
||||
}
|
||||
}
|
||||
|
||||
void MainWindow::on_commandsSave_clicked()
|
||||
{
|
||||
saveCommandSettings();
|
||||
m_settings.save();
|
||||
}
|
||||
|
||||
void MainWindow::on_commandKeyboardConnect_toggled(bool checked)
|
||||
{
|
||||
qDebug("on_commandKeyboardConnect_toggled: %s", checked ? "true" : "false");
|
||||
|
@ -317,6 +317,7 @@ private:
|
||||
void loadSettings();
|
||||
void loadPresetSettings(const Preset* preset, int tabIndex);
|
||||
void savePresetSettings(Preset* preset, int tabIndex);
|
||||
void saveCommandSettings();
|
||||
|
||||
void createStatusBar();
|
||||
void closeEvent(QCloseEvent*);
|
||||
@ -354,6 +355,7 @@ private slots:
|
||||
void on_commandDelete_clicked();
|
||||
void on_commandRun_clicked();
|
||||
void on_commandOutput_clicked();
|
||||
void on_commandsSave_clicked();
|
||||
void on_commandKeyboardConnect_toggled(bool checked);
|
||||
void on_action_Audio_triggered();
|
||||
void on_action_Logging_triggered();
|
||||
|
Loading…
Reference in New Issue
Block a user