User:Andrew/HIG/EditingAndManipulation: Difference between revisions

    From KDE UserBase Wiki
     
    (10 intermediate revisions by the same user not shown)
    Line 1: Line 1:
    __NOTOC__
    __NOTOC__
    = Editing and Manipulation =
    = Editing and Manipulation =
    === Selection ===
    Editing and Manipulation considers the behaviors that result in persistent changes to user’s stored information. Behaviors in this layer can often be recognized by the following traits: they result in persistent, stored changes; they require an implicit or explicit save operation; and they typically require validation of the input data.
    * [https://techbase.kde.org/Projects/Usability/HIG/Radio Buttons Radio buttons] - Use radio buttons for selection of 1 out of a few items.
     
    == 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/Check_Box Check boxes] - Use one or more check box for clear options or to select items out of a small number of options.
    * [https://techbase.kde.org/Projects/Usability/HIG/Check_Box Check boxes] - Use one or more check box for clear options or to select items out of a small number of options.
    * [https://techbase.kde.org/Projects/Usability/HIG/DropDown Drop-down] - Use a drop-down list for selection of 1 out of a small number of items.
    * [https://techbase.kde.org/Projects/Usability/HIG/DropDown Drop-down] - Use a drop-down list for selection of 1 out of a small number of 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/LineEdit Line 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 ==
    * Use a [[Projects/Usability/HIG/Spin_Box|spin box]] for numerical input within a range and with fix steps.
    * [https://techbase.kde.org/Projects/Usability/HIG/Spin_Box Spin box] - Use a spin box for numerical input within a range and with fix steps.
    * Use a [[Projects/Usability/HIG/Slider|slider]] for arbitrary changes within a defined range.
    * [https://techbase.kde.org/Projects/Usability/HIG/Slider Slider] - Use a slider for arbitrary changes within a defined range.
    * Apply the [[Projects/Usability/HIG/Slider_and_Spin_Box|slider and spin box pattern]] for numeric input with both large changes and precise control.
    * [https://techbase.kde.org/Projects/Usability/HIG/Slider_and_Spin_Box Slider and spin box pattern] - Apply the slider and spin box pattern for numeric input with both large changes and precise control.
    * Use [[Projects/Usability/HIG/Date_Time_Pickers|date and time pickers]] for formatted input of datum, time of day, or periods etc.
    * [https://techbase.kde.org/Projects/Usability/HIG/Date_Time_Pickers Date and time pickers] - Use date and time pickers for formatted input of date, time of day, or periods etc.
     
    == Viewing vs Editing ==
    * Do not use input controls to show information unless there is an explicit request to edit the information. See the [https://techbase.kde.org/Projects/Usability/HIG/Layout/ViewingVsEditing Viewing vs Editing] guidelines for more.

    Latest revision as of 07:10, 25 September 2014

    Editing and Manipulation

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

    Selection

    • 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

    • Line 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

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

    Viewing vs Editing

    • Do not use input controls to show information unless there is an explicit request to edit the information. See the Viewing vs Editing guidelines for more.