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());
62 backgroundSize.height () -
buttonMargin() - m_previous->size().height()));
log4cpp::Category * mainCat
QGraphicsScene & scene()
Single scene the covers the entire tutorial dialog.
QSize backgroundSize() const
Make geometry available for layout.
TutorialStateAbstractBase(TutorialStateContext &context)
Single constructor.
QGraphicsTextItem * createTitle(const QString &text)
Factory method for title items.
QGraphicsTextItem * createTextItem(const QString &text, const QPoint &pos)
Factory method for text items.
TutorialStateContext & context()
Context class for the tutorial state machine.
QGraphicsPixmapItem * createPixmapItem(const QString &resource, const QPoint &pos)
Factory method for pixmap items.
int buttonMargin() const
Buttons are placed up against bottom side, and left or right side, separated by this margin.
TutorialStateChecklistWizardAbstract(TutorialStateContext &context)
Single constructor.
void end()
Common end processing.
TutorialButton * previous()
Previous button for hooking up button to slot.
void begin()
Common begin processing.
Context class for tutorial state machine.
TutorialDlg & tutorialDlg()
Access to tutorial dialogs and its scene.
#define LOG4CPP_INFO_S(logger)