VAPOR3
3.9.4
apps
vaporgui
VDoubleRangeMenu.h
Go to the documentation of this file.
1
#pragma once
2
3
#include "
VNumericFormatMenu.h
"
4
5
class
VDoubleLineEditAction
;
6
12
13
class
VDoubleRangeMenu
:
public
VNumericFormatMenu
{
14
Q_OBJECT
15
16
public
:
17
explicit
VDoubleRangeMenu
(QWidget *parent,
bool
sciNotation,
double
decimalDigits,
double
min,
double
max,
bool
rangeChangable);
18
19
void
AllowUserRange
(
bool
allowed =
true
);
20
21
protected
:
22
VDoubleLineEditAction
*
_minRangeAction
;
23
VDoubleLineEditAction
*
_maxRangeAction
;
24
25
public
slots:
27
void
SetMinimum
(
double
min);
28
30
void
SetMaximum
(
double
max);
31
32
private
slots:
33
void
_minChanged(
double
min);
34
void
_maxChanged(
double
max);
35
36
signals:
37
void
MinChanged
(
double
min);
38
void
MaxChanged
(
double
max);
39
};
VNumericFormatMenu.h
VDoubleLineEditAction
Definition:
VActions.h:157
VDoubleRangeMenu
A menu that allows the user to control the range of double values that can be set by a widget....
Definition:
VDoubleRangeMenu.h:13
VDoubleRangeMenu::AllowUserRange
void AllowUserRange(bool allowed=true)
VDoubleRangeMenu::VDoubleRangeMenu
VDoubleRangeMenu(QWidget *parent, bool sciNotation, double decimalDigits, double min, double max, bool rangeChangable)
VDoubleRangeMenu::SetMinimum
void SetMinimum(double min)
Set the minimum value that the current widget can use.
VDoubleRangeMenu::MinChanged
void MinChanged(double min)
VDoubleRangeMenu::MaxChanged
void MaxChanged(double max)
VDoubleRangeMenu::_maxRangeAction
VDoubleLineEditAction * _maxRangeAction
Definition:
VDoubleRangeMenu.h:23
VDoubleRangeMenu::SetMaximum
void SetMaximum(double max)
Set the maximum value that the current widget can use.
VDoubleRangeMenu::_minRangeAction
VDoubleLineEditAction * _minRangeAction
Definition:
VDoubleRangeMenu.h:22
VNumericFormatMenu
A menu that allows users to specify how a number is displayed in a line edit, in regard to how many d...
Definition:
VNumericFormatMenu.h:13
Generated by
1.9.6