-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathgtps_pythonpreferencepage.h
More file actions
65 lines (52 loc) · 1.19 KB
/
gtps_pythonpreferencepage.h
File metadata and controls
65 lines (52 loc) · 1.19 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
63
64
65
/* GTlab - Gas Turbine laboratory
*
* SPDX-License-Identifier: Apache-2.0
* SPDX-FileCopyrightText: 2024 German Aerospace Center (DLR)
*
* Author: Martin Siggel (AT-TWK)
*/
#ifndef GTPS_PYTHONPREFERENCEPAGE_H
#define GTPS_PYTHONPREFERENCEPAGE_H
#include "gt_preferencespage.h"
#include <memory.h>
namespace Ui
{
class GtPythonPreferencePage;
} // namespace Ui
/**
* @brief The GtPythonPreferencePage class
*/
class GtPythonPreferencePage : public GtPreferencesPage
{
Q_OBJECT
public:
/**
* @brief GtPythonPreferencePage
*/
explicit GtPythonPreferencePage();
/**
* @brief Destructor.
*/
~GtPythonPreferencePage() override;
/**
* @brief saveSettings
*/
void saveSettings(GtSettings &) const override;
/**
* @brief loadSettings
*/
void loadSettings(const GtSettings &) override;
private slots:
/**
* @brief onBtnSelectPyExePressed
*/
void onBtnSelectPyExePressed();
/**
* @brief onBtnTestPyEnvPressed
*/
void onBtnTestPyEnvPressed();
void setStatusTextColor(const QColor& color);
private:
std::unique_ptr<Ui::GtPythonPreferencePage> ui;
};
#endif // GTPS_PYTHONPREFERENCEPAGE_H