-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsaveDlg.h
73 lines (60 loc) · 1.46 KB
/
saveDlg.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
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
#ifndef SAVEDLG_H
#define SAVEDLG_H
#include <ZPopup.h>
#include <ZLineEdit.h>
#include <ZGroupBox.h>
#include <ZComboBox.h>
#include <ZSoftKey.h>
#include <qstring.h>
#include <qstringlist.h>
#include "myDef.h"
class saveDlg : public ZPopup
{
Q_OBJECT
public:
saveDlg(QString title = QString::null, QString name = QString::null, int type = 0 );
saveDlg(QString title = QString::null, QStringList nameList = "", int type = 0); //0 save mgxes
// 1 just choose path
~saveDlg();
int checkedIndex; // -1->reject, 0->phone, 1->sd card 2->curPath
QString newName;
private:
#if defined(E8) || defined(EM30)
int oldMode;
#endif
int mDlgType;
bool CardExist;
bool m_curPath_flag;
ZGroupBox *editGroupBox;
ZLineEdit *lineEdit;
ZGroupBox *pathGroupBox;
ZComboBox *pathBox;
private slots:
void ok();
void cancel();
};
class compressDlg: public ZPopup
{
Q_OBJECT
public:
compressDlg(QString title = QString::null, QString name = QString::null );
~compressDlg();
int pathIndex; // -1->reject, 0->phone, 1->curPath, 2->sd card
int typeIndex; // -1/0 ->7z, 1->tar, 2->tar.gz, 3->tar.bz2
QString newName;
private:
#if defined(E8) || defined(EM30)
int oldMode;
#endif
bool CardExist;
ZGroupBox *editGroupBox;
ZLineEdit *lineEdit;
ZGroupBox *pathGroupBox;
ZComboBox *pathBox;
ZGroupBox *typeGroupBox;
ZComboBox *typeBox;
private slots:
void ok();
void cancel();
};
#endif