VR-Forces 4.6 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
vrvOsgQt
DtExtractReferencesWidget.h
Go to the documentation of this file.
1
/******************************************************************************
2
** Copyright (c) 2013 MAK Technologies, Inc.
3
** All rights reserved.
4
******************************************************************************/
5
9
10
#pragma once
11
12
#include <
vrvOsgQt/vrvOsgQt.h
>
13
#include <
vrvOsgQt/DtExtractPropsInterface.h
>
14
#include <QtWidgets/QWidget>
15
16
class
QCheckBox
;
17
class
QComboBox
;
18
class
QLabel
;
19
class
QLineEdit
;
20
class
QListWidget;
21
class
QListWidgetItem;
22
class
QPushButton
;
23
class
QTreeWidget
;
24
25
namespace
makVrv
26
{
27
28
class
DtPropTypeComboBox;
29
class
DtModelDefinitionComboBox;
30
33
class
DT_DLL_VRVOSGQT
DtExtractReferencesWidget
34
:
public
QWidget
35
,
public
DtExtractPropsInterface
36
{
37
Q_OBJECT;
38
39
public
:
40
42
DtExtractReferencesWidget
(
DtDe
& de, QWidget* parent);
43
45
virtual
~
DtExtractReferencesWidget
();
46
48
virtual
void
setSearchCandidateSet(
const
DtExtractPropsInterface::SearchCandidateSet
& scSet);
49
52
virtual
void
reset();
53
55
virtual
void
setValidSchemas(
const
std::vector<std::string>& schemaNames);
56
58
void
clear();
59
60
protected
slots:
61
63
virtual
void
onExtractClicked();
64
66
virtual
void
onSelectAllClicked();
67
69
virtual
void
onDeselectAllClicked();
70
72
virtual
void
onPropTypeComboChanged(
const
QString& text);
73
75
virtual
void
onModelDefinitionComboChanged(
const
QString& text);
76
77
virtual
void
onEntityLabelsCheckChanged(
int
state);
78
79
protected
:
80
82
void
setupGui();
83
84
protected
:
85
87
89
DtPropTypeComboBox
*
myPropTypeCombo
;
90
92
DtModelDefinitionComboBox
*
myModelDefCombo
;
93
95
QListWidget*
myReferencesList
;
96
98
QLabel
*
myHelpLabel
;
99
101
QPushButton
*
myExtractButton
;
102
104
106
DtPropTypeComboBox::DtPropTypeList
myTypes
;
107
109
std::string
myCurrentType
;
110
112
std::string
myCurrentModelDefinition
;
113
115
int
myExtractAsSpeedTreeState
;
116
118
DtDe
&
myDe
;
119
};
120
}
121
122
Document ID: Generated on Thu Apr 12 03:15:37 EDT 2018 from SVN revision 187986
Copyright © 2005-2018 VT MÄK. All Rights Reserved (
www.mak.com
)