-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathshapeannotation.h
More file actions
43 lines (30 loc) · 933 Bytes
/
shapeannotation.h
File metadata and controls
43 lines (30 loc) · 933 Bytes
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
#ifndef SHAPEANNOTATION_H
#define SHAPEANNOTATION_H
#include <QDialog>
#include "globals.h"
namespace Ui {
class ShapeAnnotation;
}
class ShapeAnnotation : public QDialog
{
Q_OBJECT
public:
explicit ShapeAnnotation(QWidget *parent = 0);
void setValues(QString ID, QString name, QString desc, shapeAnnotationType::Type typ);
~ShapeAnnotation();
void GetValues(QString& ID, QString& name, QString& desc, shapeAnnotationType::Type& typ);
private:
QString ID;
QString name;
QString desc;
shapeAnnotationType::Type typ;
private slots:
void on_editRegionName_textChanged(const QString &arg1);
void on_editRegionID_textChanged(const QString &arg1);
void on_editRegionDescription_textChanged(const QString &arg1);
void on_cboRegionType_currentIndexChanged(int index);
void on_buttonBox_accepted();
private:
Ui::ShapeAnnotation *ui;
};
#endif // SHAPEANNOTATION_H