10 #include <QGraphicsScene> 19 m_isGnuplot (isGnuplot)
30 qDeleteAll (m_states);
49 const QString &selectedGraphCurve)
58 m_states[m_currentState]->end(cmdMediator,
62 m_currentState = transformationState;
65 m_states[m_currentState]->begin(
isGnuplot,
79 m_states[m_currentState]->updateAxesChecker (cmdMediator,
virtual ~TransformationStateContext()
#define LOG4CPP_INFO_S(logger)
bool isGnuplot() const
Flag for gnuplot debug files.
void resetOnLoad()
Reset, when loading a document after the first, to same state that first document was at when loaded...
log4cpp::Category * mainCat
TransformationStateContext(QGraphicsScene &scene, bool isGnuplot)
Single constructor.
void updateAxesChecker(CmdMediator &cmdMediator, const Transformation &transformation)
Apply the new DocumentModelAxesChecker.
void triggerStateTransition(bool isGnuplot, TransformationState transformationState, CmdMediator &cmdMediator, const Transformation &transformation, const QString &selectedGraphCurve)
Trigger a state transition to be performed immediately.
#define ENGAUGE_ASSERT(cond)
Drop in replacement for Q_ASSERT if defined(QT_NO_DEBUG) && !defined(QT_FORCE_ASSERTS) define ENGAUGE...