-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathDialogFastboot.h
48 lines (38 loc) · 1.16 KB
/
DialogFastboot.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
#ifndef DIALOGFASTBOOT_H
#define DIALOGFASTBOOT_H
#include <QDialog>
#include <QListWidgetItem>
#include <QProcess>
namespace Ui {
class DialogFastboot;
}
class DialogFastboot : public QDialog {
Q_OBJECT
public:
explicit DialogFastboot(QWidget* parent = 0);
~DialogFastboot();
protected:
//from QDialog
void closeEvent(QCloseEvent* event);
private slots:
void on_pushBrowseFastboot_clicked();
void on_pushBrowseImage_clicked();
void on_lineFastbootFile_textChanged(const QString& text);
void on_lineImageFile_textChanged(const QString& text);
void on_pushFlash_clicked();
void on_pushClose_clicked();
void on_listDevices_itemChanged(QListWidgetItem* item);
void on_processStdOutput();
void on_processStdError();
void on_processFinished(int exitCode, QProcess::ExitStatus exitStatus);
void on_boxPartition_currentIndexChanged(const QString &arg1);
private:
void analyzeSelections();
private:
Ui::DialogFastboot* mUi;
bool mGotFastbootFile;
bool mGotImageFile;
bool mGotDeviceSelected;
QProcess* mProcess;
};
#endif //DIALOGFASTBOOT_H