VR-Forces 4.1 Class Documentation
Home
Modules
Namespaces
Classes
Files
Examples
Behavior Models
File List
File Members
include
vrvOsgQt
DtSimpleDeWidget.h
Go to the documentation of this file.
1
/******************************************************************************
2
** Copyright (c) 2008 MAK Technologies, Inc.
3
** All rights reserved.
4
******************************************************************************/
5
/******************************************************************************
6
** $RCSfile: DtSimpleDeWidget.h,v $ $Revision: 1.12 $ $State: Exp $
7
******************************************************************************/
8
12
13
#pragma once
14
#include <
vrvOsgQt/vrvOsgQt.h
>
15
#include <
vrvCore/DtWindow.h
>
16
#include <QtGui/QWidget>
17
18
namespace
makVrv
19
{
20
class
DtDe;
21
class
DtPluginManager;
22
class
DtOsgAdapterQtWidget;
23
26
class
DT_DLL_VRVOSGQT
DtSimpleDeWidget
:
public
QWidget
27
{
28
Q_OBJECT
29
30
public
:
31
33
DtSimpleDeWidget
(
QWidget
* parent = 0, Qt::WindowFlags f = 0 );
34
36
virtual
~
DtSimpleDeWidget
();
37
38
DtDe
* de();
39
40
DtOsgAdapterQtWidget
* adapterWidget();
41
42
void
buildAdapterWidget();
43
44
void
buildTicker();
45
46
protected
:
47
48
void
createIg();
49
50
void
preIgInitialize();
51
52
void
overrideIgFunctionality();
53
54
void
igInitialize();
55
56
void
postIgInitialize();
57
58
virtual
void
resizeEvent( QResizeEvent* event);
59
60
protected
:
61
62
DtDe
*
myDe
;
63
DtPluginManager
*
myPluginManager
;
64
DtOsgAdapterQtWidget
*
myAdapterWidget
;
65
66
};
67
70
class
DT_DLL_VRVOSGQT
DtSimpleDeWidgetCreator
:
public
DtWindowCreator
71
{
72
73
public
:
74
75
DtSimpleDeWidgetCreator
(
DtSimpleDeWidget
* pWidget);
76
78
virtual
DtWindow
* create(
DtDe
& de,
DtWindowConfiguration
& wc);
79
80
protected
:
81
82
DtSimpleDeWidget
*
myWidget
;
83
84
};
85
}
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
)