![]() |
Home · All Classes · All Functions · Overviews |
The QMaemo5TimePickSelector class can be used together with a QMaemo5ValueButton to allow the selection of a time. More...
#include <QMaemo5TimePickSelector>
Inherits QMaemo5AbstractPickSelector.
This class was introduced in Qt 4.6.
QMaemo5TimePickSelector ( QObject * parent = 0 ) | |
~QMaemo5TimePickSelector () | |
QTime | currentTime () const |
int | minuteStep () const |
void | setCurrentTime ( const QTime & time ) |
void | setMinuteStep ( int step ) |
virtual QString | currentValueText () const |
virtual QWidget * | widget ( QWidget * parent ) |
The QMaemo5TimePickSelector class can be used together with a QMaemo5ValueButton to allow the selection of a time.
The Maemo5 time pick selector is a Maemo 5 specific class that is mainly used together with the so called "picker buttons" on this platform. The picker will handle all internal communication, such as setting the value of the picker button after the user has selected the new time.
See also QMaemo5AbstractPickSelector.
This property holds the time displayed by the picker.
This time is displayed when the pick selector is shown. It is changed to the user selection after the user presses the accept button.
Access functions:
QTime | currentTime () const |
void | setCurrentTime ( const QTime & time ) |
This property holds the step used for the minute list.
Depending on this setting, the list will have from 1 to 60 entries. For example, setting it to 15 will result in a minute list with the entries 0, 15, 30, 45.
Although setting the step to a value larger than 60 does not make any sense, the minute list will still be shown with one entry of 0.
Access functions:
int | minuteStep () const |
void | setMinuteStep ( int step ) |
Constructs a new time pick selector with the given parent object.
Destroys the pick selector.
Reimplemented from QMaemo5AbstractPickSelector::currentValueText().
Reimplemented from QMaemo5AbstractPickSelector::widget().
Copyright © 2010 Nokia Corporation and/or its subsidiary(-ies) | Trademarks | Qt 4.6.2 |