#include <serializers.h>
Public Member Functions | |
StateSerializer () | |
StateSerializer (const State &state) | |
serialize state info | |
StateSerializer (const StateSerializer &other) | |
copy constructor | |
State * | createState (Editor *editor, const QPoint &pos) |
returns new state instance, owner is to be delete it | |
Public Attributes | |
bool | m_dimmed |
QString | m_dimStateFillColor |
QString | m_dimStateLabelColor |
float | m_dimStateLineCoef |
QString | m_dimStateLineColor |
unsigned char | m_dimStateLineStyle |
QString | m_label |
QPointF | m_pos |
needed when pasted in selection | |
QString | m_stateFillColor |
unsigned char | m_stateFillStatus |
QString | m_stateLabelColor |
float | m_stateLabelScale |
int | m_stateLabelSize |
QString | m_stateLineColor |
float | m_stateLineDoubleCoef |
float | m_stateLineDoubleSep |
unsigned char | m_stateLineStyle |
float | m_stateLineWidth |
QString | m_stateName |
holds original state name -> for copying transitions | |
QString | m_typeName |
state typeName (StateManager create state according to this) | |
bool | m_valid |
if true, contains real state |
Definition at line 17 of file serializers.h.
StateSerializer::StateSerializer | ( | ) | [inline] |
Definition at line 19 of file serializers.h.
StateSerializer::StateSerializer | ( | const State & | state | ) |
serialize state info
Definition at line 52 of file serializers.cpp.
StateSerializer::StateSerializer | ( | const StateSerializer & | other | ) |
copy constructor
Definition at line 65 of file serializers.cpp.
returns new state instance, owner is to be delete it
Definition at line 78 of file serializers.cpp.
References StateManager::createState(), State::dimStateFillColor, State::dimStateLabelColor, State::dimStateLineColor, State::dimStateLineStyle, StateManager::getInstance(), Editor::getUniqueAutoName(), Editor::increaseNewStateNumber(), m_dimmed, m_dimStateFillColor, m_dimStateLabelColor, m_dimStateLineCoef, m_dimStateLineColor, m_dimStateLineStyle, m_label, m_stateFillColor, m_stateFillStatus, m_stateLabelColor, m_stateLabelScale, m_stateLabelSize, m_stateLineColor, m_stateLineDoubleCoef, m_stateLineDoubleSep, m_stateLineStyle, m_stateLineWidth, m_typeName, m_valid, State::setDimStateLineCoef(), State::setStateLabelScale(), State::setStateLineDoubleCoef(), State::setStateLineDoubleSep(), State::setStateLineWidth(), State::stateFillColor, State::stateFillStatus, State::stateLabelColor, State::stateLabelSize, State::stateLineColor, and State::stateLineStyle.
Definition at line 35 of file serializers.h.
Referenced by createState().
Definition at line 49 of file serializers.h.
Referenced by createState().
Definition at line 48 of file serializers.h.
Referenced by createState().
Definition at line 47 of file serializers.h.
Referenced by createState().
Definition at line 46 of file serializers.h.
Referenced by createState().
unsigned char StateSerializer::m_dimStateLineStyle |
Definition at line 45 of file serializers.h.
Referenced by createState().
QString StateSerializer::m_label |
Definition at line 33 of file serializers.h.
Referenced by createState().
QPointF StateSerializer::m_pos |
needed when pasted in selection
Definition at line 31 of file serializers.h.
Definition at line 43 of file serializers.h.
Referenced by createState().
unsigned char StateSerializer::m_stateFillStatus |
Definition at line 42 of file serializers.h.
Referenced by createState().
Definition at line 40 of file serializers.h.
Referenced by createState().
Definition at line 41 of file serializers.h.
Referenced by createState().
Definition at line 54 of file serializers.h.
Referenced by createState().
Definition at line 39 of file serializers.h.
Referenced by createState().
Definition at line 51 of file serializers.h.
Referenced by createState().
Definition at line 52 of file serializers.h.
Referenced by createState().
unsigned char StateSerializer::m_stateLineStyle |
Definition at line 37 of file serializers.h.
Referenced by createState().
Definition at line 38 of file serializers.h.
Referenced by createState().
QString StateSerializer::m_stateName |
holds original state name -> for copying transitions
Definition at line 30 of file serializers.h.
QString StateSerializer::m_typeName |
state typeName (StateManager create state according to this)
Definition at line 32 of file serializers.h.
Referenced by createState().
if true, contains real state
Definition at line 28 of file serializers.h.
Referenced by createState(), operator<<(), and operator>>().