9#include <QGraphicsPixmapItem>
10#include <QGraphicsScene>
11#include <QGraphicsView>
42 "are drawn, in terms of lines and points."),
45 "with lines (with or without\n"
46 "points) then click on\n"
50 "without lines and only\n"
51 "with points, then click on\n"
58 context().tutorialDlg().scene());
64 context().tutorialDlg().scene());
66 qFloor (backgroundSize.height () / 3.0 - m_nextLines->
size ().height () / 2.0)));
70 context().tutorialDlg().scene());
72 qFloor (backgroundSize.height () * 2.0 / 3.0 - m_nextPoints->
size ().height () / 2.0)));
const int INNER_RADIUS_MIN
log4cpp::Category * mainCat
@ TUTORIAL_STATE_POINT_MATCH
@ TUTORIAL_STATE_CURVE_SELECTION
@ TUTORIAL_STATE_SEGMENT_FILL
QGraphicsScene & scene()
Single scene the covers the entire tutorial dialog.
QSize backgroundSize() const
Make geometry available for layout.
One state manages one panel of the tutorial.
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.
Context class for tutorial state machine.
void requestDelayedStateTransition(TutorialState tutorialState)
Request a transition to the specified state from the current state.
TutorialDlg & tutorialDlg()
Access to tutorial dialogs and its scene.
TutorialStateCurveType(TutorialStateContext &context)
Single constructor.
void slotNextCurves()
Slot called when next button for curves is triggered.
virtual void begin()
Transition into this state.
virtual void end()
Transition out of this state.
void slotPrevious()
Slot called to return to previous panel.
void slotNextLines()
Slot called when next button for lines is triggered.
#define LOG4CPP_INFO_S(logger)