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