/*
____________________________________________________
|                                                  |
|          author => Martin Robinson               |
|                                                  |
|          you are authorised to use               |
|          this code in the way you                |
|          like, commercial, personal,             |
|          opensource or anything else             |
|          you could imagine. But you              |
|          are not authorised to own               |
|          copyright on this work                  |
|__________________________________________________|
____________________________________________________
|                                                  |
|           graphical interface                    |
|           language C++                           |
|           Library Qt4.4                          |
|           turtle graphic like                    |
|__________________________________________________|
*/
#ifndef Gui_Deja
#define Gui_Deja

  #include <QtGui>
  #include <QtCore>
  
  class gui : public QWidget
  {
    Q_OBJECT  

    public:
      gui(QWidget *parent = 0);
      QString Lsystem;
      QQueue <QLineF> queueline;
      qreal rotate;
      qreal magnitude;

    private:
      QSlider *slider; 
      QLabel *label;
      QLineEdit * Ledit;
      QCheckBox *cb;
      QPushButton *apply;
      
    protected:
      void paintEvent(QPaintEvent *event);
      //void moveEvent(QMoveEvent *event);
      void mouseMoveEvent ( QMouseEvent * event );
      void mousePressEvent ( QMouseEvent * event );
      void timerEvent(QTimerEvent *event);
      void applying();
  }; 
 
  
#endif