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
DtOsgEarthCacheItem.h
Go to the documentation of this file.
1
/******************************************************************************
2
** Copyright (c) 2016 MAK Technologies, Inc.
3
** All rights reserved.
4
******************************************************************************/
5
9
10
#pragma once
11
#include <
vrvOsgEarthQt/vrvOsgEarthQt.h
>
12
#include <
vrvCoreQt/DtMenuItem.h
>
13
14
// Class Forward Declarations
15
class
QPushButton
;
16
17
namespace
makVrv
18
{
19
// Class Forward Declarations
20
class
DtTerrainContentsWidget;
21
class
DtOsgEarthCacheDialog;
22
25
class
DT_DLL_VRVOSGEARTHQT
DtOsgEarthCacheItem
:
public
DtMenuItem
26
{
27
public
:
28
30
DtOsgEarthCacheItem
(
DtDe
&);
31
33
virtual
~
DtOsgEarthCacheItem
();
34
36
virtual
QAction
* createAction(
DtDe
&, QWidget* parent);
37
39
virtual
void
setTerrainContentWidget(
DtTerrainContentsWidget
* terrainContentsWidget);
40
42
virtual
void
setOsgEarthCacheButton(
QPushButton
* button);
43
44
private
:
46
DtOsgEarthCacheItem
();
48
DtOsgEarthCacheItem
(
const
DtOsgEarthCacheItem
&);
50
DtOsgEarthCacheItem
&operator=(
const
DtOsgEarthCacheItem
&);
51
52
protected
:
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
toggleOsgEarthCacheButton(
const
std::string& fileName);
60
virtual
void
on_triggered();
62
63
protected
:
64
DtTerrainContentsWidget
*
myTerrainContentWidget
;
65
DtOsgEarthCacheDialog
*
myOsgEarthCacheDialog
;
66
QPushButton
*
myOsgEarthCacheButton
;
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
)