User:Andrew/HIG/EditingAndManipulation: Difference between revisions

From KDE UserBase Wiki
Line 1: Line 1:
__NOTOC__
__NOTOC__
= Editing and Manipulation =
= Editing and Manipulation =
Editing and Manipulation considers the behaviors that result in permanent changes to user’s stored information. Behaviors in this layer can often be recognized by the following traits: they result in permanent, stored changes; they require an implicit or explicit save operation; and they typically require validation of the input data.
=== Selection ===
=== Selection ===
* [https://techbase.kde.org/Projects/Usability/HIG/Radio Buttons Radio buttons] - Use radio buttons for selection of 1 out of a few items.
* [https://techbase.kde.org/Projects/Usability/HIG/Radio Buttons Radio buttons] - Use radio buttons for selection of 1 out of a few items.
Line 10: Line 12:


== Unconstrained input ==
== Unconstrained input ==
* Provide a [[Projects/Usability/HIG/LineEdit| line edit]] to enter one line of text.
* [https://techbase.kde.org/Projects/Usability/HIG/LineEditLline edit] - Use a line edit to enter one line of text.
* Provide a [[Projects/Usability/HIG/TextEdit| text edit]] to enter multiple lines of texts.
* [https://techbase.kde.org/Projects/Usability/HIG/TextEdit Text edit] - Use a text edit to enter multiple lines of texts.
* Use a [[Projects/Usability/HIG/TableView| table view]] to arrange data in rows and columns with inline editing feature.
* [https://techbase.kde.org/Projects/Usability/HIG/TableView Table view] - Use a table view to arrange data in rows and columns with inline editing feature.


== Constrained input ==
== Constrained input ==

Revision as of 04:53, 25 September 2014

Editing and Manipulation

Editing and Manipulation considers the behaviors that result in permanent changes to user’s stored information. Behaviors in this layer can often be recognized by the following traits: they result in permanent, stored changes; they require an implicit or explicit save operation; and they typically require validation of the input data.

Selection

  • Buttons Radio buttons - Use radio buttons for selection of 1 out of a few items.
  • Check boxes - Use one or more check box for clear options or to select items out of a small number of options.
  • Drop-down - Use a drop-down list for selection of 1 out of a small number of items.
  • Combo box - Use a combo box to select 1 out of a small number of items where users should be able to add items.
  • List view - Use a list view to select 1 singular item out of a potentially big list.
  • Dual list pattern - Apply the dual list pattern for several selections out of a large number of (multiple) items.

Unconstrained input

  • edit - Use a line edit to enter one line of text.
  • Text edit - Use a text edit to enter multiple lines of texts.
  • Table view - Use a table view to arrange data in rows and columns with inline editing feature.

Constrained input

  • Use a spin box for numerical input within a range and with fix steps.
  • Use a slider for arbitrary changes within a defined range.
  • Apply the slider and spin box pattern for numeric input with both large changes and precise control.
  • Use date and time pickers for formatted input of datum, time of day, or periods etc.