Added a settings dialog that allows for persistent settings to be stored. It operates but nothing else uses the settings just yet. Updated version num.
This commit is contained in:
@@ -0,0 +1,29 @@
|
||||
#ifndef MAINSETTINGSDIALOG_H
|
||||
#define MAINSETTINGSDIALOG_H
|
||||
|
||||
#include <QDialog>
|
||||
#include <QSettings>
|
||||
|
||||
namespace Ui {
|
||||
class MainSettingsDialog;
|
||||
}
|
||||
|
||||
class MainSettingsDialog : public QDialog
|
||||
{
|
||||
Q_OBJECT
|
||||
|
||||
public:
|
||||
explicit MainSettingsDialog(QWidget *parent = 0);
|
||||
~MainSettingsDialog();
|
||||
|
||||
private slots:
|
||||
void updateSettings();
|
||||
|
||||
private:
|
||||
Ui::MainSettingsDialog *ui;
|
||||
QSettings *settings;
|
||||
|
||||
void closeEvent(QCloseEvent *event);
|
||||
};
|
||||
|
||||
#endif // MAINSETTINGSDIALOG_H
|
||||
Reference in New Issue
Block a user