VAPOR3
3.9.4
apps
vaporgui
VIntRangeMenu.h
Go to the documentation of this file.
1
#pragma once
2
3
#include "
VNumericFormatMenu.h
"
4
5
class
VIntLineEditAction
;
6
12
13
class
VIntRangeMenu
:
public
VNumericFormatMenu
{
14
Q_OBJECT
15
16
public
:
17
explicit
VIntRangeMenu
(QWidget *parent,
bool
sciNotation,
int
decimalDigits,
int
min,
int
max,
bool
rangeChangable =
false
);
18
19
void
AllowUserRange
(
bool
allowed =
true
);
20
21
protected
:
22
VIntLineEditAction
*
_minRangeAction
;
23
VIntLineEditAction
*
_maxRangeAction
;
24
25
public
:
27
void
SetMinimum
(
int
min);
28
30
void
SetMaximum
(
int
max);
31
32
private
slots:
33
void
_minChanged(
int
min);
34
void
_maxChanged(
int
max);
35
36
signals:
37
void
MinChanged
(
int
min);
38
void
MaxChanged
(
int
max);
39
};
VNumericFormatMenu.h
VIntLineEditAction
A menu item represented by a VLabel and VIntLineEdit, wrapped in a VLineItem.
Definition:
VActions.h:126
VIntRangeMenu
A menu that allows the user to control the range of integer values that can be set by a widget....
Definition:
VIntRangeMenu.h:13
VIntRangeMenu::_maxRangeAction
VIntLineEditAction * _maxRangeAction
Definition:
VIntRangeMenu.h:23
VIntRangeMenu::MinChanged
void MinChanged(int min)
VIntRangeMenu::SetMaximum
void SetMaximum(int max)
Set the maximum value that the current widget can use.
VIntRangeMenu::SetMinimum
void SetMinimum(int min)
Set the minimum value that the current widget can use.
VIntRangeMenu::_minRangeAction
VIntLineEditAction * _minRangeAction
Definition:
VIntRangeMenu.h:22
VIntRangeMenu::VIntRangeMenu
VIntRangeMenu(QWidget *parent, bool sciNotation, int decimalDigits, int min, int max, bool rangeChangable=false)
VIntRangeMenu::AllowUserRange
void AllowUserRange(bool allowed=true)
VIntRangeMenu::MaxChanged
void MaxChanged(int max)
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