-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathwidget.h
68 lines (50 loc) · 1.08 KB
/
widget.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
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
#ifndef WIDGET_H
#define WIDGET_H
#include <QWidget>
class QLabel;
class QLineEdit;
class QPushButton;
class QGroupBox;
class QDoubleValidator;
class QGridLayout;
class QHBoxLayout;
class QVBoxLayout;
class GraphWidget;
class PointCircle : public QWidget
{
Q_OBJECT
public:
PointCircle(QWidget *parent = 0);
~PointCircle();
private slots:
void calculate();
private:
void createPointInput();
void createButton();
GraphWidget *graphic;
QDoubleValidator *validator;
QGroupBox *pkt1;
QGridLayout *layoutPkt1;
QLabel *labelPkt1x;
QLabel *labelPkt1y;
QLineEdit *pkt1x;
QLineEdit *pkt1y;
QGroupBox *pkt2;
QGridLayout *layoutPkt2;
QLabel *labelPkt2x;
QLabel *labelPkt2y;
QLineEdit *pkt2x;
QLineEdit *pkt2y;
QGroupBox *pkt3;
QGridLayout *layoutPkt3;
QLabel *labelPkt3x;
QLabel *labelPkt3y;
QLineEdit *pkt3x;
QLineEdit *pkt3y;
QPushButton *exit;
QPushButton *calc;
QHBoxLayout *mainLayout;
QVBoxLayout *inputLayout;
QHBoxLayout *buttonLayout;
};
#endif // WIDGET_H