This repository was archived by the owner on Sep 13, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMainDialog.h
More file actions
62 lines (46 loc) · 1.25 KB
/
Copy pathMainDialog.h
File metadata and controls
62 lines (46 loc) · 1.25 KB
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
#ifndef MAINDIALOG_H
#define MAINDIALOG_H
/*
* This is a part of EnvironmentExplorer program
* which is licensed under LGPLv2.
*
* Github: https://github.com/PeterBocan/EnvironmentExplorer
* Author: https://twitter.com/PeterBocan
*/
#include <QtWidgets/QWidget>
class QTableWidgetItem;
namespace EnvironmentExplorer
{
struct UserInterface;
class VariablesManager;
class VariableDialog;
// Main window.
class MainDialog : public QWidget
{
Q_OBJECT
// User Interface
UserInterface* ui;
// Manager
VariablesManager* variableManager;
// Dialog
VariableDialog* variableDialog;
int count_systems;
public:
MainDialog(QWidget *parent = 0);
~MainDialog();
protected:
void initConnections();
void fillTable();
protected slots:
void contextMenu();
void addVariable();
void editVariable(QTableWidgetItem* item);
void removeVariable();
void saveEnvironment();
void exportEnvironment();
void resetTable();
void exportPlainText(const QString &file);
void exportHtml(const QString &file);
};
}
#endif // MAINDIALOG_H