9 #include <QGraphicsPixmapItem> 10 #include <QGraphicsScene> 11 #include <QGraphicsView> 12 #include "TutorialButton.h" 13 #include "TutorialDlg.h" 14 #include "TutorialStateChecklistWizardAbstract.h" 15 #include "TutorialStateContext.h" 24 LOG4CPP_INFO_S ((*mainCat)) <<
"TutorialStateChecklistWizardAbstract::begin ()";
26 m_title =
createTitle (tr (
"Checklist Wizard and Checklist Guide"));
29 m_text0 =
createTextItem (tr (
"For new Engauge users, a Checklist Wizard\n" 30 "is available when importing an image file.\n" 31 "This wizard produces a helpful checklist of\n" 32 "steps to follow to digitize the image file."),
34 m_text1 =
createTextItem (tr (
"Step 1 - Enable the menu option Help /\n" 35 "Checklist Guide Wizard."),
37 m_text2 =
createTextItem (tr (
"Step 2 - Import the file using File /\n" 38 "Import. The Checklist Wizard will appear\n" 39 "and ask some simple questions to\n" 40 "determine how the image can be\n" 43 m_text3 =
createTextItem (tr (
"Additional options are available in\n" 44 "the various Settings menus.\n\n" 45 "This ends the tutorial. Good luck!"),
51 context().tutorialDlg().scene());
58 LOG4CPP_INFO_S ((*mainCat)) <<
"TutorialStateChecklistWizardAbstract::end ()";
One state manages one panel of the tutorial.
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.
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.
QSize backgroundSize() const
Make geometry available for layout.
Context class for tutorial state machine.
int buttonMargin() const
Buttons are placed up against bottom side, and left or right side, separated by this margin...
TutorialDlg & tutorialDlg()
Access to tutorial dialogs and its scene.