• Main Page
  • Namespaces
  • Classes
  • Files
  • File List
  • File Members

C:/CVUT/diplomka/Automata_editor/sources/stateNormal.h

Go to the documentation of this file.
00001 #ifndef _STATENORMAL_H_412442362623_
00002 #define _STATENORMAL_H_412442362623_
00003 
00004 #include "state.h"
00005 
00006 class StateNormal : public State
00007 {
00008 public:
00009     StateNormal(const QPoint &position, Editor *parent, const QString& label,
00010                 const QString& name, bool dBorder, bool dim);
00011 
00012     virtual QString getTypeName() const;
00013 
00014     virtual int getWidth() const {return S_W;}
00015     virtual int getHeight() const {return S_H;}
00016 
00017     //! export support functions
00018     //virtual QString getEPS() const;
00019 
00020     //! implements QGraphicsItems functions
00021     virtual QPainterPath shape() const;
00022     virtual void paint (QPainter *painter, const QStyleOptionGraphicsItem *option, QWidget *widget);    
00023 
00024 protected:
00025     void updateMyPolygon();
00026 };
00027 
00028 #endif //_STATENORMAL_H_412442362623_

Generated on Tue Jan 4 2011 03:03:24 for Autoamata editor by  doxygen 1.7.0