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:
Collin Kidder
2015-06-28 17:31:44 -04:00
parent 88b586383c
commit 821e681dcd
8 changed files with 266 additions and 12 deletions
+29
View File
@@ -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