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
setZoomSensorDialog.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 <
vrfGuiCoreQt/baseFilteredListViewTaskSetDialog.h
>
15
#include <
vrfGuiCore/vrfStateViewCollectionManager.h
>
16
17
#include <QRadioButton>
18
19
#include <matrix/vlVector.h>
20
21
class
QVBoxLayout;
22
class
QGridLayout;
23
class
QLabel
;
24
class
QComboBox
;
25
class
QSlider;
26
class
QLineEdit
;
27
class
QDoubleValidator;
28
29
namespace
makVrf
30
{
31
32
class
DT_DLL_VRFGUICOREQT
DtSetZoomSensorDialog
:
public
DtBaseTaskSetDialogInterface
33
{
34
Q_OBJECT
35
public
:
36
//CTOR
37
DtSetZoomSensorDialog
(
makVrv::DtDe
& de,
QWidget
* parent,
const
Qt::WindowFlags& flags = 0);
38
39
//DTOR
40
virtual
~
DtSetZoomSensorDialog
();
41
42
protected
:
43
virtual
QWidget
* contents(
const
std::vector<makVrv::DtSimEntry*>& data);
44
45
virtual
void
sendRequest();
46
47
protected
:
48
virtual
void
setupStatement(
const
DtSimStatement
*);
49
50
protected
slots:
51
virtual
void
onSensorChanged(
int
index);
52
virtual
void
updateSliderFromLineEdit();
53
virtual
void
updateLineEditFromSlider();
54
55
public
:
56
QWidget
*
myCanvas
;
57
QVBoxLayout*
myMainLayout
;
58
QGridLayout*
myUpperLayout
;
59
QHBoxLayout*
mySliderLayout
;
60
QLabel
*
mySensorLabel
;
61
QComboBox
*
mySensors
;
62
QLabel
*
myZoomLabel
;
63
QLineEdit
*
myZoomEdit
;
64
QDoubleValidator*
myZoomValidator
;
65
QLabel
*
myMinLabel
;
66
QLabel
*
myMaxLabel
;
67
QSlider*
myZoomSlider
;
68
69
double
mySensorMaxZoom
;
70
};
71
72
class
DT_DLL_VRFGUICOREQT
DtSetZoomSensorDialogCreator
:
public
DtVrfSetDialogCreator
73
{
74
public
:
75
virtual
DtTaskSetDialogInterface
* create(
makVrv::DtDe
&,
QWidget
* parent);
76
bool
supportsType(
makVrv::DtDe
&,
const
DtSetMessageType
&,
const
DtSimStatement
*)
const
;
77
};
78
}
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
)