Projects/Usability/HIG/Date Time Pickers: Difference between revisions

From KDE TechBase
< Projects‎ | Usability‎ | HIG
(Add new screenshot and list of implementation classes)
(HIG moved to community)
 
(7 intermediate revisions by one other user not shown)
Line 1: Line 1:
== Purpose ==
{{ Moved To Community | KDE_Visual_Design_Group/HIG/Date Time Pickers }}
 
Date time pickers allows the user to type or pick a date, a time, or both.
 
[[file:Date_Time_Pickers.png]]
 
== Guidelines ==
 
* When selecting a date, if space is limited, use a KDateComboBox or a KDateWidget. If more room is available, use a KDatePicker.
* When user must select both start and end date/times, make the default end date/time aware of the start date/time: when the user sets a start date, switch the end date at least to the same date.
 
== Implementation ==
=== Time-only controls ===
* [http://api.kde.org/4.10-api/kdelibs-apidocs/kdeui/html/classKTimeComboBox.html KTimeComboBox]
 
=== Date-only controls ===
* [http://api.kde.org/4.10-api/kdelibs-apidocs/kdeui/html/classKDateComboBox.html KDateComboBox]
* [http://api.kde.org/4.10-api/kdelibs-apidocs/kdeui/html/classKDatePicker.html KDatePicker]
* [http://api.kde.org/4.10-api/kdelibs-apidocs/kdeui/html/classKDateTable.html KDateTable]
* [http://api.kde.org/4.10-api/kdelibs-apidocs/kdeui/html/classKDateWidget.html KDateWidget]
 
=== Date-time controls ===
* [http://api.kde.org/4.10-api/kdelibs-apidocs/kdeui/html/classKDateTimeEdit.html KDateTimeEdit]
* [http://api.kde.org/4.10-api/kdelibs-apidocs/kdeui/html/classKDateTimeWidget.html KDateTimeWidget]

Latest revision as of 11:26, 4 August 2016

This page is now on the community wiki.