VR-Forces 4.1.1 Class Documentation
Home
Modules
Namespaces
Classes
Files
Examples
Behavior Models
File List
File Members
include
vrfGuiCoreQt
DtTaskWaitDurationDialog.h
Go to the documentation of this file.
1
/******************************************************************************
2
** Copyright (c) 2008 MAK Technologies, Inc.
3
** All rights reserved.
4
******************************************************************************/
5
8
10
11
#pragma once
12
13
#include <
vrfGuiCoreQt/vrfGuiCoreQt.h
>
14
#include <
vrfGuiCoreQt/DtBaseTaskSetDialogInterface.h
>
15
16
class
QGridLayout;
17
class
QSpinBox;
18
class
QLabel
;
19
class
QVBoxLayout;
20
21
namespace
makVrf
22
{
23
class
DT_DLL_VRFGUICOREQT
DtTaskWaitDurationDialog
:
public
DtBaseTaskSetDialogInterface
24
{
25
Q_OBJECT
26
public
:
27
//CTOR
28
DtTaskWaitDurationDialog
(
makVrv::DtDe
& de,
QWidget
* parent,
const
Qt::WindowFlags& flags = 0);
29
30
//DTOR
31
virtual
~
DtTaskWaitDurationDialog
();
32
34
virtual
double
time()
const
;
35
37
virtual
void
setTime(
double
);
38
39
protected
:
40
virtual
QWidget
* contents(
const
std::vector<makVrv::DtSimEntry*>& data);
41
42
virtual
void
setupStatement(
const
DtSimStatement
* stmt);
43
44
protected
:
45
virtual
void
sendRequest();
46
47
public
:
48
QWidget
*
myCanvas
;
49
QVBoxLayout*
myMainLayout
;
50
QGridLayout*
myGridLayout
;
51
QSpinBox*
mySecondsSpinBox
;
52
QSpinBox*
myHoursSpinBox
;
53
QLabel
*
myMinutesLabel
;
54
QSpinBox*
myMinutesSpinBox
;
55
QLabel
*
myHoursLabel
;
56
QLabel
*
mySecondsLabel
;
57
};
58
59
class
DT_DLL_VRFGUICOREQT
DtTaskWaitDurationDialogCreator
:
public
DtVrfTaskDialogCreator
60
{
61
public
:
62
virtual
DtTaskSetDialogInterface
* create(
makVrv::DtDe
&,
QWidget
* parent);
63
virtual
bool
supportsType(
makVrv::DtDe
&,
const
DtSimTaskMessageType
&,
const
DtSimStatement
*)
const
;
64
};
65
}
Document ID: Generated on Mon Apr 8 19:24:01 EDT 2013 from SVN revision 125877
Copyright © 2005-2013 VT MÄK. All Rights Reserved (
www.mak.com
)