#include <serializers.h>
Public Member Functions | |
TransitionSerializer () | |
TransitionSerializer (const Transition &tr) | |
TransitionSerializer (const TransitionSerializer &other) | |
Transition * | createTransition (Editor *editor, QList< State * > &states) |
stateNames is stored in order - startState, endState (or just one state) | |
Public Attributes | |
int | m_arcAngleA |
int | m_arcAngleB |
QString | m_dimEdgeLabelColor |
float | m_dimEdgeLineCoef |
QString | m_dimEdgeLineColor |
unsigned char | m_dimEdgeLineStyle |
bool | m_dimmed |
int | m_direction |
QString | m_edgeLabelColor |
float | m_edgeLabelScale |
float | m_edgeLineBorderCoef |
QString | m_edgeLineBorderColor |
QString | m_edgeLineColor |
float | m_edgeLineDblCoef |
float | m_edgeLineDblSep |
bool | m_edgeLineDblStatus |
unsigned char | m_edgeLineStyle |
float | m_edgeLineWidth |
QString | m_label |
int | m_labelPos |
QStringList | m_labels |
QList< bool > | m_labelsLeftOriented |
QList< float > | m_labelsPositions |
bool | m_leftOriented |
float | m_nCurv |
QStringList | m_stateNames |
QString | m_typeName |
bool | m_valid |
Definition at line 67 of file serializers.h.
TransitionSerializer::TransitionSerializer | ( | ) | [inline] |
Definition at line 69 of file serializers.h.
TransitionSerializer::TransitionSerializer | ( | const Transition & | tr | ) |
Definition at line 147 of file serializers.cpp.
References Transition::getEndStateName(), Transition::getNextLabels(), Transition::getStartStateName(), Transition::hasEndState(), LabelX::left(), m_labels, m_labelsLeftOriented, m_labelsPositions, m_stateNames, LabelX::posParam(), and LabelX::text().
TransitionSerializer::TransitionSerializer | ( | const TransitionSerializer & | other | ) |
Definition at line 175 of file serializers.cpp.
Transition * TransitionSerializer::createTransition | ( | Editor * | editor, | |
QList< State * > & | states | |||
) |
stateNames is stored in order - startState, endState (or just one state)
Definition at line 192 of file serializers.cpp.
References Transition::addNextLabel(), Transition::adjust(), TransitionManager::createOneStateTransition(), TransitionManager::createTwoStatesTransition(), Transition::dimEdgeLabelColor, Transition::dimEdgeLineColor, Transition::dimEdgeLineStyle, Transition::edgeLabelColor, Transition::edgeLineBorderCoef, Transition::edgeLineBorderColor, Transition::edgeLineColor, Transition::edgeLineDblCoef, Transition::edgeLineDblSep, Transition::edgeLineDblStatus, Transition::edgeLineStyle, TransitionManager::getInstance(), Transition::getLabelColor(), State::getName(), m_arcAngleA, m_arcAngleB, m_dimEdgeLabelColor, m_dimEdgeLineCoef, m_dimEdgeLineColor, m_dimEdgeLineStyle, m_dimmed, m_direction, m_edgeLabelColor, m_edgeLabelScale, m_edgeLineBorderCoef, m_edgeLineBorderColor, m_edgeLineColor, m_edgeLineDblCoef, m_edgeLineDblSep, m_edgeLineDblStatus, m_edgeLineStyle, m_edgeLineWidth, m_label, Transition::m_labelFontSize, m_labels, m_labelsLeftOriented, m_labelsPositions, m_leftOriented, m_nCurv, m_stateNames, m_typeName, m_valid, Transition::setArcAngle(), Transition::setArcAngleB(), Transition::setDimEdgeLineCoef(), Transition::setEdgeLabelScale(), Transition::setEdgeLineWidth(), and Transition::setNCurv().
Definition at line 87 of file serializers.h.
Referenced by createTransition().
Definition at line 88 of file serializers.h.
Referenced by createTransition().
Definition at line 111 of file serializers.h.
Referenced by createTransition().
Definition at line 110 of file serializers.h.
Referenced by createTransition().
Definition at line 109 of file serializers.h.
Referenced by createTransition().
unsigned char TransitionSerializer::m_dimEdgeLineStyle |
Definition at line 108 of file serializers.h.
Referenced by createTransition().
Definition at line 85 of file serializers.h.
Referenced by createTransition().
Definition at line 92 of file serializers.h.
Referenced by createTransition().
Definition at line 101 of file serializers.h.
Referenced by createTransition().
Definition at line 102 of file serializers.h.
Referenced by createTransition().
Definition at line 104 of file serializers.h.
Referenced by createTransition().
Definition at line 105 of file serializers.h.
Referenced by createTransition().
Definition at line 100 of file serializers.h.
Referenced by createTransition().
Definition at line 106 of file serializers.h.
Referenced by createTransition().
Definition at line 107 of file serializers.h.
Referenced by createTransition().
Definition at line 103 of file serializers.h.
Referenced by createTransition().
unsigned char TransitionSerializer::m_edgeLineStyle |
Definition at line 98 of file serializers.h.
Referenced by createTransition().
Definition at line 99 of file serializers.h.
Referenced by createTransition().
QString TransitionSerializer::m_label |
Definition at line 82 of file serializers.h.
Referenced by createTransition().
Definition at line 83 of file serializers.h.
QStringList TransitionSerializer::m_labels |
Definition at line 94 of file serializers.h.
Referenced by createTransition(), and TransitionSerializer().
QList<bool> TransitionSerializer::m_labelsLeftOriented |
Definition at line 96 of file serializers.h.
Referenced by createTransition(), and TransitionSerializer().
QList<float> TransitionSerializer::m_labelsPositions |
Definition at line 95 of file serializers.h.
Referenced by createTransition(), and TransitionSerializer().
Definition at line 91 of file serializers.h.
Referenced by createTransition().
Definition at line 89 of file serializers.h.
Referenced by createTransition().
QStringList TransitionSerializer::m_stateNames |
Definition at line 80 of file serializers.h.
Referenced by createTransition(), operator<<(), operator>>(), and TransitionSerializer().
QString TransitionSerializer::m_typeName |
Definition at line 81 of file serializers.h.
Referenced by createTransition().
Definition at line 78 of file serializers.h.
Referenced by createTransition(), operator<<(), and operator>>().