-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathtargetmaker.h
49 lines (37 loc) · 1.02 KB
/
targetmaker.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
#ifndef TARGETMAKER_H
#define TARGETMAKER_H
#include <QDialog>
namespace Ui {
class TargetMaker;
}
class TargetMaker : public QDialog
{
Q_OBJECT
public:
explicit TargetMaker(QWidget *parent = 0);
~TargetMaker();
// Getters
QString getName() const;
QString getDesc() const;
QString getCoord() const;
QString getImageFilePath() const;
bool getAccepted() const;
// Setters
void setDefaultNameInput(QString defaultNameInput);
void setDefaultCoordInput(QString defaultCoordInput);
void setDefaultDescInput(QString defaultDescInput);
void setDefaultFileInput(QString defaultFileInput);
void setDefaultInputs();
private slots:
void on_buttonBox_accepted();
void on_buttonBox_rejected();
void on_toolButton_clicked();
private:
Ui::TargetMaker *ui;
bool accepted; // = false;
QString defaultNameInput; // = "";
QString defaultCoordInput; // = "";
QString defaultDescInput; // = "";
QString defaultFileInput; // = "";
};
#endif // TARGETMAKER_H