VR-Forces 4.5 Class Documentation
Home
Modules
Namespaces
Classes
Files
Examples
Behavior Models
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Groups
Pages
appsrc
vrfOpdEditor
propertyCreationDialog.h
Go to the documentation of this file.
1
/*******************************************************************************
2
** Copyright (c) 2013 MAK Technologies, Inc.
3
** All rights reserved.
4
*******************************************************************************/
5
6
#pragma once
7
8
#include <
vrvUtil/signalslib.h
>
9
10
#include "ui_propertyCreationDialogUI.h"
11
12
class
DtPropertyItem
;
13
14
namespace
makVrv
15
{
16
class
DtDe;
17
}
18
19
class
DtPropertyCreationDialog
:
public
QWidget
20
{
21
22
Q_OBJECT
23
24
public
:
25
26
// default constructor
27
DtPropertyCreationDialog
(
makVrv::DtDe
&,
QWidget
* parent = NULL,
const
Qt::WindowFlags& flags = 0);
28
29
// destructor
30
virtual
~DtPropertyCreationDialog
();
31
32
virtual
bool
init
(
DtPropertyItem
*,
bool
);
33
34
void
setCreatePropertyItem
(
bool
);
35
bool
createPropertyItem
()
const
;
36
37
protected
:
38
virtual
void
initConnections
();
39
virtual
void
addControls
() = 0;
40
virtual
void
setupControls
() = 0;
41
virtual
void
keyPressEvent
(QKeyEvent *e);
42
43
public
slots:
44
virtual
void
accept
();
45
virtual
void
cancel
();
46
47
signals:
48
void
accept
(
DtPropertyCreationDialog
*);
49
50
private
:
51
// copy constructor; not implemented
52
DtPropertyCreationDialog
(
const
DtPropertyCreationDialog
& orig);
53
54
// assignment operator; not implemented
55
DtPropertyCreationDialog
&
operator=
(
const
DtPropertyCreationDialog
& rhs);
56
57
public
:
58
Ui::PropertyCreationDialogUI
myUiImpl
;
59
60
protected
:
61
DtPropertyItem
*
myPropertyItem
;
62
bool
myCreatePropertyItem
;
63
makVrv::DtDe
&
myDe
;
64
};
65
66
inline
void
DtPropertyCreationDialog::setCreatePropertyItem
(
bool
b)
67
{
68
myCreatePropertyItem
= b;
69
}
70
71
inline
bool
DtPropertyCreationDialog::createPropertyItem
()
const
72
{
73
return
myCreatePropertyItem
;
74
}
Document ID: Generated on Thu Mar 23 18:54:12 EDT 2017 from SVN revision 174804
Copyright © 2005-2017 VT MÄK. All Rights Reserved (
www.mak.com
)