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
vrvCoreQt
DtFieldValuePairDialog.h
Go to the documentation of this file.
1
/******************************************************************************
2
** Copyright (c) 2008 MAK Technologies, Inc.
3
** All rights reserved.
4
******************************************************************************/
5
/******************************************************************************
6
** $RCSfile: DtFieldValuePairDialog.h,v $ $Revision: 1.5 $ $State: Exp $
7
******************************************************************************/
8
12
13
#ifndef DtFieldValuePairDialog_H_
14
#define DtFieldValuePairDialog_H_
15
16
#include <
vrvCoreQt/vrvCoreQt.h
>
17
#include <
vrvCoreQt/DtAddPropsInterface.h
>
18
19
#include <QtWidgets/QDialog>
20
21
class
QComboBox
;
22
class
QPushButton
;
23
24
namespace
makVrv
25
{
28
class
DT_DLL_VRVCOREQT
DtFieldValuePairDialog
:
public
QDialog
29
{
30
31
Q_OBJECT;
32
33
public
:
34
36
DtFieldValuePairDialog
(
const
DtFeatureFieldValueParser::FeatureFieldValueMap
& featureFieldValueMap,
37
QWidget* parent, Qt::WindowFlags f = Qt::Tool);
38
40
QString field();
41
43
QString value();
44
45
public
slots:
46
48
virtual
void
onOkClicked();
49
51
virtual
void
onCancelClicked();
52
54
virtual
void
onFieldComboChanged(
int
index);
55
57
virtual
void
onValueComboChanged(
int
index);
58
59
protected
:
60
62
void
setupGui();
63
65
QStringList fields(
const
DtFeatureFieldValueParser::FeatureFieldValueMap
& fieldValueMap);
66
68
QStringList values(
const
DtFeatureFieldValueParser::FeatureFieldValueMap
& fieldValueMap,
69
QString field);
70
71
protected
:
72
73
DtFeatureFieldValueParser::FeatureFieldValueMap
myFeatureFieldValueMap
;
74
QComboBox
*
myFieldCombo
;
75
QComboBox
*
myValueCombo
;
76
QPushButton
*
myOkButton
;
77
QPushButton
*
myCancelButton
;
78
QString
myField
;
79
QString
myValue
;
80
81
};
82
}
83
84
#endif
85
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
)