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

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

Go to the documentation of this file.
00001 #ifndef _TRANSITIONARC_H_2538769212346_
00002 #define _TRANSITIONARC_H_2538769212346_
00003 
00004 #include "twoStatesTransition.h"
00005 
00006 class TransitionArc : public TwoStatesTransition
00007 {
00008 public: 
00009   TransitionArc(Editor *parent, State *ss, State *es, const QString &label,
00010                 bool leftOriented, bool dimmed, bool radius);
00011   virtual ~TransitionArc();
00012   
00013   virtual void adjust();
00014   virtual void setLabelPosition();
00015   
00016   virtual QString getTypeName() const;
00017 
00018   virtual QString getVCCommand() const;
00019   //virtual QString getEPS() const;
00020 protected:
00021   //void paint(QPainter * painter, const QStyleOptionGraphicsItem * option, QWidget * widget = 0);
00022   
00023   bool radius; // angle 15 or 30 degrees
00024 
00025   QPointF a_point;
00026   QPointF b_point;
00027 };
00028 
00029 #endif //_TRANSITIONARC_H_2538769212346_

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