VR-Forces 4.2 Class Documentation
Home
Modules
Namespaces
Classes
Files
Examples
Behavior Models
File List
File Members
include
entityEditorImpl
uiPushButtonElement.h
Go to the documentation of this file.
1
/*******************************************************************************
2
** Copyright (c) 2013 MAK Technologies, Inc.
3
** All rights reserved.
4
*******************************************************************************/
5
8
10
11
#pragma once
12
13
#include "
entityEditorImpl/entityEditorImplDefines.h
"
14
#include "
entityEditorImpl/uiElement.h
"
15
19
20
class
DT_DLL_entityeditorimpl
DtUiPushButtonElement
:
public
DtUiElement
21
{
22
Q_OBJECT
23
24
public
:
25
26
typedef
boost::function<void (makVrv::DtDe&, DtUiPushButtonElement*)>
PushButtonSlot
;
27
29
DtUiPushButtonElement
(makVrv::DtDe&);
30
32
virtual
~
DtUiPushButtonElement
();
33
34
virtual
void
createControls
(
QWidget
*);
35
36
static
DtUiElement
*
CreatorFunction
(makVrv::DtDe&);
37
38
virtual
void
setSlot(
const
QString&);
39
virtual
QString slot()
const
;
40
41
static
void
addSlot(
const
std::string&,
PushButtonSlot
);
42
43
protected
slots:
44
virtual
void
buttonPressed();
45
46
protected
:
47
QString
mySlot
;
48
};
Document ID: Generated on Sun Nov 24 19:49:21 EST 2013 from SVN revision 133924
Copyright © 2005-2013 VT MÄK. All Rights Reserved (
www.mak.com
)