VR-Forces 4.7 Class Documentation
Home
Modules
Namespaces
Classes
Files
Examples
Behavior Models
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Groups
Pages
include
vrfGuiCoreQt
takeControlOfEntity.h
Go to the documentation of this file.
1
/******************************************************************************
2
** Copyright (c) 2015 MAK Technologies, Inc.
3
** All rights reserved.
4
******************************************************************************/
5
8
10
11
#pragma once
12
13
#include <
vrfGuiCoreQt/vrfGuiCoreQt.h
>
14
#include <
vrvCore/DtUniqueID.h
>
15
#include <
vrvUtil/DtVirtualBaseClass.h
>
16
#include <
vrvUtil/DtSignalConnectionManager.h
>
17
18
#include <string>
19
20
#include <QDialog>
21
22
class
QLabel
;
23
class
QComboBox
;
24
class
QPushButton
;
25
class
QCheckBox
;
26
27
namespace
makVrv
28
{
29
class
DtDe;
30
}
31
32
namespace
makVrf
33
{
36
class
DT_DLL_VRFGUICOREQT
DtTakeControlOfEntity
:
public
QDialog
37
{
38
Q_OBJECT
39
40
public
:
41
43
DtTakeControlOfEntity
(
makVrv::DtDe
& de, QWidget* parent = 0,
const
Qt::WindowFlags& flags = Qt::Tool);
44
46
virtual
~
DtTakeControlOfEntity
();
47
49
virtual
void
run(
makVrv::DtUniqueID
);
50
51
virtual
std::string selectedConfiguration()
const
;
52
53
protected
:
54
virtual
void
accept();
55
56
protected
slots:
57
virtual
void
onCheckStateChanged();
58
virtual
void
onConfigurationChanged();
59
60
public
:
61
QPushButton
*
myOKButton
;
62
QPushButton
*
myCancelButton
;
63
QLabel
*
myLabel
;
64
QComboBox
*
myConfigurations
;
65
QLabel
*
myFavoriteConfiguration
;
66
std::map<std::string, QCheckBox*>
myFunctionalGroups
;
67
68
protected
:
69
makVrv::DtDe
&
myDe
;
70
makVrv::DtSignalConnectionManager
myConnectionManager
;
71
makVrv::DtUniqueID
myTakingControlOf
;
72
};
73
74
class
DT_DLL_VRFGUICOREQT
DtTakeControlOfEntityCreator
:
public
makVrv::DtVirtualBaseClass
75
{
76
public
:
77
DtTakeControlOfEntityCreator
(
makVrv::DtDe
&);
78
virtual
~
DtTakeControlOfEntityCreator
();
79
81
static
DtTakeControlOfEntityCreator
& instance(
makVrv::DtDe
&);
82
84
static
void
registerInstance(
makVrv::DtDe
& de,
DtTakeControlOfEntityCreator
* instance);
85
86
virtual
DtTakeControlOfEntity
* create(QWidget*);
87
88
protected
:
89
makVrv::DtDe
&
myDe
;
90
};
91
}
Document ID: Generated on Fri Apr 26 21:53:14 EDT 2019 from SVN revision 197883
Copyright © 2005-2019 VT MAK. All Rights Reserved (
www.mak.com
)