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