VR-Forces Development_Version Class Documentation
Home
Modules
Namespaces
Classes
Files
Examples
Behavior Models
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Groups
Pages
include
vrfGuiCoreQt
setStatePreferredTargetsPropertyDialog.h
Go to the documentation of this file.
1
/******************************************************************************
2
** Copyright (c) 2014 MAK Technologies, Inc.
3
** All rights reserved.
4
******************************************************************************/
5
8
9
#pragma once
10
11
#include <
vrfGuiCoreQt/vrfGuiCoreQt.h
>
12
#include <
vrfGuiCoreQt/setStatePropertyDialog.h
>
13
#include <
vrfGuiCoreQt/vrfObjectListViewItem.h
>
14
15
namespace
makVrf
16
{
17
class
DtVrfFilteredListView;
18
21
22
class
DT_DLL_VRFGUICOREQT
DtSetStatePreferredTargetsPropertyDialog
:
public
DtSetStatePropertyDialog
23
{
24
public
:
25
//CTOR
26
DtSetStatePreferredTargetsPropertyDialog
(
makVrv::DtDe
& de,
QWidget
* parent,
const
DtString
& property,
27
const
Qt::WindowFlags& flags = 0);
28
29
//DTOR
30
virtual
~
DtSetStatePreferredTargetsPropertyDialog
();
31
32
protected
:
33
35
virtual
void
setupGui(
const
std::vector<makVrv::DtSimEntry*>& data);
36
38
virtual
void
addDataEntryIfModifiableValue(
PropertyItem
& item,
39
const
DtReaderWriter
* rw,
const
DtString
& pathSoFar,
int
level
,
40
bool
updateExistingValue,
int
row);
41
43
virtual
void
valueFromWidget(
const
PropertyItem
& item,
DtReaderWriter
* rw)
const
;
44
46
virtual
void
showEvent(QShowEvent* event);
47
49
virtual
void
slot_itemSelectionChanged(
const
std::vector<DtVrfObjectListViewItem::DtVrfObjectState>& items);
50
virtual
void
updateOkButton();
51
55
bool
replace()
const
;
56
57
virtual
void
setupStateProperties(
DtSetStateProperties
* col);
58
59
public
:
60
DtVrfFilteredListView
*
myFilteredListView
;
61
DtSetStateProperties
*
mySetupCollection
;
62
};
63
64
class
DT_DLL_VRFGUICOREQT
DtSetStatePreferredTargetsPropertyDialogCreator
:
public
DtSetStatePropertyDialogCreator
65
{
66
public
:
67
DtSetStatePreferredTargetsPropertyDialogCreator
(
makVrv::DtDe
&,
const
DtString
& prop);
68
69
virtual
DtTaskSetDialogInterface
* create(
makVrv::DtDe
&,
QWidget
* parent);
70
};
71
}
Document ID: Generated on Tue Mar 8 22:13:38 EST 2016 from SVN revision 162938
Copyright © 2005-2015 VT MÄK. All Rights Reserved (
www.mak.com
)