forked from Dust1404/Project_LemonPlus
-
Notifications
You must be signed in to change notification settings - Fork 0
/
addcompilerwizard.h
48 lines (39 loc) · 988 Bytes
/
addcompilerwizard.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
/**
* addcompilerwizard.h @Project Lemon+
* Update 2018 Dust1404
**/
#ifndef ADDCOMPILERWIZARD_H
#define ADDCOMPILERWIZARD_H
#include <QtCore>
#include <QtGui>
#include <QWizard>
namespace Ui {
class AddCompilerWizard;
}
class Compiler;
class AddCompilerWizard : public QWizard
{
Q_OBJECT
public:
explicit AddCompilerWizard(QWidget *parent = 0);
~AddCompilerWizard();
void accept();
const QList<Compiler*>& getCompilerList() const;
private:
Ui::AddCompilerWizard *ui;
QList<Compiler*> compilerList;
int nextId() const;
bool validateCurrentPage();
private slots:
void compilerTypeChanged();
void selectCompilerLocation();
void selectInterpreterLocation();
void selectGccPath();
void selectGppPath();
void selectFpcPath();
void selectFbcPath();
void selectJavacPath();
void selectJavaPath();
void selectPythonPath();
};
#endif // ADDCOMPILERWIZARD_H