Qt Reference Documentation

QMaemo5TimePickSelector Class Reference

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.

Properties

  • 1 property inherited from QObject

Public Functions

QMaemo5TimePickSelector ( QObject * parent = 0 )
~QMaemo5TimePickSelector ()
QTime currentTime () const
int minuteStep () const
void setCurrentTime ( const QTime & time )
void setMinuteStep ( int step )

Reimplemented Public Functions

virtual QString currentValueText () const
virtual QWidget * widget ( QWidget * parent )

Additional Inherited Members

Detailed Description

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.

Property Documentation

currentTime : QTime

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 )

minuteStep : int

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 )

Member Function Documentation

QMaemo5TimePickSelector::QMaemo5TimePickSelector ( QObject * parent = 0 )

Constructs a new time pick selector with the given parent object.

QMaemo5TimePickSelector::~QMaemo5TimePickSelector ()

Destroys the pick selector.

QString QMaemo5TimePickSelector::currentValueText () const [virtual]

Reimplemented from QMaemo5AbstractPickSelector::currentValueText().

QWidget * QMaemo5TimePickSelector::widget ( QWidget * parent ) [virtual]

Reimplemented from QMaemo5AbstractPickSelector::widget().

X

Thank you for giving your feedback.

Make sure it is related to this specific page. For more general bugs and requests, please use the Qt Bug Tracker.

[0]; s.parentNode.insertBefore(ga, s); })();