← Back to team overview

qreator-discuss team mailing list archive

Date-Time picker for the Event QR code

 

Hi,

A while ago I started to implement the event datatype for qreator, but
got stuck at the UI for the date time picker.

A typical event will have a start- and an end-time and date. And I
would like to have a nice UI for that.
I know that we will switch from Gtk soon, but I guess that there might
be another Gtk release before that and Gtk does not have a build-in
date+time picker, so:
do you have any preference on the design? I have search for examples
with other toolkits and found these:

http://tirania.org/pictures/hwidgets/datetime-picker.jpg
http://jonathonhill.net/wp-content/uploads/2009/03/date-time.jpg
http://opendatakit.org/wp-content/uploads/static/form-design/images-scaled/datetime.png

The date is easy and has a standard Gtk implementation (a calendar),
however the time widget is more complicated:
The basic ideas are:
- a clock (normal, 0-12, with an additional am/pm switch): good: looks
very natural. bad: am/pm is not easy to localize (there is e.g. no
German equivalent, we only use 0-24, which is not easy to portrait in
a clock...)
- slider for hour minute: good: easy to implement, bad: not a very
natural/common way to select time
- counter widgets with up/down buttons for hour/minute or even for
year/month/day/hour/minute: good: close to the typical iPhone selector
wheels. bad: better for touch than for mouse

What do you think? Do you have a favorite? Or would you stop and wait for Qt...

Cheers,
Stefan


Follow ups