Engauge Digitizer 2
Loading...
Searching...
No Matches
TutorialDlg.h
1/******************************************************************************************************
2 * (C) 2014 markummitchell@github.com. This file is part of Engauge Digitizer, which is released *
3 * under GNU General Public License version 2 (GPLv2) or (at your option) any later version. See file *
4 * LICENSE or go to gnu.org/licenses for details. Distribution requires prior written permission. *
5 ******************************************************************************************************/
6
7#ifndef TUTORIAL_DLG_H
8#define TUTORIAL_DLG_H
9
10#include <QDialog>
11
12class MainWindow;
13class QGraphicsScene;
14class QGraphicsView;
16
19class TutorialDlg : public QDialog
20{
21 public:
23 TutorialDlg (MainWindow *mainWindow);
24
26 QSize backgroundSize () const;
27
29 QGraphicsScene &scene();
30
32 QGraphicsView &view();
33
34 private:
35 TutorialDlg ();
36
37 void createContext ();
38 void createSceneAndView();
39
40 TutorialStateContext *m_context;
41 QGraphicsScene *m_scene;
42 QGraphicsView *m_view;
43};
44
45#endif // TUTORIAL_DLG_H
Main window consisting of menu, graphics scene, status bar and optional toolbars as a Single Document...
Definition MainWindow.h:78
Tutorial using a strategy like a comic strip with decision points deciding which panels appear.
Definition TutorialDlg.h:20
QGraphicsView & view()
Single view that displays the single scene.
QGraphicsScene & scene()
Single scene the covers the entire tutorial dialog.
QSize backgroundSize() const
Make geometry available for layout.
Context class for tutorial state machine.