VR-Forces 4.1 Class Documentation
Home
Modules
Namespaces
Classes
Files
Examples
Behavior Models
File List
File Members
include
vrfGuiCoreQt
DtTerrainProfileDialog.h
Go to the documentation of this file.
1
/*******************************************************************************
2
** Copyright (c) 2012 MAK Technologies, Inc.
3
** All rights reserved.
4
*******************************************************************************/
5
6
#pragma once
7
8
#include <
vrvUtil/signalslib.h
>
9
#include <
vrfGuiCoreQt/vrfGuiCoreQt.h
>
10
11
#include <
vrvUtil/DtVirtualBaseClass.h
>
12
#include <
vrvCore/DtUniqueID.h
>
13
14
#include <QDialog>
15
16
class
QSlider;
17
class
QLabel
;
18
class
QHBoxLayout;
19
20
namespace
makVrv
21
{
22
class
DtDe;
23
}
24
25
namespace
makVrf
26
{
27
class
DtTerrainProfileWidget;
28
class
DtTerrainProfileDataProvider;
29
34
class
DT_DLL_VRFGUICOREQT
DtTerrainProfileDialog
:
public
QDialog
35
{
36
Q_OBJECT
37
38
public
:
39
42
DtTerrainProfileDialog
(
makVrv::DtDe
& de,
QWidget
* parent = 0,
const
Qt::WindowFlags& flags = 0);
43
45
virtual
~
DtTerrainProfileDialog
();
46
49
virtual
void
setDataProvider(
DtTerrainProfileDataProvider
*);
50
52
DtTerrainProfileDataProvider
* dataProvider()
const
;
53
55
virtual
void
suspend();
56
58
virtual
void
resume();
59
61
virtual
bool
isSuspended()
const
;
62
64
boost::signal<void (DtTerrainProfileDialog*)>
signal_dialogAboutToBeDeleted
;
65
66
protected
:
68
virtual
void
slot_dataRemoved();
69
71
virtual
void
closeEvent(QCloseEvent*);
72
74
virtual
void
profileGraphReady();
75
76
protected
slots:
78
virtual
void
graphScaleChanged(
int
);
79
80
public
:
81
DtTerrainProfileWidget
*
myProfile
;
82
QSlider*
myGraphScale
;
83
QLabel
*
myGraphScaleLabel
;
84
QHBoxLayout*
mySliderLayout
;
85
86
protected
:
87
makVrv::DtDe
&
myDe
;
88
DtTerrainProfileDataProvider
*
myDataProvider
;
89
};
90
93
class
DT_DLL_VRFGUICOREQT
DtTerrainProfileDialogCreator
:
public
makVrv::DtVirtualBaseClass
94
{
95
public
:
96
DtTerrainProfileDialogCreator
(
makVrv::DtDe
&);
97
virtual
~
DtTerrainProfileDialogCreator
();
98
99
static
DtTerrainProfileDialogCreator
& instance(
makVrv::DtDe
&);
100
static
void
registerInstance(
makVrv::DtDe
&,
DtTerrainProfileDialogCreator
*);
101
102
virtual
DtTerrainProfileDialog
* create(
QWidget
* parent);
103
104
protected
:
105
makVrv::DtDe
&
myDe
;
106
};
107
}
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
)