Engauge Digitizer
2
Loading...
Searching...
No Matches
Centipede
CentipedeStatePrebuild.h
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
7
#ifndef CENTIPEDE_STATE_PREBUILD_H
8
#define CENTIPEDE_STATE_PREBUILD_H
9
10
#include "
CentipedeStateAbstractBase.h
"
11
13
class
CentipedeStatePrebuild
:
public
CentipedeStateAbstractBase
14
{
15
public
:
17
CentipedeStatePrebuild
(
CentipedeStateContext
&
context
);
18
virtual
~CentipedeStatePrebuild
();
19
20
virtual
void
begin
();
21
virtual
void
end
();
22
virtual
void
handleKeyPress
(Qt::Key key,
23
bool
atLeastOneSelectedItem);
24
virtual
void
handleMouseMove
(QPointF posScreen);
25
virtual
void
handleMousePress
(QPointF posScreen);
26
virtual
void
handleMouseRelease
(QPointF posScreen);
27
28
private
:
29
CentipedeStatePrebuild
();
30
31
};
32
33
#endif
// CENTIPEDE_STATE_PREBUILD_H
CentipedeStateAbstractBase.h
CentipedeStateAbstractBase::CentipedeStateAbstractBase
CentipedeStateAbstractBase(CentipedeStateContext &context)
Single constructor.
Definition
CentipedeStateAbstractBase.cpp:10
CentipedeStateAbstractBase::context
CentipedeStateContext & context()
Reference to the CentipedeStateContext that contains all the CentipedeStateAbstractBase subclasses.
Definition
CentipedeStateAbstractBase.cpp:19
CentipedeStateContext
State context class for tracking the steps involved in creating centipedes in preparation for creatin...
Definition
CentipedeStateContext.h:26
CentipedeStatePrebuild::handleMousePress
virtual void handleMousePress(QPointF posScreen)
Handle mouse press event.
Definition
CentipedeStatePrebuild.cpp:45
CentipedeStatePrebuild::handleMouseRelease
virtual void handleMouseRelease(QPointF posScreen)
Handle mouse release event.
Definition
CentipedeStatePrebuild.cpp:54
CentipedeStatePrebuild::~CentipedeStatePrebuild
virtual ~CentipedeStatePrebuild()
Definition
CentipedeStatePrebuild.cpp:20
CentipedeStatePrebuild::handleMouseMove
virtual void handleMouseMove(QPointF posScreen)
Handle mouse move event.
Definition
CentipedeStatePrebuild.cpp:40
CentipedeStatePrebuild::CentipedeStatePrebuild
CentipedeStatePrebuild(CentipedeStateContext &context)
Single constructor.
Definition
CentipedeStatePrebuild.cpp:15
CentipedeStatePrebuild::handleKeyPress
virtual void handleKeyPress(Qt::Key key, bool atLeastOneSelectedItem)
Handle key press event.
Definition
CentipedeStatePrebuild.cpp:34
CentipedeStatePrebuild::end
virtual void end()
Method that is called at the exact moment a state is exited. Typically called just before start of th...
Definition
CentipedeStatePrebuild.cpp:29
CentipedeStatePrebuild::begin
virtual void begin()
Method that is called at the exact moment a state is entered. Typically called just after end for the...
Definition
CentipedeStatePrebuild.cpp:24
Generated on
for Engauge Digitizer by
1.14.0