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