VR-Forces 4.7 Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
DtDeMainWindowEmbeddedOsgWindow.h
Go to the documentation of this file.
1 /******************************************************************************
2 ** Copyright (c) 2018 MAK Technologies, Inc.
3 ** All rights reserved.
4 ******************************************************************************/
5 
9 
10 #pragma once
11 #include <vrvOsgQt/vrvOsgQt.h>
12 #include <vrvOsg/DtOsgWindow.h>
14 
15 class QMainWindow;
16 class QWidget;
17 
18 namespace makVrv
19 {
20  class DtDe;
21  class DtQtDeMainWindow;
22  class DtOsgAdapterQtWidget;
23  class DtQtOsgKeyAdapter;
24  class DtWindowConfiguration;
25 
29  {
30  public:
31 
36 
39 
41  virtual int width() const;
42 
44  virtual int height() const;
45 
47  virtual bool isValid() const;
48 
50  virtual void setPosition(int x,int y);
51 
53  virtual void resize(int width, int height);
54 
56  virtual void toggleFullScreen();
57 
59  virtual bool isFullScreen() const;
60 
62  virtual int screenNumber() const;
63 
65  DtOsgAdapterQtWidget* adapterWidget();
66 
70  virtual void mainWindowFullScreenToggle(bool fullScreen);
71 
72  protected:
73 
76  void createAdapterAndContext(QWidget* parent);
77 
78  protected:
79 
83  QWidget* myWidgetHolder;
85  };
86 
91  : public DtWindowCreator
92  {
93  public:
94 
96 
98 
100  virtual DtWindow* create(DtDe&, DtWindowConfiguration&);
101  };
102 }

Document ID: Generated on Fri Apr 26 21:53:14 EDT 2019 from SVN revision 197883
Copyright © 2005-2019 VT MAK. All Rights Reserved (www.mak.com)