-
Notifications
You must be signed in to change notification settings - Fork 0
/
loop.h
47 lines (40 loc) · 908 Bytes
/
loop.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
#ifndef _LOOP_H_
#define _LOOP_H_
/*
** -- Qt Classes --
*/
class QPoint;
class QCanvas;
class QCanvasLine;
class QCanvasText;
class QCanvasEllipse;
class QCanvasPolygon;
/*
** -- Local Includes --
*/
#include <types.h>
#include <object.h>
#include <file_class.h>
class loop: public object
{
public:
loop(const int, const int, const char *, const char *, QCanvas *,
const int, const char *, QPtrList<file_class> *, const int = -1,
const QString & = "", const int = 0, const int = 0);
~loop();
QCanvasPolygon *getPolygon(void);
bool move(const int, const int);
void move(const QPoint &, const bool = true);
void setCondition(const QString &);
QString getCondition(void);
private:
QCanvas *canvas;
QString condition_str;
QCanvasLine *lines[4];
QCanvasText *text1;
QCanvasText *text2;
QCanvasEllipse *dot1;
QCanvasEllipse *dot2;
QCanvasPolygon *p;
};
#endif