-
Notifications
You must be signed in to change notification settings - Fork 23
/
Copy pathSketcher_PropertyCircle.hxx
76 lines (58 loc) · 1.45 KB
/
Sketcher_PropertyCircle.hxx
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
66
67
68
69
70
71
72
73
74
75
76
/**
* \file Sketcher_PropertyCircle.hxx
* \brief Header file for the class Sketcher_PropertyCircle
* \author <a href="mailto:[email protected]?subject=Sketcher_PropertyCircle.hxx">Sergei Maslov</a>
*/
#ifndef Sketcher_PropertyCircle_H
#define Sketcher_PropertyCircle_H
#include "Sketcher_Property.hxx"
#include <Geom2d_Circle.hxx>
#include <Geom_Circle.hxx>
#include <AIS_Circle.hxx>
//class editing circle
class Sketcher_PropertyCircle : public Sketcher_Property
{
Q_OBJECT
public:
//methods
/**
* \fn Sketcher_PropertyCircle( QWidget* parent, const char* name, WFlags fl )
* \brief Constructs a Sketcher_PropertyCircle which is a child of 'parent', with the name 'name' and widget flags set to 'f'
* \param parent QWidget*
* \param name const char*
* \param fl WFlags
*/
Sketcher_PropertyCircle( QWidget* parent = 0, const char* name = 0);
/**
* \fn ~Sketcher_PropertyCircle()
* \brief destructor
*/
~Sketcher_PropertyCircle();
//members
QLabel* TextLabelRadius;
QLineEdit* LineEditRadius;
private:
//method
/**
* \fn SetGeometry()
* \brief show object geometry in dialog window
* \return void
*/
void SetGeometry();
/**
* \fn CheckGeometry()
* \brief check geometry for change
* \return bool
*/
bool CheckGeometry();
/**
* \fn GetGeometry()
* \brief create new object
* \return bool
*/
bool GetGeometry();
//members
Handle(Geom2d_Circle) curGeom2d_Circle;
double myRadius,tempRadius;
};
#endif // Sketcher_PropertyCircle_H