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 "
GuidelineStateAbstractBase.h
"
11
#include <QPointF>
12
14
class
GuidelineStateDeployedAbstract
:
public
GuidelineStateAbstractBase
15
{
16
public
:
18
GuidelineStateDeployedAbstract
(
GuidelineStateContext
&
context
);
19
virtual
~GuidelineStateDeployedAbstract
();
20
21
virtual
void
end
();
22
virtual
void
handleMouseRelease
(
const
QPointF &posScene);
23
virtual
void
handleTimeout
();
24
25
protected
:
26
28
void
beginCommon
(
bool
hovering,
29
bool
locked);
30
31
};
32
33
#endif
// GUIDELINE_STATE_DEPLOYED_ABSTRACT_H
GuidelineStateAbstractBase.h
GuidelineStateAbstractBase::context
GuidelineStateContext & context() const
Context in charge of the state classes.
Definition
GuidelineStateAbstractBase.cpp:27
GuidelineStateAbstractBase::GuidelineStateAbstractBase
GuidelineStateAbstractBase(GuidelineStateContext &context)
Single constructor.
Definition
GuidelineStateAbstractBase.cpp:18
GuidelineStateContext
Context class for state machine that belongs to the Guideline class.
Definition
GuidelineStateContext.h:132
GuidelineStateDeployedAbstract::~GuidelineStateDeployedAbstract
virtual ~GuidelineStateDeployedAbstract()
Definition
GuidelineStateDeployedAbstract.cpp:22
GuidelineStateDeployedAbstract::handleTimeout
virtual void handleTimeout()
Handle timeout from Appearing state.
Definition
GuidelineStateDeployedAbstract.cpp:70
GuidelineStateDeployedAbstract::GuidelineStateDeployedAbstract
GuidelineStateDeployedAbstract(GuidelineStateContext &context)
Single constructor.
Definition
GuidelineStateDeployedAbstract.cpp:17
GuidelineStateDeployedAbstract::beginCommon
void beginCommon(bool hovering, bool locked)
Initialization common to all states.
Definition
GuidelineStateDeployedAbstract.cpp:26
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:65
GuidelineStateDeployedAbstract::end
virtual void end()
Transition out of state.
Definition
GuidelineStateDeployedAbstract.cpp:60
Generated on
for Engauge Digitizer by
1.14.0