VR-Forces 4.1 Class Documentation
DtDeMainWindowEmbeddedOsgWindow.h
Go to the documentation of this file.
1 /******************************************************************************
2 ** Copyright (c) 2012 MAK Technologies, Inc.
3 ** All rights reserved.
4 ******************************************************************************/
5 
9 
10 #pragma once
11 #include <vrvOsgQt/vrvOsgQt.h>
12 #include <vrvOsg/DtOsgWindow.h>
13 
14 class QMainWindow;
15 class QWidget;
16 
17 namespace makVrv
18 {
19  class DtDe;
20  class DtQtDeMainWindow;
21  class DtOsgAdapterQtWidget;
22  class DtQtOsgKeyAdapter;
23  class DtWindowConfiguration;
24 
28  {
29  public:
30 
35 
38 
40  virtual int width() const;
41 
43  virtual int height() const;
44 
46  virtual bool isValid() const;
47 
49  virtual void setPosition(int x,int y);
50 
52  virtual void resize(int width, int height);
53 
55  virtual void toggleFullScreen();
56 
58  virtual bool isFullScreen();
59 
61  virtual int screenNumber() const;
62 
64  DtOsgAdapterQtWidget* adapterWidget();
65 
66  protected:
67 
70  void createAdapterAndContext(QWidget* parent);
71 
72  protected:
73 
77  };
78 
83  : public DtWindowCreator
84  {
85  public:
86 
88 
90 
92  virtual DtWindow* create(DtDe&, DtWindowConfiguration&);
93  };
94 }

Document ID: Generated on Tue Jan 29 18:21:16 EST 2013 from SVN revision 123193
Copyright © 2005-2013 VT MÄK Inc. All Rights Reserved (www.mak.com)