Go to the documentation of this file.
9 #include <QGraphicsPixmapItem>
10 #include <QGraphicsScene>
11 #include <QGraphicsView>
20 m_background (nullptr),
35 m_title =
createTitle (tr (
"Checklist Wizard and Checklist Guide"));
38 m_text0 =
createTextItem (tr (
"For new Engauge users, a Checklist Wizard\n"
39 "is available when importing an image file.\n"
40 "This wizard produces a helpful checklist of\n"
41 "steps to follow to digitize the image file."),
43 m_text1 =
createTextItem (tr (
"Step 1 - Enable the menu option Help /\n"
44 "Checklist Guide Wizard."),
46 m_text2 =
createTextItem (tr (
"Step 2 - Import the file using File /\n"
47 "Import. The Checklist Wizard will appear\n"
48 "and ask some simple questions to\n"
49 "determine how the image can be\n"
52 m_text3 =
createTextItem (tr (
"Additional options are available in\n"
53 "the various Settings menus.\n\n"
54 "This ends the tutorial. Good luck!"),
60 context().tutorialDlg().scene());
TutorialStateContext & context()
Context class for the tutorial state machine.
Context class for tutorial state machine.
QGraphicsTextItem * createTextItem(const QString &text, const QPoint &pos)
Factory method for text items.
QGraphicsScene & scene()
Single scene the covers the entire tutorial dialog.
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.
TutorialButton * previous()
Previous button for hooking up button to slot.
#define LOG4CPP_INFO_S(logger)
log4cpp::Category * mainCat
QGraphicsTextItem * createTitle(const QString &text)
Factory method for title items.
QSize backgroundSize() const
Make geometry available for layout.
void begin()
Common begin processing.
QGraphicsPixmapItem * createPixmapItem(const QString &resource, const QPoint &pos)
Factory method for pixmap items.
void end()
Common end processing.
TutorialDlg & tutorialDlg()
Access to tutorial dialogs and its scene.
TutorialStateChecklistWizardAbstract(TutorialStateContext &context)
Single constructor.