Loading [MathJax]/extensions/tex2jax.js
OGS
Toggle main menu visibility
Main Page
Related Pages
Namespaces
Namespace List
Namespace 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
y
z
Variables
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
Typedefs
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
v
w
x
z
Enumerations
b
c
d
e
f
g
i
l
m
n
o
p
s
t
u
v
Enumerator
a
b
c
d
e
f
g
h
l
m
n
p
r
s
t
v
y
Classes
Class List
Class Index
Class Hierarchy
Files
File List
File Members
All
a
b
c
d
e
f
g
i
k
m
n
o
p
r
s
t
v
w
x
Functions
a
c
d
e
f
g
i
m
o
p
r
s
t
v
w
Variables
Typedefs
Enumerations
Macros
b
c
g
m
n
o
p
r
s
t
▼
OGS
►
OpenGeoSys 6.5.4-350-g59610e9832 source code documentation
►
OGS CTests—Project Files
►
OGS Input File Parameters—Quality Assurance
►
OGS Input File Parameters
BulkMappingDocuPage
Todo List
OGS Input File Parameters—List of incomplete documentation pages
Bibliography
►
Namespaces
►
Classes
▼
Files
▼
File List
▼
Applications
►
ApplicationsLib
►
CLI
▼
DataExplorer
▼
Base
CheckboxDelegate.cpp
►
CheckboxDelegate.h
ColorPickerPushButton.cpp
►
ColorPickerPushButton.h
►
ImportFileTypes.h
►
LastSavedFileDirectory.h
OGSError.cpp
►
OGSError.h
QNonScalableGraphicsTextItem.cpp
►
QNonScalableGraphicsTextItem.h
QValueTooltipSlider.cpp
►
QValueTooltipSlider.h
RecentFiles.cpp
►
RecentFiles.h
►
StrictDoubleValidator.h
►
StrictIntValidator.h
TreeItem.cpp
►
TreeItem.h
TreeModel.cpp
►
TreeModel.h
TreeModelIterator.cpp
►
TreeModelIterator.h
►
Utils.cpp
►
Utils.h
►
DataView
►
VtkVis
►
main.cpp
mainwindow.cpp
►
mainwindow.h
►
DataHolderLib
►
FileIO
►
InSituLib
►
Python
►
Utils
►
BaseLib
►
build
►
ChemistryLib
Documentation
►
GeoLib
►
InfoLib
►
MaterialLib
►
MathLib
►
MeshGeoToolsLib
►
MeshLib
►
MeshToolsLib
►
NumLib
►
ParameterLib
►
ProcessLib
►
File Members
QValueTooltipSlider.cpp
Go to the documentation of this file.
1
15
// ** INCLUDES **
16
#include "
QValueTooltipSlider.h
"
17
18
#include <QCursor>
19
#include <QString>
20
#include <QToolTip>
21
22
QValueTooltipSlider::QValueTooltipSlider
(QWidget* parent) : QSlider(parent)
23
{
24
connect(
this
, SIGNAL(sliderMoved(
int
)),
this
, SLOT(
setTooltipValue
(
int
)));
25
}
22
QValueTooltipSlider::QValueTooltipSlider
(QWidget* parent) : QSlider(parent) {
…
}
26
27
void
QValueTooltipSlider::setTooltipValue
(
int
value)
28
{
29
QToolTip::showText(QCursor::pos(), QString::number(value));
30
}
27
void
QValueTooltipSlider::setTooltipValue
(
int
value) {
…
}
QValueTooltipSlider.h
Definition of the QValueTooltipSlider class.
QValueTooltipSlider::setTooltipValue
void setTooltipValue(int value)
Definition
QValueTooltipSlider.cpp:27
QValueTooltipSlider::QValueTooltipSlider
QValueTooltipSlider(QWidget *parent=nullptr)
Definition
QValueTooltipSlider.cpp:22
Applications
DataExplorer
Base
QValueTooltipSlider.cpp
Generated by
1.11.0