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
simulationObjectEditorImpl
angleOfIncidenceSelectionWidget.h
Go to the documentation of this file.
1
/*********************************************************************
2
** Copyright (c) 2018 MaK Technologies, Inc.
3
** All rights reserved.
4
*********************************************************************/
5
6
#pragma once
7
8
#include "
simulationObjectEditorImpl/simulationObjectEditorImplDefines.h
"
9
10
#include <QtWidgets/QWidget>
11
12
#include <set>
13
#include <vector>
14
15
class
QPushButton
;
16
class
QVBoxLayout;
17
18
class
DT_DLL_simulationObjectEditorimpl
DtAngleOfIncidenceSelectionWidget
:
public
QWidget
19
{
20
Q_OBJECT
21
22
protected
:
23
24
public
:
25
27
DtAngleOfIncidenceSelectionWidget
(QWidget* parent);
28
30
virtual
~
DtAngleOfIncidenceSelectionWidget
();
31
32
virtual
QPushButton
* currentAngleOfIncidence()
const
;
33
virtual
void
setAnglesOfIncidence(
const
std::set<double>&);
34
virtual
double
selectedAngle()
const
;
35
virtual
void
setSelectedAngle(
double
);
36
37
virtual
bool
hasSelectedAngle()
const
;
38
virtual
void
clearSelection();
39
virtual
void
clear();
40
41
virtual
int
numberOfAngles()
const
;
42
43
protected
slots:
44
virtual
void
angleOfIncidenceChanged();
45
46
signals:
47
void
angleOfIncidenceSelected(
double
);
48
49
public
:
50
51
QVBoxLayout*
myAnglesOfIncidenceLayout
;
52
QPushButton
*
myCurrentAngleOfIncidence
;
53
std::vector<QPushButton*>
myAnglesOfIncidence
;
54
};
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
)