QwwLongSpinBox Class Reference

A spinbox taking long long values. More...

Inherits QAbstractSpinBox.

List of all members.

Public Slots

void setValue (qlonglong v)
 Sets the spinbox value.

Public Member Functions

virtual void fixup (QString &input) const
 QwwLongSpinBox (QWidget *parent=0)
void setMaximum (qlonglong v)
void setMinimum (qlonglong v)
void setPrefix (const QString &)
 Sets the spinbox prefix.
void setRange (qlonglong min, qlonglong max)
 Sets the range of values allowed for the spinbox.
void setSingleStep (qlonglong s)
 Sets the step size for the spinbox.
void setSuffix (const QString &)
 Sets the spinbox suffix.
virtual void stepBy (int steps)
 Changes the spinbox value by a number of steps.
virtual QValidator::State validate (QString &input, int &pos) const
 Validates the spinbox input.
 ~QwwLongSpinBox ()

Protected Member Functions

virtual StepEnabled stepEnabled () const
virtual QString textFromValue (qlonglong value) const
virtual qlonglong valueFromText (const QString &text) const

Properties

qlonglong maximum []
 maximum value allowed for the spinbox
qlonglong minimum []
 minimum value allowed for the spinbox
QString prefix []
 spinbox's prefix
qlonglong singleStep []
 Returns the step for the spinbox.
QString suffix []
 spinbox's suffix
qlonglong value []
 spinbox value


Detailed Description

A spinbox taking long long values.

Definition at line 25 of file qwwlongspinbox.h.


Member Function Documentation

void QwwLongSpinBox::setMaximum ( qlonglong  v  ) 

Parameters:
v 

Definition at line 167 of file qwwlongspinbox.cpp.

void QwwLongSpinBox::setMinimum ( qlonglong  v  ) 

Parameters:
v 

Definition at line 178 of file qwwlongspinbox.cpp.

void QwwLongSpinBox::setPrefix ( const QString p  ) 

Sets the spinbox prefix.

Parameters:
p 

Definition at line 205 of file qwwlongspinbox.cpp.

void QwwLongSpinBox::setRange ( qlonglong  min,
qlonglong  max 
)

Sets the range of values allowed for the spinbox.

Parameters:
min 
max 

Definition at line 246 of file qwwlongspinbox.cpp.

void QwwLongSpinBox::setSingleStep ( qlonglong  s  ) 

Sets the step size for the spinbox.

Parameters:
s 

Definition at line 234 of file qwwlongspinbox.cpp.

void QwwLongSpinBox::setSuffix ( const QString s  ) 

Sets the spinbox suffix.

Parameters:
s 

Definition at line 215 of file qwwlongspinbox.cpp.

void QwwLongSpinBox::setValue ( qlonglong  v  )  [slot]

Sets the spinbox value.

Parameters:
v 

Definition at line 189 of file qwwlongspinbox.cpp.

void QwwLongSpinBox::stepBy ( int  steps  )  [virtual]

Changes the spinbox value by a number of steps.

Parameters:
steps 

Reimplemented from QAbstractSpinBox.

Definition at line 262 of file qwwlongspinbox.cpp.

QAbstractSpinBox::StepEnabled QwwLongSpinBox::stepEnabled (  )  const [protected, virtual]

Returns:

Definition at line 312 of file qwwlongspinbox.cpp.

QString QwwLongSpinBox::textFromValue ( qlonglong  value  )  const [protected, virtual]

Parameters:
value 
Returns:

Definition at line 148 of file qwwlongspinbox.cpp.

QValidator::State QwwLongSpinBox::validate ( QString input,
int &  pos 
) const [virtual]

Validates the spinbox input.

Parameters:
input 
pos 
Returns:

Definition at line 288 of file qwwlongspinbox.cpp.

qlonglong QwwLongSpinBox::valueFromText ( const QString text  )  const [protected, virtual]

Parameters:
text 
Returns:

Definition at line 158 of file qwwlongspinbox.cpp.


Property Documentation

qlonglong QwwLongSpinBox::singleStep [read, write]

Returns the step for the spinbox.

Returns:

Definition at line 32 of file qwwlongspinbox.h.


Generated on Sat Apr 21 21:54:36 2007 for wwWidgets by  doxygen 1.5.1