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
vrvOsgEarthQt
DtOsgEarthServerDialog.h
Go to the documentation of this file.
1
/******************************************************************************
2
** Copyright (c) 2007 MAK Technologies, Inc.
3
** All rights reserved.
4
******************************************************************************/
5
/******************************************************************************
6
** $RCSfile: DtOsgEarthServerDialog.h,v $ $Revision: 1.6 $ $State: Exp $
7
******************************************************************************/
8
9
13
14
#ifndef DtOsgEarthServerDialog_H_
15
#define DtOsgEarthServerDialog_H_
16
17
#include <
vrvOsgEarthQt/vrvOsgEarthQt.h
>
18
#include <
vrvCore/DtDe.h
>
19
#include <QtGui/QDialog>
20
#include <
vrvOsgEarthQt/DtOsgEarthServerInterface.h
>
21
22
class
QPlainTextEdit;
23
class
QLineEdit
;
24
class
QListWidgetItem;
25
class
QPushButton
;
26
27
namespace
makVrv
28
{
29
class
DtOsgEarthServerLogic;
30
class
DtSelectInstanceWidget;
31
34
class
DT_DLL_VRVOSGEARTHQT
DtOsgEarthServerDialog
35
:
public
QDialog
36
,
DtOsgEarthServerInterface
37
{
38
39
Q_OBJECT;
40
41
public
:
42
44
DtOsgEarthServerDialog
(
DtDe
& de,
QWidget
* parent, Qt::WindowFlags f = Qt::Tool);
45
47
virtual
~
DtOsgEarthServerDialog
();
48
50
virtual
void
setMapNameLabel(
const
std::string& mapname);
51
53
virtual
void
setImageNameLabel(
const
std::string& imgname);
54
56
virtual
void
setDescriptionText(
const
std::string& desc);
57
59
virtual
void
setCordSysLabel(
const
std::string& cordsys);
60
62
virtual
void
addInstance(
const
std::string& name);
63
65
virtual
void
removeInstance(
const
std::string& name);
66
68
virtual
void
clearInstances();
69
70
public
slots:
71
73
virtual
void
onConnectClicked();
74
76
virtual
void
onCancelClicked();
77
78
protected
slots:
79
80
virtual
void
on_myContentsWidget_currentIndexChanged(
int
);
81
82
protected
:
83
85
void
setupGui();
86
87
protected
:
88
89
DtDe
&
myDe
;
90
DtOsgEarthServerLogic
*
myLogic
;
91
DtSelectInstanceWidget
*
mySelectInstanceWidget
;
92
93
QPlainTextEdit*
myDescriptionText
;
94
QLineEdit
*
myMapNameLabel
;
95
QLineEdit
*
myImageNameLabel
;
96
QLineEdit
*
myCoordSysLabel
;
97
QPushButton
*
myConnectButton
;
98
QPushButton
*
myCancelButton
;
99
100
};
101
}
102
103
#endif
104
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
)