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
00018
00019
00020
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_