-
Notifications
You must be signed in to change notification settings - Fork 23
/
Copy pathSketcher_PropertyArc.hxx
82 lines (64 loc) · 1.61 KB
/
Sketcher_PropertyArc.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
77
78
79
80
81
82
/**
* \file Sketcher_PropertyArc.hxx
* \brief Header file for the class Sketcher_PropertyArc
* \author <a href="mailto:[email protected]?subject=Sketcher_PropertyArc.hxx">Sergei Maslov</a>
*/
#ifndef Sketcher_PropertyArc_H
#define Sketcher_PropertyArc_H
#include "Sketcher_Property.hxx"
#include "Geom2d_Arc.hxx"
#include <gce_MakeCirc2d.hxx>
#include <Geom_Circle.hxx>
#include <AIS_Circle.hxx>
//class editing arc
class Sketcher_PropertyArc : public Sketcher_Property
{
Q_OBJECT
public:
//methods
/**
* \fn Sketcher_PropertyArc( QWidget* parent, const char* name, WFlags fl )
* \brief Constructs a Sketcher_PropertyArc 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_PropertyArc( QWidget* parent = 0, const char* name = 0);
/**
* \fn ~Sketcher_PropertyArc()
* \brief destructor
*/
~Sketcher_PropertyArc();
//members
QLabel* TextLabelRadius;
QLineEdit* LineEditRadius;
QLabel* TextLabelStartArc;
QLineEdit* LineEditStartArc;
QLabel* TextLabelEndArc;
QLineEdit* LineEditEndArc;
private:
//methods
/**
* \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_Arc) curGeom2d_Arc;
double myRadius,tempRadius;
double myFirstParameter,myLastParameter,tempFirstParameter,tempLastParameter;
};
#endif // Sketcher_PropertyArc_H