-
Notifications
You must be signed in to change notification settings - Fork 3
/
widget.h
42 lines (33 loc) · 745 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
#ifndef WIDGET_H
#define WIDGET_H
#include <QWidget>
namespace Ui {
class Widget;
}
class Widget : public QWidget
{
Q_OBJECT
public:
explicit Widget(QWidget *parent = 0);
~Widget();
int step = 0; //number of steps
QString filePath;
QString dirPath;
QString imageName;
void unpack();
void pack();
QString ctrl_Package;
QString ctrl_Version;
QString ctrl_Architecture;
QString ctrl_Description;
void dragEnterEvent(QDragEnterEvent *event);
void dropEvent(QDropEvent *event);
QString file_icon;
private slots:
void on_pushButton_clicked();
void on_pushButton_2_clicked();
void on_checkBox_clicked(bool checked);
private:
Ui::Widget *ui;
};
#endif // WIDGET_H