BigBlueBox
An Inventory Management System for a NYLT Course or other Boy Scout Programs
 All Classes Namespaces Files Functions Variables Enumerations Enumerator Pages
settingspage.h
Go to the documentation of this file.
1 #ifndef SETTINGSPAGE_H
2 #define SETTINGSPAGE_H
3 
4 #include <QWidget>
5 #include <QFileDialog>
6 #include <QFile>
7 #include <QMessageBox>
8 
9 #include "_filereader.h" // will be replaced by the settings json class
10 #include "_filewriter.h" //
11 #include "dbconnect.h"
12 
13 #include "_settings.h"
14 
15 namespace Ui {
16 class SettingsPage;
17 }
18 
19 class SettingsPage : public QWidget
20 {
21  Q_OBJECT
22 public:
23  explicit SettingsPage(QWidget *parent = 0);
24  ~SettingsPage();
25 
26  void toggleDbSettings(bool toggle);
27 
28 private:
29  void initPaths();
30 
31 private slots:
33 
35 
37 
39 
40  void on_comboBox_databaseLoc_currentIndexChanged(const QString &arg1);
41 
42 
44 
45 private:
46  Ui::SettingsPage *ui;
47 };
48 
49 #endif // SETTINGSPAGE_H
void on_pushButton_saveDbDir_clicked()
Definition: settingspage.cpp:84
void initPaths()
Definition: settingspage.cpp:27
void on_pushButton_saveReportDir_clicked()
Definition: settingspage.cpp:107
void on_comboBox_databaseType_currentIndexChanged(int index)
Definition: settingspage.cpp:156
~SettingsPage()
Definition: settingspage.cpp:17
void on_comboBox_databaseLoc_currentIndexChanged(const QString &arg1)
Definition: settingspage.cpp:121
void on_toolButton_reportsLoc_clicked()
Definition: settingspage.cpp:63
Definition: settingspage.h:19
void on_toolButton_fileBrowse_clicked()
Definition: settingspage.cpp:42
SettingsPage(QWidget *parent=0)
Definition: settingspage.cpp:4
void toggleDbSettings(bool toggle)
Definition: settingspage.cpp:137
Ui::SettingsPage * ui
Definition: settingspage.h:46