-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathdialogDBEinrichten.h
51 lines (42 loc) · 1.17 KB
/
dialogDBEinrichten.h
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
47
48
49
50
51
#ifndef DIALOGDBEINRICHTEN_H
#define DIALOGDBEINRICHTEN_H
#include <QDialog>
#include <QTreeView>
#include <QStandardItemModel>
#include <QPushButton>
#include <QVBoxLayout>
#include <QHBoxLayout>
#include <QDir>
#include <QDebug>
#include <QSettings>
#include "jobs.h"
#include "database.h"
class DialogDBEinrichten : public QDialog
{
Q_OBJECT
public:
JobInsertMetaPaket* jobInsertMetaPaket;
JobDeleteMetaPaket* jobDeleteMetaPaket;
QTreeView* treeView;
QStandardItemModel* model;
QDir* rootDir;
QPushButton* buttonAbbrechen;
QPushButton* buttonAnwenden;
QPushButton* buttonNeuEinlesen;
QVBoxLayout* layoutMaster;
DataBase* database;
DialogDBEinrichten(QProgressBar*, DataBase*, QWidget *parent = 0, Qt::WindowFlags f = 0);
void disableAll();
void findCheckedItems(QStringList*, QStandardItem*);
void findTracks(QDir, QStringList*);
void readSettings();
QStandardItem* setItem(QStandardItem*, QString);
public slots:
void anwenden();
void itemChanged(QStandardItem*);
void neuEinlesen();
void treeViewClicked(QModelIndex);
void writeSettings();
void enableAll();
};
#endif // DIALOGDBEINRICHTEN_H