00001
00002
00003
00004
00005
00006
00007 #ifndef TUTORIAL_DLG_H
00008 #define TUTORIAL_DLG_H
00009
00010 #include <QDialog>
00011
00012 class MainWindow;
00013 class QGraphicsScene;
00014 class QGraphicsView;
00015 class TutorialStateContext;
00016
00019 class TutorialDlg : public QDialog
00020 {
00021 public:
00023 TutorialDlg (MainWindow *mainWindow);
00024
00026 QSize backgroundSize () const;
00027
00029 QGraphicsScene &scene();
00030
00032 QGraphicsView &view();
00033
00034 private:
00035 TutorialDlg ();
00036
00037 void createContext ();
00038 void createSceneAndView();
00039
00040 TutorialStateContext *m_context;
00041 QGraphicsScene *m_scene;
00042 QGraphicsView *m_view;
00043 };
00044
00045 #endif // TUTORIAL_DLG_H