VR-Forces Development_Version Class Documentation
Home
Modules
Namespaces
Classes
Files
Examples
Behavior Models
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Groups
Pages
include
vrvOsgQt
DtDeMainWindowEmbeddedOsgWindow.h
Go to the documentation of this file.
1
/******************************************************************************
2
** Copyright (c) 2015 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
27
class
DT_DLL_VRVOSGQT
DtDeMainWindowEmbeddedOsgWindow
:
public
DtOsgWindow
28
{
29
public
:
30
34
DtDeMainWindowEmbeddedOsgWindow
(
DtDe
& de,
DtWindowConfiguration
& wc);
35
37
virtual
~
DtDeMainWindowEmbeddedOsgWindow
();
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
74
DtQtDeMainWindow
*
myMainWindow
;
75
DtOsgAdapterQtWidget
*
myAdapter
;
76
DtQtOsgKeyAdapter
*
myKeyAdapter
;
77
QWidget
*
myWidgetHolder
;
78
};
79
83
class
DT_DLL_VRVOSGQT
DtDeMainWindowEmbeddedOsgWindowCreator
84
:
public
DtWindowCreator
85
{
86
public
:
87
88
DtDeMainWindowEmbeddedOsgWindowCreator
();
89
90
virtual
~
DtDeMainWindowEmbeddedOsgWindowCreator
();
91
93
virtual
DtWindow
* create(
DtDe
&,
DtWindowConfiguration
&);
94
};
95
}
Document ID: Generated on Tue Mar 8 22:13:38 EST 2016 from SVN revision 162938
Copyright © 2005-2015 VT MÄK. All Rights Reserved (
www.mak.com
)