![]() |
Home · All Classes · All Functions · Overviews |
The QMaemo5AbstractPickSelector class provides the basic functionality for a class providing values for a QMaemo5ValueButton. More...
#include <QMaemo5AbstractPickSelector>
Inherits QObject.
Inherited by QMaemo5ListPickSelector and QMaemo5TimePickSelector.
This class was introduced in Qt 4.6.
QMaemo5AbstractPickSelector ( QObject * parent = 0 ) | |
~QMaemo5AbstractPickSelector () | |
virtual QString | currentValueText () const = 0 |
virtual QWidget * | widget ( QWidget * parent ) = 0 |
void | selected ( const QString & valueText ) |
The QMaemo5AbstractPickSelector class provides the basic functionality for a class providing values for a QMaemo5ValueButton.
To implement a pick selector you need to implement the widget() and currentValueText() functions.
See also QMaemo5ValueButton.
Constructs a new abstract pick selector with the given parent object.
Destroys the pick selector.
Returns the current text of this selector. This value is used as value text on a QMaemo5ValueButton.
See also QMaemo5ValueButton::valueText.
This signal is sent when the user chooses an item in the pick selector. The valueText parameter is the same as the return value of the currentValueText() function.
See also currentValueText().
Returns a widget that will be displayed when the associated QMaemo5ValueButton is pressed.
To be compliant with the Maemo 5 UI guidelines, a reimplementation of this function should return an instance of a QDialog subclass with the parent widget specified.
After the value has been selected, this widget should emit the selected signal and then hide itself.
Copyright © 2010 Nokia Corporation and/or its subsidiary(-ies) | Trademarks | Qt 4.6.2 |