Vuo  1.2.2
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
Public Member Functions | List of all members
VuoDoubleSpinBox Class Reference

Description

A spin box where the buttons can have a different minimum and maximum than the line edit.

Public Member Functions

 VuoDoubleSpinBox (QWidget *parent=0)
 Creates a spin box where the buttons and line edit have no minimum and maximum.
 
void stepBy (int steps)
 Steps the spin box value up or down, clamping it to be within the buttons' minimum and maximum.
 
QString textFromValue (double value) const
 Implementation of the virtual function used by the spin box whenever it needs to display the given value.
 
void setButtonMinimum (double buttonMinimum)
 Sets the minimum value that can be entered using the buttons.
 
void setButtonMaximum (double buttonMaximum)
 Sets the maximum value that can be entered using the buttons.
 

Constructor & Destructor Documentation

VuoDoubleSpinBox::VuoDoubleSpinBox ( QWidget *  parent = 0)

Creates a spin box where the buttons and line edit have no minimum and maximum.

Member Function Documentation

void VuoDoubleSpinBox::setButtonMaximum ( double  buttonMaximum)

Sets the maximum value that can be entered using the buttons.

void VuoDoubleSpinBox::setButtonMinimum ( double  buttonMinimum)

Sets the minimum value that can be entered using the buttons.

void VuoDoubleSpinBox::stepBy ( int  steps)

Steps the spin box value up or down, clamping it to be within the buttons' minimum and maximum.

QString VuoDoubleSpinBox::textFromValue ( double  value) const

Implementation of the virtual function used by the spin box whenever it needs to display the given value.


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