VR-Forces 4.2 Class Documentation
Home
Modules
Namespaces
Classes
Files
Examples
Behavior Models
File List
File Members
include
vrfGuiCoreQt
DtSimulationCommandDelete.h
Go to the documentation of this file.
1
/******************************************************************************
2
** Copyright (c) 2009 MAK Technologies, Inc.
3
** All rights reserved.
4
******************************************************************************/
5
/******************************************************************************
6
** $RCSfile: DtSimulationCommandDelete.h,v $ $Revision: 1.2 $ $State: Exp $
7
******************************************************************************/
8
11
13
14
#pragma once
15
16
#include <
vrfGuiCoreQt/vrfGuiCoreQt.h
>
17
#include <
vrfGuiCoreQt/DtSimulationCommandDialogInterface.h
>
18
19
class
DtDeleteObjectCommand
;
20
21
namespace
makVrf
22
{
23
class
DT_DLL_VRFGUICOREQT
DtDeleteObjectWrapper
:
public
DtSimCommandObjectWrapper
24
{
25
public
:
26
DtDeleteObjectWrapper
(
const
DtDeleteObjectCommand
&);
27
DtDeleteObjectWrapper
(
const
DtDeleteObjectWrapper
&);
28
29
virtual
void
setObjectName(
const
DtString
&);
30
virtual
DtString
objectName()
const
;
31
32
virtual
DtSimCommandObjectWrapper
* clone()
const
;
33
};
34
35
class
DT_DLL_VRFGUICOREQT
DtSimulationCommandDeleteDialog
:
public
DtSimulationCommandDialogInterface
36
{
37
Q_OBJECT
38
public
:
39
//CTOR
40
DtSimulationCommandDeleteDialog
(makVrv::DtDe& de,
QWidget
* parent,
const
Qt::WindowFlags& flags = 0);
41
42
//DTOR
43
virtual
~
DtSimulationCommandDeleteDialog
();
44
45
protected
:
46
virtual
void
onCancel()
47
{
48
}
49
50
virtual
void
sendRequest();
51
52
protected
:
53
virtual
void
run(
const
std::vector<makVrv::DtSimEntry*>&);
54
virtual
bool
editStatement(
const
std::vector<makVrv::DtSimEntry*>& data,
const
DtSimStatement
* s);
55
};
56
57
class
DT_DLL_VRFGUICOREQT
DtSimulationCommandDeleteCreator
:
public
DtVrfSimulationCommandDialogCreator
58
{
59
public
:
60
virtual
DtSimulationCommandDialogInterface
* create(makVrv::DtDe&,
QWidget
* parent);
61
virtual
bool
supportsType(makVrv::DtDe&,
const
DtSimCommandMessageType
&,
const
DtSimStatement
*)
const
;
62
virtual
std::string objectNameFromStatement(
const
DtSimCommand
*)
const
;
63
};
64
}
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
)