VAPOR3
3.9.4
Toggle main menu visibility
Main Page
Related Pages
Modules
Namespaces
Namespace List
Namespace Members
All
_
a
b
c
d
e
f
g
h
i
j
l
m
n
o
p
q
r
s
t
u
v
w
Functions
_
a
b
c
d
e
f
g
h
i
j
l
m
n
o
p
q
r
s
t
u
v
w
Variables
Typedefs
Enumerations
Enumerator
a
f
g
m
n
o
p
s
t
v
Classes
Class List
Class Index
Class Hierarchy
Class Members
All
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
Functions
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
~
Variables
_
a
b
c
d
e
f
g
h
i
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Typedefs
Enumerations
a
c
d
e
f
g
h
l
m
o
p
r
s
t
v
x
Enumerator
_
a
b
c
d
e
f
g
h
i
l
m
n
o
p
r
s
t
u
v
w
x
y
z
Related Functions
_
c
d
f
o
p
r
s
t
v
Files
File List
File Members
All
_
a
b
c
d
e
f
g
h
i
j
l
m
n
o
p
r
s
t
u
v
w
y
Functions
_
c
d
h
m
o
p
r
u
v
Variables
Typedefs
Enumerations
Enumerator
a
c
h
p
r
s
t
u
v
Macros
_
a
b
c
d
e
f
g
h
i
j
l
m
n
o
p
r
s
t
u
v
w
y
apps
vaporgui
VNumericFormatMenu.h
Go to the documentation of this file.
1
#pragma once
2
3
#include <QMenu>
4
5
class
VCheckBoxAction
;
6
class
VSpinBoxAction
;
7
12
13
class
VNumericFormatMenu
:
public
QMenu {
14
Q_OBJECT
15
16
public
:
17
explicit
VNumericFormatMenu
(QWidget *parent,
bool
sciNotation,
int
decimalDigits);
18
20
void
SetDecimalDigits
(
int
digits);
21
23
void
SetSciNotation
(
bool
sciNotation);
24
25
protected
:
26
VCheckBoxAction
*
_sciNotationAction
;
27
VSpinBoxAction
*
_decimalAction
;
28
29
private
slots:
30
void
_decimalDigitsChanged(
int
digits);
31
void
_sciNotationChanged(
bool
sciNotation);
32
33
signals:
34
void
DecimalDigitsChanged
(
int
decimalDigits);
35
void
SciNotationChanged
(
bool
sciNotation);
36
};
VCheckBoxAction
A menu item represented by a VLabel and VCheckBox, wrapped in a VLineItem.
Definition:
VActions.h:64
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
VNumericFormatMenu::_decimalAction
VSpinBoxAction * _decimalAction
Definition:
VNumericFormatMenu.h:27
VNumericFormatMenu::DecimalDigitsChanged
void DecimalDigitsChanged(int decimalDigits)
VNumericFormatMenu::SetSciNotation
void SetSciNotation(bool sciNotation)
Set whether the current line-edit is using scientific notation.
VNumericFormatMenu::VNumericFormatMenu
VNumericFormatMenu(QWidget *parent, bool sciNotation, int decimalDigits)
VNumericFormatMenu::SetDecimalDigits
void SetDecimalDigits(int digits)
Set the number of decimal digits used by the clicked line-edit.
VNumericFormatMenu::SciNotationChanged
void SciNotationChanged(bool sciNotation)
VNumericFormatMenu::_sciNotationAction
VCheckBoxAction * _sciNotationAction
Definition:
VNumericFormatMenu.h:26
VSpinBoxAction
A menu item represented by a VLabel and VSpinBox, wrapped in a VLineItem selection tab in any rendere...
Definition:
VActions.h:33
Generated by
1.9.6