VR-Forces 4.1.1 Class Documentation
Home
Modules
Namespaces
Classes
Files
Examples
Behavior Models
File List
File Members
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 <QtGui/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 Mon Apr 8 19:24:01 EDT 2013 from SVN revision 125877
Copyright © 2005-2013 VT MÄK. All Rights Reserved (
www.mak.com
)