VR-Forces Development_Version Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
scenarioEventInformationPages.h
Go to the documentation of this file.
1 /******************************************************************************
2 ** Copyright (c) 2013 MAK Technologies, Inc.
3 ** All rights reserved.
4 ******************************************************************************/
5 
9 
10 #pragma once
11 
14 
15 class QPushButton;
16 class QHBoxLayout;
17 class QTextBrowser;
18 class QLabel;
19 
20 namespace Phonon
21 {
22  class MediaObject;
23  class AudioOutput;
24  class VideoPlayer;
25  class VolumeSlider;
26  class SeekSlider;
27 };
28 
29 namespace makVrf
30 {
31  namespace makVrfGuiObjectInformationQt
32  {
34  {
35  Q_OBJECT
36  public:
37 
39  DtScenarioEventAudioPage(makVrv::DtDe& de, QWidget* parent, Qt::WindowFlags f = Qt::SubWindow);
40 
42  virtual ~DtScenarioEventAudioPage();
43 
45  virtual QIcon icon();
46 
48  virtual QString title();
49 
51  virtual const std::string& pageClassName() const;
52 
54  static const std::string& thePageClassName();
55 
56  virtual DtInformationDialogPageLogic* createLogic()
57  {
58  return 0;
59  }
60 
61  protected:
62  virtual void activate();
63  virtual void deactivate();
64 
65  virtual ShowStatus setupGui(makVrv::DtStateView<makVrv::DtVrlinkSimulatedBaseState>*);
66 
67  protected slots:
68  virtual void playStateChanged();
69  virtual void audioFinished();
70 
71  public:
72  Phonon::MediaObject* mySoundObject;
73  Phonon::AudioOutput* myAudioOutput;
74 
75  QHBoxLayout* myButtonLayout;
76  Phonon::VolumeSlider* myVolume;
79  };
80 
82  {
83  Q_OBJECT
84  public:
85 
87  DtScenarioEventVideoPage(makVrv::DtDe& de, QWidget* parent, Qt::WindowFlags f = Qt::SubWindow);
88 
90  virtual ~DtScenarioEventVideoPage();
91 
93  virtual QIcon icon();
94 
96  virtual QString title();
97 
99  virtual const std::string& pageClassName() const;
100 
102  static const std::string& thePageClassName();
103 
104  virtual DtInformationDialogPageLogic* createLogic()
105  {
106  return 0;
107  }
108 
109  protected:
110  virtual void activate();
111  virtual void deactivate();
112 
113  virtual ShowStatus setupGui(makVrv::DtStateView<makVrv::DtVrlinkSimulatedBaseState>*);
114 
115  protected slots:
116  virtual void playStateChanged();
117  virtual void videoFinished();
118 
119  public:
120  Phonon::VideoPlayer* myVideoPlayer;
121 
122  QHBoxLayout* myButtonLayout;
123  Phonon::VolumeSlider* myVolume;
124  Phonon::SeekSlider* mySeek;
127  };
128 
130  {
131  Q_OBJECT
132  public:
133 
135  DtScenarioEventTextPage(makVrv::DtDe& de, QWidget* parent, Qt::WindowFlags f = Qt::SubWindow);
136 
138  virtual ~DtScenarioEventTextPage();
139 
141  virtual QIcon icon();
142 
144  virtual QString title();
145 
147  virtual const std::string& pageClassName() const;
148 
150  static const std::string& thePageClassName();
151 
152  protected:
153  virtual void activate();
154  virtual void deactivate();
155 
157 
158  public:
159  QTextBrowser* myText;
160  };
161 
163  {
164  Q_OBJECT
165  public:
166 
168  DtScenarioEventPicturePage(makVrv::DtDe& de, QWidget* parent, Qt::WindowFlags f = Qt::SubWindow);
169 
171  virtual ~DtScenarioEventPicturePage();
172 
174  virtual QIcon icon();
175 
177  virtual QString title();
178 
180  virtual const std::string& pageClassName() const;
181 
183  static const std::string& thePageClassName();
184 
185  protected:
186  virtual void activate();
187  virtual void deactivate();
188 
190 
191  public:
193  };
194 
197 
200 
203 
206  }
207 }

Document ID: Generated on Mon Jul 4 01:00:18 EDT 2016 from SVN revision 166489
Copyright © 2005-2015 VT MÄK. All Rights Reserved (www.mak.com)