Inviwo 0.9.12-pre
Inviwo documentation
Loading...
Searching...
No Matches
inviwo::ValueDragSpinBox Class Reference
+ Inheritance diagram for inviwo::ValueDragSpinBox:

Public Slots

void setValue (int value)
 
void selectAll ()
 
void stepDown ()
 
void stepUp ()
 

Signals

void valueChanged (int i)
 
void valueChanged (const QString &text)
 
void editingFinished ()
 

Public Member Functions

 ValueDragSpinBox (QWidget *parent=nullptr)
 
void setReadOnly (bool r)
 
bool isReadOnly () const
 
void setSpecialValueText (const QString &txt)
 
QString specialValueText () const
 
void setWrapping (bool w)
 
bool wrapping () const
 
QString text () const
 
QString cleanText () const
 
int displayIntegerBase () const
 
int maximum () const
 
int minimum () const
 
QString prefix () const
 
void setDisplayIntegerBase (int base)
 
void setMaximum (int max)
 
void setMinimum (int min)
 
void setPrefix (const QString &prefix)
 
void setRange (int minimum, int maximum)
 
void setSingleStep (int val)
 
void setSuffix (const QString &suffix)
 
int singleStep () const
 
QString suffix () const
 
int value () const
 

Member Function Documentation

◆ setSingleStep()

void inviwo::ValueDragSpinBox::setSingleStep ( int val)

Sets the increment of a single step to inc. If inc is zero, the spinbox buttons will be hidden.

See also
QDoubleSpinBox::setSingleStep

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