Qt Reference Documentation

QMaemo5DatePickSelector Class Reference

The QMaemo5DatePickSelector class can be used together with a QMaemo5ValueButton to allow the selection of a date. More...

 #include <QMaemo5DatePickSelector>

Inherits QMaemo5AbstractPickSelector.

This class was introduced in Qt 4.6.

Properties

  • 1 property inherited from QObject

Public Functions

QMaemo5DatePickSelector ( QObject * parent = 0 )
~QMaemo5DatePickSelector ()
QDate currentDate () const
int maximumYear () const
int minimumYear () const
void setCurrentDate ( const QDate & date )
void setMaximumYear ( int maxYear )
void setMinimumYear ( int minYear )

Reimplemented Public Functions

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

Additional Inherited Members

Detailed Description

The QMaemo5DatePickSelector class can be used together with a QMaemo5ValueButton to allow the selection of a date.

The Maemo5 date 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 date.

See also QMaemo5AbstractPickSelector.

Property Documentation

currentDate : QDate

This property holds the currently selected date.

This property holds the date that is currently selected.

Access functions:

QDate currentDate () const
void setCurrentDate ( const QDate & date )

maximumYear : int

This property holds the maximum year.

This property holds the maximum year a user can choose.

Access functions:

int maximumYear () const
void setMaximumYear ( int maxYear )

minimumYear : int

This property holds the minimum year.

This property holds the minimum year a user can choose.

Access functions:

int minimumYear () const
void setMinimumYear ( int minYear )

Member Function Documentation

QMaemo5DatePickSelector::QMaemo5DatePickSelector ( QObject * parent = 0 )

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

QMaemo5DatePickSelector::~QMaemo5DatePickSelector ()

Destroys the pick selector.

QString QMaemo5DatePickSelector::currentValueText () const [virtual]

Reimplemented from QMaemo5AbstractPickSelector::currentValueText().

QWidget * QMaemo5DatePickSelector::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); })();