summaryrefslogtreecommitdiffstats
path: root/src/gui/profileDialog.h
blob: 5caebfa399c37f4950f8740df577ec2fb4c19ef0 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
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_ */