Commands: implemented save commands button

pull/127/head
f4exb 2018-01-05 11:54:05 +01:00
rodzic aa8e01f8ce
commit de5cedffea
2 zmienionych plików z 12 dodań i 0 usunięć

Wyświetl plik

@ -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");

Wyświetl plik

@ -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();