wwWidgets Home · All Classes · Main Classes · Grouped Classes · Functions

QwwLongSpinBox Class Reference
[wwWidgets module]

The QwwLongSpinBox class provides a spinbox taking long long values. More...

 #include <QwwLongSpinBox>

This class is not part of the Qt GUI Framework Edition.

Inherits QAbstractSpinBox.


Properties


Public Functions

QwwLongSpinBox ( QWidget * parent = 0 )
qlonglong maximum () const
qlonglong minimum () const
const QString & prefix () const
void setMaximum ( qlonglong v )
void setMinimum ( qlonglong v )
void setPrefix ( const QString & )
void setRange ( qlonglong min, qlonglong max )
void setSingleStep ( qlonglong s )
void setSuffix ( const QString & )
qlonglong singleStep () const
const QString & suffix () const
qlonglong value () const

Reimplemented Public Functions

virtual void fixup ( QString & input ) const
virtual void stepBy ( int steps )
virtual QValidator::State validate ( QString & input, int & pos ) const

Public Slots

void setValue ( qlonglong v )

Signals

void valueChanged ( qlonglong i )
void valueChanged ( const QString & text )

Protected Functions

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

Reimplemented Protected Functions

virtual StepEnabled stepEnabled () const

Additional Inherited Members


Detailed Description

The QwwLongSpinBox class provides a spinbox taking long long values.

QwwLongSpinBox


Property Documentation

maximum : qlonglong

This property holds property holds the maximum value allowed for the spinbox.

Access functions:

qlonglong maximum () const
void setMaximum ( qlonglong v )

minimum : qlonglong

This property holds property holds the minimum value allowed for the spinbox.

Access functions:

qlonglong minimum () const
void setMinimum ( qlonglong v )

prefix : QString

This property holds property holds the spinbox's prefix.

Access functions:

const QString & prefix () const
void setPrefix ( const QString & )

singleStep : qlonglong

This property holds this property holds the step for the spinbox.

Access functions:

qlonglong singleStep () const
void setSingleStep ( qlonglong s )

suffix : QString

This property holds property holds the spinbox's suffix.

Access functions:

const QString & suffix () const
void setSuffix ( const QString & )

value : qlonglong

This property holds property holds the spinbox value.

Access functions:

qlonglong value () const
void setValue ( qlonglong v )

Notifier signal:

void valueChanged ( qlonglong i )
void valueChanged ( const QString & text )

Member Function Documentation

QwwLongSpinBox::QwwLongSpinBox ( QWidget * parent = 0 )

Constructs a long spin box widget with a given parent.

void QwwLongSpinBox::fixup ( QString & input ) const   [virtual]

Reimplemented from QAbstractSpinBox::fixup().

Attempts to correct the input.

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

Sets the range of values allowed for the spinbox to min and max

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

Reimplemented from QAbstractSpinBox::stepBy().

Changes the spinbox value by a number of steps steps

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

Reimplemented from QAbstractSpinBox::stepEnabled().

Returns set of enabled steps.

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

Returns textual representation of the value.

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

Reimplemented from QAbstractSpinBox::validate().

Validates the spinbox input with cursor at position pos

void QwwLongSpinBox::valueChanged ( qlonglong i )   [signal]

This signal is emitted whenever value of the spin box is set to i

void QwwLongSpinBox::valueChanged ( const QString & text )   [signal]

This signal is emitted whenever the textual representation of the value changes to text.

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

Returns numerical representation of the text.


Copyright © 2007-2010 Witold Wysota Trademarks
wwWidgets 1.0.0