Engauge Digitizer  2
 All Classes Files Functions Variables Enumerations Enumerator Friends Pages
TutorialDlg.h
1 #ifndef TUTORIAL_DLG_H
2 #define TUTORIAL_DLG_H
3 
4 #include <QDialog>
5 
6 class MainWindow;
7 class QGraphicsScene;
8 class QGraphicsView;
10 
13 class TutorialDlg : public QDialog
14 {
15  public:
17  TutorialDlg (MainWindow *mainWindow);
18 
20  QSize backgroundSize () const;
21 
23  QGraphicsScene &scene();
24 
26  QGraphicsView &view();
27 
28  private:
29  TutorialDlg ();
30 
31  void createContext ();
32  void createSceneAndView();
33 
34  TutorialStateContext *m_context;
35  QGraphicsScene *m_scene;
36  QGraphicsView *m_view;
37 };
38 
39 #endif // TUTORIAL_DLG_H
QGraphicsScene & scene()
Single scene the covers the entire tutorial dialog.
Definition: TutorialDlg.cpp:60
Tutorial using a strategy like a comic strip with decision points deciding which panels appear...
Definition: TutorialDlg.h:13
QSize backgroundSize() const
Make geometry available for layout.
Definition: TutorialDlg.cpp:28
Context class for tutorial state machine.
QGraphicsView & view()
Single view that displays the single scene.
Definition: TutorialDlg.cpp:67
Main window consisting of menu, graphics scene, status bar and optional toolbars as a Single Document...
Definition: MainWindow.h:66