VAPOR3 3.9.4
VSliderEditInterface.h
Go to the documentation of this file.
1#pragma once
2
3#include <string>
4#include "VHBoxWidget.h"
5
6class VSlider;
9
14
16 Q_OBJECT
17
18public slots:
20 virtual void SetDynamicUpdate(bool enabled) = 0;
21
23 virtual void SetSciNotation(bool sci) = 0;
24
26 virtual void SetNumDigits(int digits) = 0;
27
29 virtual void ShowContextMenu(const QPoint &) = 0;
30
31public:
33 virtual void AllowDynamicUpdate() const = 0;
34
36 virtual bool GetSciNotation() const = 0;
37
39 virtual int GetNumDigits() const = 0;
40
42 virtual QSize sizeHint() const;
43
44protected:
46 virtual void _makeContextMenu() = 0;
47
49
50signals:
52};
A menu item represented by a VLabel and VCheckBox, wrapped in a VLineItem.
Definition: VActions.h:64
An interface class that needs to be reimplemented to support the synchronization of a VSlider and a n...
virtual void SetSciNotation(bool sci)=0
Set use of scientific notation on the current type of line edit.
virtual void SetNumDigits(int digits)=0
Set the number of digits shown on the current line edit.
virtual QSize sizeHint() const
Return the size-hint for the current slider-edit.
virtual void ShowContextMenu(const QPoint &)=0
Show the context menu for the slider-edit, triggered on right-click.
virtual int GetNumDigits() const =0
Get the number of digits in use by the current line edit.
virtual bool GetSciNotation() const =0
Retrieve whether the currnet line edit is using scientific notation.
virtual void AllowDynamicUpdate() const =0
Retrieve whether dynamic updates are toggled.
virtual void _makeContextMenu()=0
virtual void SetDynamicUpdate(bool enabled)=0
Emit signal when dynamic update checkbox is toggled.
A menu item represented by a VLabel and VSpinBox, wrapped in a VLineItem selection tab in any rendere...
Definition: VActions.h:33