blob: a2772fb43b13d524fa315f4ab940b41853bf32ac (
plain)
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
|
#ifndef COREVIEW_H
#define COREVIEW_H
#include <QGraphicsView>
#include <QGraphicsItem>
#include <QList>
#include "machineconfig.h"
class CoreView : public QGraphicsView {
Q_OBJECT
public:
CoreView(QWidget *parent);
private:
};
/*
class CoreViewBlock : public QGraphicsItem {
Q_OBJECT
public:
CoreViewBlock();
};
class CoreViewLine : public QGraphicsItem {
Q_OBJECT
public:
struct point {
int x1, y1, x2, y2;
};
CoreViewLine();
CoreViewLine(struct point start, struct point end, QList<struct point> axis);
~CoreViewLine();
void set_start(struct point);
void set_end(struct point);
void set_axis(QList<struct point>);
protected:
struct point start, end;
QList<struct point> axis;
};
*/
#endif // COREVIEW_H
|