Версия с упрощённым GUI

This commit is contained in:
2025-10-25 15:49:45 +03:00
parent 7903775959
commit 805c75b8b7
9 changed files with 774 additions and 0 deletions

27
settingsdialog.h Normal file
View File

@@ -0,0 +1,27 @@
#ifndef SETTINGSDIALOG_H
#define SETTINGSDIALOG_H
#include <QDialog>
#include <QSettings>
namespace Ui {
class SettingsDialog;
}
class SettingsDialog : public QDialog
{
Q_OBJECT
public:
explicit SettingsDialog(QWidget *parent = nullptr);
~SettingsDialog();
private slots:
void accept(); // Переопределяем слот, чтобы сохранить настройки
private:
Ui::SettingsDialog *ui;
QSettings *settings;
};
#endif // SETTINGSDIALOG_H