VR-Forces 4.1.1 Class Documentation
Home
Modules
Namespaces
Classes
Files
Examples
Behavior Models
File List
File Members
include
vrfGuiCoreQt
vrfOverlaySelectionList.h
Go to the documentation of this file.
1
/******************************************************************************
2
** Copyright (c) 2008 MAK Technologies, Inc.
3
** All rights reserved.
4
******************************************************************************/
5
/******************************************************************************
6
** $RCSfile: vrfOverlaySelectionList.h,v $ $Revision: 1.1 $ $State: Exp $
7
******************************************************************************/
8
11
13
14
#pragma once
15
16
#include <
vrvCoreQt/DtToolbar.h
>
17
#include <
vrvCoreQt/DtWidgetBuilder.h
>
18
19
#include <
vrfGuiCoreQt/vrfGuiCoreQt.h
>
20
#include <
vrfGuiCoreQt/vrfOverlaySelectionListInterface.h
>
21
22
#include <QtGui/QWidget>
23
24
class
QComboBox
;
25
class
QVBoxLayout;
26
class
QHBoxLayout;
27
class
QLabel
;
28
29
namespace
makVrv
30
{
31
class
DtDe;
32
}
33
34
namespace
makVrf
35
{
36
class
DtVrfOverlaySelectionListLogic;
37
41
class
DT_DLL_VRFGUICOREQT
DtVrfOverlaySelectionListToolbar
:
public
makVrv::DtToolbar
42
{
43
public
:
44
46
DtVrfOverlaySelectionListToolbar
(
makVrv::DtDe
&);
47
49
virtual
~
DtVrfOverlaySelectionListToolbar
();
50
52
virtual
QToolBar
* createToolbar(
makVrv::DtDe
&,
QWidget
* parent);
53
54
};
55
56
58
class
DT_DLL_VRFGUICOREQT
DtVrfOverlaySelectionCombo
59
:
public
QWidget
60
,
public
DtVrfOverlaySelectionListInterface
61
{
62
Q_OBJECT
63
64
public
:
66
DtVrfOverlaySelectionCombo
(
makVrv::DtDe
& de,
QWidget
* parent = 0, Qt::WindowFlags flags = 0);
67
69
virtual
~
DtVrfOverlaySelectionCombo
();
70
71
virtual
void
addOverlay(
const
std::string& name);
72
73
virtual
void
removeOverlay(
const
std::string& name);
74
75
virtual
void
renameOverlay(
const
std::string& oldName,
const
std::string& newName);
76
77
virtual
void
selectOverlay(
const
std::string& name);
78
79
protected
:
81
void
setupUi(
QWidget
* p);
82
83
protected
slots:
84
virtual
void
onItemSelectionChanged();
85
86
protected
:
87
makVrv::DtDe
&
myDe
;
88
DtVrfOverlaySelectionListLogic
*
myLogic
;
89
90
public
:
91
QHBoxLayout*
myMainLayout
;
92
QLabel
*
myLabel
;
93
QComboBox
*
myOverlays
;
94
};
95
96
class
DT_DLL_VRFGUICOREQT
DtVrfOverlaySelectionListBuilder
:
public
makVrv::DtWidgetBuilder
97
{
98
99
public
:
100
101
DtVrfOverlaySelectionListBuilder
();
102
103
virtual
~
DtVrfOverlaySelectionListBuilder
();
104
105
virtual
QWidget
* create(
makVrv::DtDe
& de,
QWidget
* parent,
const
Qt::WindowFlags& flags);
106
};
107
}
108
Document ID: Generated on Mon Apr 8 19:24:01 EDT 2013 from SVN revision 125877
Copyright © 2005-2013 VT MÄK. All Rights Reserved (
www.mak.com
)