From 28679658d275818c741f7b6554bbac7e4436b690 Mon Sep 17 00:00:00 2001 From: Pietro Gagliardi Date: Sat, 10 Jan 2015 19:22:42 -0500 Subject: [PATCH] Added a mockup describing the planned GTK+ date/time picker. --- gtkdtp/mockup.ui | 299 +++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 299 insertions(+) create mode 100644 gtkdtp/mockup.ui diff --git a/gtkdtp/mockup.ui b/gtkdtp/mockup.ui new file mode 100644 index 0000000..ebd12d8 --- /dev/null +++ b/gtkdtp/mockup.ui @@ -0,0 +1,299 @@ + + + + + + 1 + 12 + 1 + 10 + + + 59 + 1 + 10 + + + False + + + True + False + 12 + 12 + 12 + 12 + 12 + + + True + False + vertical + + + True + False + Unopened + + + False + True + 0 + + + + + True + False + True + + + False + 10 Jan 2015 7:01 PM + + + + + False + True + 1 + + + + + True + False + Each component of the date/time string is a clickable item; free-form text cannot be entered. Clicking an item selects it; typing and the arrow keys change the values. Right clicking produces a Copy item and possibly an Undo item; the standard keyboard shortcuts will also work. + True + + + False + True + 2 + + + + + False + True + 0 + + + + + True + False + + + False + True + 1 + + + + + True + False + vertical + + + True + False + Opened + + + False + True + 0 + + + + + True + False + True + + + False + 10 Jan 2015 7:01 PM + + + + + False + True + 1 + + + + + True + False + 0 + out + + + True + False + 12 + 12 + 12 + 12 + vertical + 6 + + + True + True + 2015 + 10 + + + False + True + 0 + + + + + True + False + + + True + True + adjustment1 + 7 + + + False + True + 0 + + + + + True + False + : + + + False + True + 1 + + + + + True + True + adjustment2 + 1 + + + False + True + 2 + + + + + True + False + 1 + + AM + PM + + + + False + True + 3 + + + + + False + True + 1 + + + + + True + False + end + 6 + True + + + Today + True + True + True + + + False + True + 0 + + + + + Revert + True + True + True + + + False + True + 1 + + + + + False + False + end + 2 + + + + + + + + + + False + True + 2 + + + + + True + False + The combobox part works exactly like in the unopened mode. When opened, the popup shows a calendar, more conventional time editing, and buttons to select the current date/time and undo any changes made while the popup was open. Closing the popup (in the same way you would close a combobox popup) applies changes. +The label of the Today button changes depending on whether dates only, times only, or both can be chosen. + True + + + False + True + 3 + + + + + False + True + 2 + + + + + +