-
Notifications
You must be signed in to change notification settings - Fork 0
/
editdfile.h
41 lines (36 loc) · 941 Bytes
/
editdfile.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
#ifndef EDITDFILE_H
#define EDITDFILE_H
#include <QDialog>
#include <QFile>
namespace Ui {
class EditDFile;
}
class EditDFile : public QDialog
{
Q_OBJECT
public:
explicit EditDFile(QString filename, QString name="", QString cats="", QWidget *parent = 0);
~EditDFile();
const QString getProp(const QString propName);
void writeToFile();
void makeHidden();
void makeVisible();
private:
Ui::EditDFile *ui;
QMap<QString,QObject*>* tf_map;
QMap<QString, QMap <QString, QMap<QString,QString> > >* e_map;
QFile* file;
private slots:
void showhidemore(bool flag);
void switchlocale(QString locale_id);
void cbChangesHandler(bool flag);
void leChangesHandler(QString str);
void teChangesHandler();
void browseButtonHandler();
void delLocale();
void addLocale();
void switchentry(QString entry_id);
void addentry();
void delentry();
};
#endif // EDITDFILE_H