Engauge Digitizer  2
TutorialStateChecklistWizardLines.cpp
1 /******************************************************************************************************
2  * (C) 2014 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 #include "Logger.h"
8 #include "TutorialButton.h"
9 #include "TutorialStateChecklistWizardLines.h"
10 #include "TutorialStateContext.h"
11 
14 {
15 }
16 
18 {
19  LOG4CPP_INFO_S ((*mainCat)) << "TutorialStateChecklistWizardLines::begin ()";
20 
22  connect (previous(), SIGNAL (signalTriggered ()), this, SLOT (slotPrevious ()));
23 }
24 
26 {
27  LOG4CPP_INFO_S ((*mainCat)) << "TutorialStateChecklistWizardLines::end ()";
28 
30 }
31 
33 {
34  LOG4CPP_INFO_S ((*mainCat)) << "TutorialStateChecklistWizardLines::slotPrevious";
35 
36  context().requestDelayedStateTransition (TUTORIAL_STATE_SEGMENT_FILL);
37 }
virtual void end()
Common end processing.
virtual void begin()
Common begin processing.
TutorialStateChecklistWizardLines(TutorialStateContext &context)
Single constructor.
void slotPrevious()
Slot called to return to previous panel.
TutorialStateContext & context()
Context class for the tutorial state machine.
Abstract class that supports checklist wizard panels.
TutorialButton * previous()
Previous button for hooking up button to slot.
Context class for tutorial state machine.
void requestDelayedStateTransition(TutorialState tutorialState)
Request a transition to the specified state from the current state.