Engauge Digitizer 2
Loading...
Searching...
No Matches
TutorialDlg.h
Go to the documentation of this file.
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 ~TutorialDlg ();
25
27 QSize backgroundSize () const;
28
30 QGraphicsScene &scene();
31
33 QGraphicsView &view();
34
35 private:
36 TutorialDlg ();
37
38 void createContext ();
39 void createSceneAndView();
40
41 TutorialStateContext *m_context;
42 QGraphicsScene *m_scene;
43 QGraphicsView *m_view;
44};
45
46#endif // TUTORIAL_DLG_H
Main window consisting of menu, graphics scene, status bar and optional toolbars as a Single Document...
Definition MainWindow.h:95
QGraphicsView & view()
Single view that displays the single scene.
TutorialDlg(MainWindow *mainWindow)
Single constructor.
QGraphicsScene & scene()
Single scene the covers the entire tutorial dialog.
QSize backgroundSize() const
Make geometry available for layout.
Context class for tutorial state machine.