Go to the documentation of this file.00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021 #ifndef SCTRANSISTION_H
00022 #define SCTRANSISTION_H
00023
00024 #include "transitionattributes.h"
00025 #include <QObject>
00026 #include <QList>
00027 #include <QPointF>
00028 class SCState;
00029 #include "scdatamodel_global.h"
00030 class QXmlStreamWriter;
00031 #include "scitem.h"
00032
00047 class SCDATAMODELSHARED_EXPORT SCTransition : public SCItem
00048 {
00049 Q_OBJECT
00050
00051 public:
00052 SCTransition(QObject * parent);
00053
00054 ~SCTransition();
00055
00056 virtual IAttributeContainer * getAttributes();
00057 void setAttributeValue(QString key, QString value);
00058 QString getAttributeValue(QString key);
00059 void writeSCVXML(QXmlStreamWriter & sw);
00060
00061
00062
00063 TransitionAttributes attributes;
00064
00065 signals:
00066 void selected();
00067 void unselected();
00068
00069 private slots:
00070 void handleLineSelected();
00071 void handleLineUnSelected();
00072
00073 private:
00074
00075 SCState * _targetState;
00076
00077 };
00078
00079
00080 #endif // SCTRANSISTION_H