Engauge Digitizer 2
Loading...
Searching...
No Matches
CentipedeStatePrebuild.cpp
Go to the documentation of this file.
1/******************************************************************************************************
2 * (C) 2020 markummitchell@github.com. This file is part of Engauge Digitizer, which is released *
3 * under GNU General Public License version 2 (GPLv2) or (at your option) any later version. See file *
4 * LICENSE or go to gnu.org/licenses for details. Distribution requires prior written permission. *
5 ******************************************************************************************************/
6
11#include "GraphicsScene.h"
12#include "Logger.h"
13#include "Transformation.h"
14
19
23
25{
26 LOG4CPP_DEBUG_S ((*mainCat)) << "CentipedeStatePrebuild::begin";
27}
28
30{
31 LOG4CPP_DEBUG_S ((*mainCat)) << "CentipedeStatePrebuild::end";
32}
33
35 bool /* atLeastOneSelectedItem */)
36{
37 // Noop
38}
39
40void CentipedeStatePrebuild::handleMouseMove (QPointF /* posScreen */)
41{
42 // Noop
43}
44
53
54void CentipedeStatePrebuild::handleMouseRelease (QPointF /* posScreen */)
55{
56 // Noop
57}
@ CENTIPEDE_STATE_BUILD_CARTESIAN
@ CENTIPEDE_STATE_BUILD_POLAR
@ COORDS_TYPE_CARTESIAN
Definition CoordsType.h:13
log4cpp::Category * mainCat
Definition Logger.cpp:14
CentipedeStateAbstractBase(CentipedeStateContext &context)
Single constructor.
CentipedeStateContext & context()
Reference to the CentipedeStateContext that contains all the CentipedeStateAbstractBase subclasses.
State context class for tracking the steps involved in creating centipedes in preparation for creatin...
void requestDelayedStateTransition(CentipedeState centipedeState)
Initiate state transition to be performed later, when CentipedeState is off the stack.
virtual void handleMousePress(QPointF posScreen)
Handle mouse press event.
virtual void handleMouseRelease(QPointF posScreen)
Handle mouse release event.
virtual void handleMouseMove(QPointF posScreen)
Handle mouse move event.
CentipedeStatePrebuild(CentipedeStateContext &context)
Single constructor.
virtual void handleKeyPress(Qt::Key key, bool atLeastOneSelectedItem)
Handle key press event.
virtual void end()
Method that is called at the exact moment a state is exited. Typically called just before start of th...
virtual void begin()
Method that is called at the exact moment a state is entered. Typically called just after end for the...
#define LOG4CPP_DEBUG_S(logger)
Definition convenience.h:20