VR-Forces 4.2 Class Documentation
Home
Modules
Namespaces
Classes
Files
Examples
Behavior Models
File List
File Members
include
vrfGuiCoreQt
DtEntitySelectionDialog.h
Go to the documentation of this file.
1
/******************************************************************************
2
** Copyright (c) 2008 MAK Technologies, Inc.
3
** All rights reserved.
4
******************************************************************************/
5
/******************************************************************************
6
** $RCSfile: DtEntitySelectionDialog.h,v $ $Revision: 1.1 $ $State: Exp $
7
******************************************************************************/
8
11
13
14
#pragma once
15
16
#include <vrvUtil/signalslib.h>
17
#include <
vrfGuiCoreQt/vrfGuiCoreQt.h
>
18
19
#include <QtGui/QDialog>
20
21
class
QHBoxLayout;
22
class
QVBoxLayout;
23
24
namespace
makVrv
25
{
26
class
DtDe
;
27
}
28
29
namespace
makVrf
30
{
31
class
DtVrfSelectionFilter;
32
class
DtEntitySelectionDialogLogic;
33
class
DtVrfFilteredListView;
34
35
class
DT_DLL_VRFGUICOREQT
DtEntitySelectionDialog
:
public
QDialog
36
{
37
Q_OBJECT
38
public
:
39
//CTOR
40
DtEntitySelectionDialog
(makVrv::DtDe& de,
QWidget
* parent,
const
Qt::WindowFlags& flags = 0);
41
42
//DTOR
43
virtual
~
DtEntitySelectionDialog
();
44
45
virtual
int
exec();
46
47
virtual
QString selectedName();
48
49
virtual
void
setOKEnabled(
bool
);
50
51
virtual
void
addFilter(
const
DtVrfSelectionFilter
* f);
52
virtual
void
setupGui();
53
54
boost::signal<void ()>
signal_done
;
55
boost::signal<void ()>
signal_accepted
;
56
57
protected
:
58
virtual
void
accept();
59
60
protected
:
61
DtEntitySelectionDialogLogic
*
myLogic
;
62
makVrv::DtDe&
myDe
;
63
64
public
:
65
QVBoxLayout*
myMainLayout
;
66
DtVrfFilteredListView
*
myListView
;
67
QHBoxLayout*
myButtonLayout
;
68
QPushButton
*
myOKButton
;
69
QPushButton
*
myCancelButton
;
70
};
71
}
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
)