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

Description

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

Public Member Functions

 VuoSpinBox (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.
 
void setButtonMinimum (int buttonMinimum)
 Sets the minimum value that can be entered using the buttons.
 
void setButtonMaximum (int buttonMaximum)
 Sets the maximum value that can be entered using the buttons.
 

Protected Member Functions

QAbstractSpinBox::StepEnabled stepEnabled () const
 Determines whether the up and/or down arrows are enabled.
 
virtual void hideEvent (QHideEvent *event)
 Don't emit value changed events when hiding event, otherwise Vuo will update and quickly revert the value.
 
virtual void focusOutEvent (QFocusEvent *event)
 Don't emit value changed events when focusing out due to window close, otherwise Vuo will update and quickly revert the value.
 

Constructor & Destructor Documentation

VuoSpinBox::VuoSpinBox ( QWidget *  parent = 0)

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

Member Function Documentation

void VuoSpinBox::focusOutEvent ( QFocusEvent *  event)
protectedvirtual

Don't emit value changed events when focusing out due to window close, otherwise Vuo will update and quickly revert the value.

void VuoSpinBox::hideEvent ( QHideEvent *  event)
protectedvirtual

Don't emit value changed events when hiding event, otherwise Vuo will update and quickly revert the value.

void VuoSpinBox::setButtonMaximum ( int  buttonMaximum)

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

void VuoSpinBox::setButtonMinimum ( int  buttonMinimum)

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

void VuoSpinBox::stepBy ( int  steps)

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

QAbstractSpinBox::StepEnabled VuoSpinBox::stepEnabled ( ) const
protected

Determines whether the up and/or down arrows are enabled.


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