[maemo-developers] Qt Date & Time Picker?

From: Francesco Balestrieri bale at balenet.com
Date: Wed Aug 18 07:07:00 EEST 2010
On Aug 18, 2010, at 4:02 AM, Robin Burchell wrote:

> Hi,
> 
> Excerpts from Francesco Balestrieri's message of Tue Aug 17 17:11:42 +0100 2010:
>> The optimal for my use case would be to show an extra button in the Hildon-style Time Picker dialog (QMaemo5TimePickSelector) and open a date picker dialog when it's pressed, but I couldn't figure out how to customize the time picker to do that.
> 
> QMaemo5TimePickSelector inherits from QMaemo5AbstractPickSelector, which has a
> selected(const QString &) signal which you could listen to.

Thanks. However this would mean asking the user to select date and time everytime, whereas I would like the date to be set only if needed (my description of the use case wasn't clear, sorry)

> 
> The problem as I see would be that I don't think there's a Maemo date selector widget,
> AFAIK...

I thought there was, at least QMaemo5DatePickSelector is part of the public API if I'm not mistaken.

I guess I'll make my own dialog with regular Qt input fields for date and time.

Francesco

More information about the maemo-developers mailing list