]> rtime.felk.cvut.cz Git - orte.git/blob - orte/contrib/shape/Publisher.h
dde7c3c7e50deb42b57b0429ee34d8833e72ea83
[orte.git] / orte / contrib / shape / Publisher.h
1 #if !defined PUBLISHER_H
2 #define PUBLISHER_H
3
4 #include <define.h>
5 #include "MainFrm.h"
6 #include <qwidget.h>
7 #include <orte.h>
8 #include <qslider.h>
9 #include <qlabel.h>
10 class Publisher : public QWidget
11 {
12     Q_OBJECT
13 public:
14         Publisher(QWidget *parent=0, const char *name=0);
15
16 public:
17         void Create(QString name, char shape, char color, long strength);
18         void Destroy();
19
20 public slots:
21         void Timer();
22         void changeStrenght();
23
24 public:
25         MainForm* m_mainFrm;
26         QSlider* str;
27         QLabel *Text;
28          ManagedApp    *app1;
29          int           h_pub;
30          int top,typ;
31         QString strTitle;
32
33 protected:
34         QRect m_shapeRect;
35         char m_stepx;
36         char m_stepy;
37         char m_incx;
38         char m_incy;
39
40         void MoveShape();
41
42 };
43
44 #endif