VR-Forces 4.1 Class Documentation
Home
Modules
Namespaces
Classes
Files
Examples
Behavior Models
File List
File Members
include
entityEditorImpl
enumerationWidget.h
Go to the documentation of this file.
1
/*******************************************************************************
2
** Copyright (c) 2013 MAK Technologies, Inc.
3
** All rights reserved.
4
*******************************************************************************/
5
8
9
#pragma once
10
11
#include <
vrvUtil/signalslib.h
>
12
#include <QtGui/QWidget>
13
#include <
vrfGuiCore/DtDisDictionaryInterface.h
>
14
#include <
vrfExtProtocol/rangedObjType.h
>
15
16
class
DtRangedObjectType
;
17
class
QLabel
;
18
class
QPushButton
;
19
20
#include "
entityEditorImpl/entityEditorImplDefines.h
"
21
22
class
DT_DLL_entityeditorimpl
DtEnumerationWidget
:
public
QWidget
23
{
24
25
Q_OBJECT
26
27
public
:
28
30
DtEnumerationWidget
(
QWidget
* parent = NULL,
const
Qt::WindowFlags& flags = 0);
31
33
virtual
~
DtEnumerationWidget
();
34
36
virtual
void
init
();
37
virtual
void
setObjectType(
const
DtRangedObjectType
&);
38
virtual
void
clearContents();
39
const
DtRangedObjectType
& objectType()
const
;
40
41
static
DtEnumerationWidget
* create(
QWidget
* parent = NULL);
42
43
protected
slots:
44
virtual
void
changeEnumeration();
45
virtual
void
canSetEnumeration(
const
DtObjectType
&);
46
47
signals:
48
void
typeChanged(
const
DtRangedObjectType
&);
49
50
protected
:
51
QLabel
*
myEnumeration
;
52
DtRangedObjectType
myObjectType
;
53
QPushButton
*
myOK
;
54
};
55
56
inline
const
DtRangedObjectType
&
DtEnumerationWidget::objectType
()
const
57
{
58
return
myObjectType
;
59
}
60
61
Document ID: Generated on Tue Jan 29 18:21:16 EST 2013 from SVN revision 123193
Copyright © 2005-2013 VT MÄK Inc. All Rights Reserved (
www.mak.com
)