Engauge Digitizer
2
Loading...
Searching...
No Matches
Guideline
GuidelineStateDeployedAbstract.h
Go to the documentation of this file.
1
/******************************************************************************************************
2
* (C) 2019 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 GUIDELINE_STATE_DEPLOYED_ABSTRACT_H
8
#define GUIDELINE_STATE_DEPLOYED_ABSTRACT_H
9
10
#include "
GuidelineFormat.h
"
11
#include "
GuidelineStateAbstractBase.h
"
12
#include <QPointF>
13
15
class
GuidelineStateDeployedAbstract
:
public
GuidelineStateAbstractBase
16
{
17
public
:
19
GuidelineStateDeployedAbstract
(
GuidelineStateContext
&
context
);
20
virtual
~GuidelineStateDeployedAbstract
();
21
22
virtual
void
end
();
23
virtual
void
handleMouseRelease
(
const
QPointF &posScene);
24
virtual
void
handleTimeout
();
25
26
protected
:
27
29
void
beginCommon
(
GuidelineFormat::HoverOption
hoverOption,
30
bool
locked);
31
32
};
33
34
#endif
// GUIDELINE_STATE_DEPLOYED_ABSTRACT_H
GuidelineFormat.h
GuidelineStateAbstractBase.h
GuidelineFormat::HoverOption
HoverOption
Public enum.
Definition
GuidelineFormat.h:22
GuidelineStateAbstractBase::context
GuidelineStateContext & context() const
Context in charge of the state classes.
Definition
GuidelineStateAbstractBase.cpp:28
GuidelineStateAbstractBase::GuidelineStateAbstractBase
GuidelineStateAbstractBase(GuidelineStateContext &context)
Single constructor.
Definition
GuidelineStateAbstractBase.cpp:19
GuidelineStateContext
Context class for state machine that belongs to the Guideline class.
Definition
GuidelineStateContext.h:130
GuidelineStateDeployedAbstract::~GuidelineStateDeployedAbstract
virtual ~GuidelineStateDeployedAbstract()
Definition
GuidelineStateDeployedAbstract.cpp:22
GuidelineStateDeployedAbstract::handleTimeout
virtual void handleTimeout()
Handle timeout from Appearing state.
Definition
GuidelineStateDeployedAbstract.cpp:72
GuidelineStateDeployedAbstract::GuidelineStateDeployedAbstract
GuidelineStateDeployedAbstract(GuidelineStateContext &context)
Single constructor.
Definition
GuidelineStateDeployedAbstract.cpp:17
GuidelineStateDeployedAbstract::handleMouseRelease
virtual void handleMouseRelease(const QPointF &posScene)
At the end of dragging, clone the Guideline that owns the state machine where these states live.
Definition
GuidelineStateDeployedAbstract.cpp:67
GuidelineStateDeployedAbstract::end
virtual void end()
Transition out of state.
Definition
GuidelineStateDeployedAbstract.cpp:62
GuidelineStateDeployedAbstract::beginCommon
void beginCommon(GuidelineFormat::HoverOption hoverOption, bool locked)
Initialization common to all states.
Definition
GuidelineStateDeployedAbstract.cpp:26
Generated on
for Engauge Digitizer by
1.14.0