subsurface/qt-mobile
Dirk Hohndel e774c8077b QML UI: allow edit of dive date and time
This is a bit more complicated because we are asking the user to edit the text
field instead of giving them a date and time picker. This is not a great
choice, but let's run with it for now.

One downside is that the user is likely going to edit the date "Oct 29" -> "Oct
25" without adjusting the day of the week. And if we then try to parse that Qt
correctly complains about an invalid date. So we hack around this by removing
the day of the week from both the format and the date entered (which of course
now will break things if the user did, in fact, adjust the day of the week). As
I said, not a great solution.

Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2016-01-05 22:53:32 -08:00
..
qml QML UI: allow edit of dive date and time 2016-01-05 22:53:32 -08:00
qmlmanager.cpp QML UI: allow edit of dive date and time 2016-01-05 22:53:32 -08:00
qmlmanager.h QML UI: allow edit of dive date and time 2016-01-05 22:53:32 -08:00
qmlprofile.cpp QML UI: make profile margin scale proportional to dimensions 2016-01-04 10:00:44 -08:00
qmlprofile.h QML UI: obtain a reasonable margin from QML 2015-12-29 09:50:47 -08:00