VR-Forces 4.1 Class Documentation
Home
Modules
Namespaces
Classes
Files
Examples
Behavior Models
File List
File Members
include
vrfGuiCoreQt
DtTaskPatrolBetweenDialog.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/DtBaseFilteredListViewTaskSetDialog.h
>
15
16
class
QFrame
;
17
18
namespace
makVrf
19
{
20
class
DT_DLL_VRFGUICOREQT
DtTaskPatrolBetweenDialog
:
public
DtBaseFilteredListViewTaskSetDialog
21
{
22
Q_OBJECT
23
public
:
24
//CTOR
25
DtTaskPatrolBetweenDialog
(
makVrv::DtDe
& de,
QWidget
* parent,
const
Qt::WindowFlags& flags = 0);
26
27
//DTOR
28
virtual
~
DtTaskPatrolBetweenDialog
();
29
30
DtVrfFilteredListView
* patrolToView()
31
{
32
return
myPatrolToView;
33
}
34
35
const
DtVrfFilteredListView
* patrolToView()
const
36
{
37
return
myPatrolToView;
38
}
39
40
protected
:
41
virtual
QWidget
* contents(
const
std::vector<makVrv::DtSimEntry*>& data);
42
virtual
std::vector<DtVrfObjectListViewItem::DtVrfObjectState> selectedObjects()
const
;
43
44
virtual
void
sendRequest();
45
46
virtual
bool
valid()
const
;
47
48
protected
:
49
virtual
void
setupStatement(
const
DtSimStatement
*);
50
virtual
void
initializeSelectionFilters();
51
virtual
void
slot_onNameChanged(
const
QString& s);
52
53
virtual
void
setPatrolToName(
const
QString&);
54
virtual
QString patrolToName()
const
;
55
56
virtual
void
initializeSelectionFilters(
DtVrfFilteredListView
*);
57
virtual
void
selectObject(
const
DtVrfObjectListViewItem::DtVrfObjectState
& obj);
58
59
public
:
60
QFrame
*
mySeparator
;
61
DtVrfFilteredListView
*
myPatrolToView
;
62
QLabel
*
myPoint1Label
;
63
QLabel
*
myPoint2Label
;
64
};
65
66
class
DT_DLL_VRFGUICOREQT
DtTaskPatrolBetweenDialogCreator
:
public
DtVrfTaskDialogCreator
67
{
68
public
:
69
virtual
DtTaskSetDialogInterface
* create(
makVrv::DtDe
&,
QWidget
* parent);
70
bool
supportsType(
makVrv::DtDe
&,
const
DtSimTaskMessageType
&,
const
DtSimStatement
*)
const
;
71
};
72
}
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
)