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
entitySelectionDialog.h
Go to the documentation of this file.
1
/******************************************************************************
2
** Copyright (c) 2014 MAK Technologies, Inc.
3
** All rights reserved.
4
******************************************************************************/
5
8
10
11
#pragma once
12
13
#include <
vrvUtil/signalslib.h
>
14
#include <
vrfGuiCoreQt/vrfGuiCoreQt.h
>
15
#include <
vrfutil/rwUUID.h
>
16
17
#include <QtGui/QDialog>
18
19
class
QHBoxLayout;
20
class
QVBoxLayout;
21
22
namespace
makVrv
23
{
24
class
DtDe;
25
}
26
27
namespace
makVrf
28
{
29
class
DtVrfSelectionFilter;
30
class
DtEntitySelectionDialogLogic;
31
class
DtVrfFilteredListView;
32
33
class
DT_DLL_VRFGUICOREQT
DtEntitySelectionDialog
:
public
QDialog
34
{
35
Q_OBJECT
36
public
:
37
//CTOR
38
DtEntitySelectionDialog
(
makVrv::DtDe
& de,
QWidget
* parent,
const
Qt::WindowFlags& flags = 0);
39
40
//DTOR
41
virtual
~
DtEntitySelectionDialog
();
42
43
virtual
int
exec();
44
45
virtual
DtUUID
selectedName()
const
;
46
47
virtual
void
setOKEnabled(
bool
);
48
49
virtual
void
addFilter(
const
DtVrfSelectionFilter
* f);
50
virtual
void
setupGui(
bool
addAggregateFilter =
false
);
51
52
boost::signal<void ()>
signal_done
;
53
boost::signal<void ()>
signal_accepted
;
54
55
protected
:
56
virtual
void
accept();
57
58
protected
:
59
DtEntitySelectionDialogLogic
*
myLogic
;
60
makVrv::DtDe
&
myDe
;
61
62
public
:
63
QVBoxLayout*
myMainLayout
;
64
DtVrfFilteredListView
*
myListView
;
65
QHBoxLayout*
myButtonLayout
;
66
QPushButton
*
myOKButton
;
67
QPushButton
*
myCancelButton
;
68
};
69
}
Document ID: Generated on Mon Jul 4 01:00:18 EDT 2016 from SVN revision 166489
Copyright © 2005-2015 VT MÄK. All Rights Reserved (
www.mak.com
)