Allink  v0.1
DrScript.h
1 #ifndef DRSCRIPT_H
2 #define DRSCRIPT_H
3 
4 #include <qapplication.h>
5 #include <qwidget.h>
6 #include <qtimer.h>
7 #include <qpainter.h>
8 #include <qpixmap.h>
9 #include <qdatetime.h>
10 #include <qslider.h>
11 #include <qlabel.h>
12  //#include <qvbox.h>
13 #include <Q3VBox>
14 #include <stdlib.h>
15 #include <math.h>
16 #include <qerrormessage.h>
17 #include <qmessagebox.h>
18 #include <qstatusbar.h>
19  //#include <qpointarray.h>
20 #include <Q3PointArray>
21 #include <qimage.h>
22 #include <qpixmap.h>
23 #include <qevent.h>
24 #include <qprinter.h>
25  //#include <qpaintdevicemetrics.h>
26 #include <Q3PaintDeviceMetrics>
27 #include <Q3ButtonGroup>
28 #include <QGLWidget>
29 #include <QLineEdit>
30  //#include <QMenuBar>
31 #include "../include/VarData.h"
32 
33 class DrScript : public QWidget
34 {
35  Q_OBJECT
36  public slots:
37  void IncrSlide();
38  signals:
39  public:
40  DrScript();
41  ~DrScript();
42  void ExecScript(QPainter *p);
43  void ReadSlide(QPainter *p);
44  private:
45  void DrMessage(const char * s, ...);
46  int Slide;
47  FILE *File2Read;
48  protected:
49  virtual void paintEvent(QPaintEvent *);
50  //virtual void mouseMoveEvent(QMouseEvent *);
51 };
52 
53 #endif//DRSCRIPT