One state manages one panel of the tutorial.
More...
#include <TutorialStateAbstractBase.h>
One state manages one panel of the tutorial.
Definition at line 29 of file TutorialStateAbstractBase.h.
◆ TutorialStateAbstractBase()
◆ ~TutorialStateAbstractBase()
| TutorialStateAbstractBase::~TutorialStateAbstractBase |
( |
| ) |
|
|
virtual |
◆ begin()
| virtual void TutorialStateAbstractBase::begin |
( |
| ) |
|
|
pure virtual |
◆ buttonMargin()
| int TutorialStateAbstractBase::buttonMargin |
( |
| ) |
const |
|
protected |
◆ context()
◆ createPixmapItem()
| QGraphicsPixmapItem * TutorialStateAbstractBase::createPixmapItem |
( |
const QString & |
resource, |
|
|
const QPoint & |
pos |
|
) |
| |
|
protected |
Factory method for pixmap items.
Definition at line 36 of file TutorialStateAbstractBase.cpp.
40 QGraphicsPixmapItem *item =
new QGraphicsPixmapItem (QPixmap (resource));
◆ createTextItem()
| QGraphicsTextItem * TutorialStateAbstractBase::createTextItem |
( |
const QString & |
text, |
|
|
const QPoint & |
pos |
|
) |
| |
|
protected |
◆ createTitle()
| QGraphicsTextItem * TutorialStateAbstractBase::createTitle |
( |
const QString & |
text | ) |
|
|
protected |
Factory method for title items.
Definition at line 56 of file TutorialStateAbstractBase.cpp.
61 QGraphicsTextItem *item =
new QGraphicsTextItem (text);
63 item->setPos (backgroundSize.width() / 2.0 - item->boundingRect().width() / 2.0,
68 QFont font = item->font();
◆ end()
| virtual void TutorialStateAbstractBase::end |
( |
| ) |
|
|
pure virtual |
The documentation for this class was generated from the following files:
TutorialDlg & tutorialDlg()
Access to tutorial dialogs and its scene.