summaryrefslogtreecommitdiffstats
path: root/src/gui/profileDialog.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/profileDialog.h')
-rw-r--r--src/gui/profileDialog.h46
1 files changed, 46 insertions, 0 deletions
diff --git a/src/gui/profileDialog.h b/src/gui/profileDialog.h
new file mode 100644
index 0000000..5caebfa
--- /dev/null
+++ b/src/gui/profileDialog.h
@@ -0,0 +1,46 @@
+#ifndef PROFILEDIALOG_H_
+#define PROFILEDIALOG_H_
+
+#include <QtGui>
+#include <QDialog>
+#include <src/gui/mainWindow.h>
+
+namespace Ui
+{
+class Dialog;
+}
+
+class MainWindow;
+
+class profileDialog : public QDialog
+{
+ Q_OBJECT
+
+public:
+ profileDialog(QWidget * parent = 0);
+ virtual ~profileDialog();
+
+ void setUpProfile();
+
+
+
+signals:
+ void selectionChanged (const QItemSelection &selected);
+
+private:
+ Ui::Dialog *uidiag;
+ QTableView *content;
+ QAbstractItemModel *model;
+ QItemSelectionModel *selectionModel;
+ QList<QString> ProfilList;
+
+private Q_SLOTS:
+ void AddProfile();
+ void removeProfile();
+ void onNew();
+ void onLoad();
+ void selectionChange(const QModelIndex & index);
+ void close();
+};
+
+#endif /* PROFILEDIALOG_H_ */