VR-Forces 4.1 Class Documentation
Home
Modules
Namespaces
Classes
Files
Examples
Behavior Models
File List
File Members
include
entityEditorImpl
uiItemComponent.h
Go to the documentation of this file.
1
/*********************************************************************
2
** Copyright (c) 2007 MaK Technologies, Inc.
3
** All rights reserved.
4
*********************************************************************/
5
/*********************************************************************
6
** $RCSfile: uiItemComponent.h,v $ $Revision: 1.1 $ $State: Exp $
7
*********************************************************************/
8
11
12
#ifndef DTUIITEMCOMPONENT_H_
13
#define DTUIITEMCOMPONENT_H_
14
15
#include "
entityEditorImpl/uiElement.h
"
16
17
#include <
vrfutil/rwString.h
>
18
#include <
vrfutil/rwBoolean.h
>
19
20
class
DtComponentDescriptorList
;
21
class
DtVrfObjectParameters
;
22
class
DtComponentDescriptor
;
23
class
QCheckBox
;
24
25
#include "
entityEditorImpl/entityEditorImplDefines.h
"
26
27
class
DT_DLL_entityeditorimpl
DtUiItemComponent
:
public
DtUiElement
28
{
29
public
:
30
32
DtUiItemComponent
33
(
34
const
DtString
& name,
35
DtReaderWriterRegistry
*
const
parentRegistry = NULL
36
);
37
39
virtual
~
DtUiItemComponent
();
40
42
DtUiItemComponent
(
const
DtUiItemComponent
& orig);
43
45
DtUiItemComponent
&
operator=
(
const
DtUiItemComponent
& orig);
46
47
protected
:
48
virtual
QWidget
*
createLabelWidget
(
QWidget
* parent) {
return
0;};
49
virtual
QWidget
*
createControls
(
QWidget
*);
50
virtual
void
setFromParameters
(
DtReaderWriter
* parentRw);
51
virtual
void
elementChanged
();
52
virtual
DtComponentDescriptor
* addComponentDescriptor(
DtVrfObjectParameters
* params);
53
54
virtual
DtComponentDescriptorList
* getList(
DtVrfObjectParameters
*)
const
;
55
virtual
bool
isModified
()
const
;
56
58
virtual
void
processUiEvent
(
const
DtUiElementEvent
&);
59
60
protected
:
61
virtual
DtUiElement
*
clone
();
62
63
protected
:
64
QCheckBox
*
myCheckBox
;
65
DtVrfObjectParameters
*
myParameters
;
66
DtRwString
myCategory
;
67
DtRwString
myComponentType
;
68
DtRwString
myParameterType
;
69
DtRwBoolean
myAutomaticallyAdd
;
70
};
71
72
#endif
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
)