-
Notifications
You must be signed in to change notification settings - Fork 0
/
mainwindow.h
90 lines (61 loc) · 1.79 KB
/
mainwindow.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
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
#ifndef MAINWINDOW_H
#define MAINWINDOW_H
#include "program.h"
#include<QMainWindow>
#include<vector>
#include<QLabel>
#include<QActionGroup>
#include<set>
#include"program.h"
class QTextBrowser;
class CustomProcess;
using namespace std;
namespace Ui {
class MainWindow;
}
class MainWindow : public QMainWindow
{
Q_OBJECT
public:
explicit MainWindow(QWidget *parent = 0);
~MainWindow();
protected:
void closeEvent(QCloseEvent *event);
Program *getProgram(ProcessKey key);
Program *removeProcess(ProcessKey key);
bool execute(ProcessKey key);
void findTextBrowser(ProcessKey processKey, QTextBrowser *&textBrowser);
void resizeEvent(QResizeEvent *event);
void installing(bool isInstalling, int exitCode = 0);
void showEvent(QShowEvent *event);
protected slots:
void PrintOutPut();
void PrintError();
void processFinished(int exitCode);
private slots:
void on_actionBarterDEX_triggered();
void on_actionKomodo_triggered();
void on_actionAgama_triggered();
void on_actionJumblr_triggered();
void on_actionCoinIssuer_triggered();
void on_startButton_clicked();
void on_getInfoButton_clicked();
void on_getPubKeyButton_clicked();
void on_getPrivKeyButton_clicked();
void on_insertPrivKeyButton_clicked();
void on_KillButton_clicked();
void on_actionInstall_triggered();
void on_actionUninstall_triggered();
void on_actionCleanKomodo_triggered();
void on_actionGetInfo_triggered();
void on_actionKomodo_CLI_triggered();
void on_actionMarketMaker_triggered();
private:
Ui::MainWindow *ui;
std::set<QWidget*> Dialogs;
std::vector<Program*> Programs;
bool KomodoStarted;
void initializePrograms();
void releasePrograms();
};
#endif // MAINWINDOW_H