-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathdialogstartdebug.h
46 lines (34 loc) · 1013 Bytes
/
dialogstartdebug.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
#ifndef DIALOGSTARTDEBUG_H
#define DIALOGSTARTDEBUG_H
#include <QDialog>
namespace Ui {
class DialogStartDebug;
}
class DialogStartDebug : public QDialog
{
Q_OBJECT
public:
Q_PROPERTY(QString executableFile READ executableFile)
Q_PROPERTY(QString initScriptName READ initScript)
Q_PROPERTY(QString initScript READ initScript)
Q_PROPERTY(bool needWriteInitScript READ needWriteInitScript)
Q_PROPERTY(QString gdbExecutable READ gdbExecutable)
explicit DialogStartDebug(QWidget *parent = nullptr);
~DialogStartDebug();
QString executableFile() const;
QString initScriptName() const;
QString initScript() const;
bool needWriteInitScript() const
{
return m_needWriteInitScript;
}
QString gdbExecutable() const;
public slots:
void loadInitScript(const QString& path = {});
private:
Ui::DialogStartDebug *ui;
bool m_needWriteInitScript;
QString m_gdbExecutable;
QString m_initScriptName;
};
#endif // DIALOGSTARTDEBUG_H