OGS
QValueTooltipSlider.h
Go to the documentation of this file.
1
14#pragma once
15
16#include <QSlider>
17
21class QValueTooltipSlider : public QSlider
22{
23 Q_OBJECT
24
25public:
26 explicit QValueTooltipSlider(QWidget* parent = nullptr);
27
28public slots:
29 void setTooltipValue(int value);
30
31protected:
32};
A QSlider which shows its value as a tooltip when moved.
void setTooltipValue(int value)
QValueTooltipSlider(QWidget *parent=nullptr)