VR-Forces 4.7 Class Documentation
Home
Modules
Namespaces
Classes
Files
Examples
Behavior Models
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Groups
Pages
include
vrvOsgEarthQt
DtOsgEarthProfileItem.h
Go to the documentation of this file.
1
/*****************************************************************************
2
* Copyright (c) 2016 MAK Technologies, Inc.
3
* All rights reserved.
4
*****************************************************************************/
5
9
#pragma once
10
#include <
vrvOsgEarthQt/vrvOsgEarthQt.h
>
11
#include <
vrvCoreQt/DtMenuItem.h
>
12
13
// Class Forward Declarations
14
class
QPushButton
;
15
16
namespace
makVrv
17
{
18
// Class Forward Declarations
19
class
DtTerrainContentsWidget;
20
class
DtOsgEarthProfileDialog;
21
24
class
DT_DLL_VRVOSGEARTHQT
DtOsgEarthProfileItem
:
public
DtMenuItem
25
{
26
public
:
27
29
DtOsgEarthProfileItem
(
DtDe
&);
30
32
virtual
~
DtOsgEarthProfileItem
();
33
35
virtual
QAction
* createAction(
DtDe
&, QWidget* parent);
36
38
virtual
void
setTerrainContentWidget(
DtTerrainContentsWidget
* terrainContentsWidget);
39
41
virtual
void
setOsgEarthProfileButton(
QPushButton
* button);
42
43
private
:
45
DtOsgEarthProfileItem
();
47
DtOsgEarthProfileItem
(
const
DtOsgEarthProfileItem
&);
49
DtOsgEarthProfileItem
&operator=(
const
DtOsgEarthProfileItem
&);
50
51
protected
:
52
54
//| Methods connected to Qt Widget signals
55
virtual
void
slot_selectTreeItemChanged(
const
std::string& treeItemName);
56
virtual
void
slot_pageClosed();
58
virtual
void
slot_terrainClosed();
59
virtual
bool
toggleOsgEarthProfileButton(
const
std::string& fileName);
60
virtual
void
on_triggered();
62
63
protected
:
64
DtTerrainContentsWidget
*
myTerrainContentWidget
;
65
DtOsgEarthProfileDialog
*
myOsgEarthProfileDialog
;
66
QPushButton
*
myOsgEarthProfileButton
;
67
DtDe
&
myDe
;
68
bool
myDialogIsOpen
;
69
};
70
}
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
)