-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathwidget.h
executable file
·46 lines (36 loc) · 823 Bytes
/
widget.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
#ifndef WIDGET_H
#define WIDGET_H
#include <QWidget>
class QTranslator;
class QAction;
namespace Ui {
class Widget;
}
class Widget : public QWidget
{
Q_OBJECT
public:
explicit Widget(QWidget *parent = 0);
~Widget();
protected:
void dropEvent(QDropEvent *event);
void dragEnterEvent(QDragEnterEvent *event);
private slots:
void on_cfg_en_button__clicked();
void on_cfg_de_button__clicked();
void on_cfg_tool_button__clicked();
void update_ui(int i);
void on_cfg_type_combo_box__activated(int index);
private:
Ui::Widget *ui;
QTranslator *language;
QTranslator *g_language;
QAction *chinese;
QAction *english;
QAction *about;
enum TYPE {
Default = 0,
CTCE
};
};
#endif // WIDGET_H