3 #include <QGraphicsPixmapItem>
4 #include <QGraphicsScene>
5 #include <QGraphicsView>
6 #include "TutorialButton.h"
7 #include "TutorialDlg.h"
8 #include "TutorialStateChecklistWizardAbstract.h"
9 #include "TutorialStateContext.h"
18 LOG4CPP_INFO_S ((*mainCat)) <<
"TutorialStateChecklistWizardAbstract::begin ()";
20 m_title =
createTitle (
"Checklist Wizard and Checklist Guide");
23 m_text0 =
createTextItem (
"For new Engauge users, a Checklist Wizard\n"
24 "is available when importing an image file.\n"
25 "This wizard produces a helpful checklist of\n"
26 "steps to follow to digitize the image file.",
28 m_text1 =
createTextItem (
"Step 1 - Enable the menu option Help /\n"
29 "Checklist Guide Wizard.",
31 m_text2 =
createTextItem (
"Step 2 - Import the file using File /\n"
32 "Import. The Checklist Wizard will appear\n"
33 "and ask some simple questions to\n"
34 "determine how the image can be\n"
38 "the various Settings menus.\n\n"
39 "This ends the tutorial. Good luck!",
45 context().tutorialDlg().scene());
52 LOG4CPP_INFO_S ((*mainCat)) <<
"TutorialStateChecklistWizardAbstract::end ()";
One state manages one panel of the tutorial.
int buttonMargin() const
Buttons are placed up against bottom side, and left or right side, separated by this margin...
QGraphicsScene & scene()
Single scene the covers the entire tutorial dialog.
void begin()
Common begin processing.
TutorialStateContext & context()
Context class for the tutorial state machine.
QGraphicsTextItem * createTextItem(const QString &text, const QPoint &pos)
Factory method for text items.
QSize backgroundSize() const
Make geometry available for layout.
QGraphicsTextItem * createTitle(const QString &text)
Factory method for title items.
void end()
Common end processing.
QGraphicsPixmapItem * createPixmapItem(const QString &resource, const QPoint &pos)
Factory method for pixmap items.
TutorialButton * previous()
Previous button for hooking up button to slot.
TutorialStateChecklistWizardAbstract(TutorialStateContext &context)
Single constructor.
Context class for tutorial state machine.
TutorialDlg & tutorialDlg()
Access to tutorial dialogs and its scene.