VAPOR3 3.9.4
Public Slots | Signals | Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
VSliderEditInterface Class Referenceabstract

An interface class that needs to be reimplemented to support the synchronization of a VSlider and a numeric V*LineEdit, and their menus. More...

#include <VSliderEditInterface.h>

Inheritance diagram for VSliderEditInterface:
VHBoxWidget VDoubleSliderEdit VIntSliderEdit

Public Slots

virtual void SetDynamicUpdate (bool enabled)=0
 Emit signal when dynamic update checkbox is toggled.
 
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 void ShowContextMenu (const QPoint &)=0
 Show the context menu for the slider-edit, triggered on right-click.
 

Signals

void FormatChanged ()
 

Public Member Functions

virtual void AllowDynamicUpdate () const =0
 Retrieve whether dynamic updates are toggled.
 
virtual bool GetSciNotation () const =0
 Retrieve whether the currnet line edit is using scientific notation.
 
virtual int GetNumDigits () const =0
 Get the number of digits in use by the current line edit.
 
virtual QSize sizeHint () const
 Return the size-hint for the current slider-edit.
 

Protected Member Functions

 VSliderEditInterface ()
 
virtual void _makeContextMenu ()=0
 
- Protected Member Functions inherited from VHBoxWidget
 VHBoxWidget ()
 

Protected Attributes

VSlider_slider
 

Detailed Description

An interface class that needs to be reimplemented to support the synchronization of a VSlider and a numeric V*LineEdit, and their menus.

Definition at line 15 of file VSliderEditInterface.h.

Constructor & Destructor Documentation

◆ VSliderEditInterface()

VSliderEditInterface::VSliderEditInterface ( )
protected

Member Function Documentation

◆ _makeContextMenu()

virtual void VSliderEditInterface::_makeContextMenu ( )
protectedpure virtual

Implemented in VDoubleSliderEdit, and VIntSliderEdit.

◆ AllowDynamicUpdate()

virtual void VSliderEditInterface::AllowDynamicUpdate ( ) const
pure virtual

Retrieve whether dynamic updates are toggled.

Implemented in VDoubleSliderEdit, and VIntSliderEdit.

◆ FormatChanged

void VSliderEditInterface::FormatChanged ( )
signal

◆ GetNumDigits()

virtual int VSliderEditInterface::GetNumDigits ( ) const
pure virtual

Get the number of digits in use by the current line edit.

Implemented in VDoubleSliderEdit, and VIntSliderEdit.

◆ GetSciNotation()

virtual bool VSliderEditInterface::GetSciNotation ( ) const
pure virtual

Retrieve whether the currnet line edit is using scientific notation.

Implemented in VDoubleSliderEdit, and VIntSliderEdit.

◆ SetDynamicUpdate

virtual void VSliderEditInterface::SetDynamicUpdate ( bool  enabled)
pure virtualslot

Emit signal when dynamic update checkbox is toggled.

Implemented in VIntSliderEdit.

◆ SetNumDigits

virtual void VSliderEditInterface::SetNumDigits ( int  digits)
pure virtualslot

Set the number of digits shown on the current line edit.

Implemented in VIntSliderEdit.

◆ SetSciNotation

virtual void VSliderEditInterface::SetSciNotation ( bool  sci)
pure virtualslot

Set use of scientific notation on the current type of line edit.

Implemented in VIntSliderEdit.

◆ ShowContextMenu

virtual void VSliderEditInterface::ShowContextMenu ( const QPoint &  )
pure virtualslot

Show the context menu for the slider-edit, triggered on right-click.

Implemented in VIntSliderEdit.

◆ sizeHint()

virtual QSize VSliderEditInterface::sizeHint ( ) const
virtual

Return the size-hint for the current slider-edit.

Member Data Documentation

◆ _slider

VSlider* VSliderEditInterface::_slider
protected

Definition at line 48 of file VSliderEditInterface.h.


The documentation for this class was generated from the following file: