QwwTextSpinBox Class

The QwwTextSpinBox widget provides a spin box with configurable set of texts More...

Header: #include <QwwTextSpinBox>

Properties

Public Functions

QwwTextSpinBox(QWidget * parent = 0)
QwwTextSpinBox(const QStringList & strings, QWidget * parent = 0)

Public Slots

void setStrings(const QStringList & strings)
const QStringList & strings() const

Signals

void stringsChanged(const QStringList & strings)

Detailed Description

The QwwTextSpinBox widget provides a spin box with configurable set of texts

Property Documentation

strings : QStringList

This property holds this property holds a list of strings for the widget.

Access functions:

const QStringList & strings() const
void setStrings(const QStringList & strings)

Member Function Documentation

QwwTextSpinBox::QwwTextSpinBox(QWidget * parent = 0)

Constrcuts a text spin box with a given parent.

QwwTextSpinBox::QwwTextSpinBox(const QStringList & strings, QWidget * parent = 0)

Constructs a text spin box with a given parent and a list of strings as its contents

void QwwTextSpinBox::stringsChanged(const QStringList & strings) [signal]

This signal is emitted when the list of strings associated with the widget changes to strings.