VR-Forces 4.1 Class Documentation
Home
Modules
Namespaces
Classes
Files
Examples
Behavior Models
File List
File Members
include
entityEditorImpl
forcesEditor.h
Go to the documentation of this file.
1
/*******************************************************************************
2
** Copyright (c) 2012 MAK Technologies, Inc.
3
** All rights reserved.
4
*******************************************************************************/
5
8
9
#pragma once
10
11
#include <QtGui/QDialog>
12
13
class
QPushButton
;
14
class
QListWidget;
15
class
DtModelSet
;
16
19
#include "
entityEditorImpl/entityEditorImplDefines.h
"
20
class
DT_DLL_entityeditorimpl
DtForcesEditor
:
public
QDialog
21
{
22
Q_OBJECT
23
24
public
:
25
DtForcesEditor
(
QWidget
* parent,
const
Qt::WindowFlags& flags = 0);
26
virtual
~
DtForcesEditor
();
27
28
virtual
void
init
();
29
30
static
DtForcesEditor
* create(
QWidget
* p = NULL);
31
32
protected
:
33
virtual
void
keyPressEvent(QKeyEvent *e);
34
virtual
bool
eventFilter(
QObject
*, QEvent*);
35
36
protected
slots:
37
virtual
void
itemSelectionChanged();
38
virtual
void
addForce();
39
virtual
void
editForce();
40
virtual
void
removeForce();
41
42
signals:
43
void
entryModified();
44
void
forcesModified();
45
46
protected
:
47
QListWidget*
myForces
;
48
QPushButton
*
myAddForce
;
49
QPushButton
*
myEditForce
;
50
QPushButton
*
myRemoveForce
;
51
};
52
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
)