KDE Visual Design Group/KirigamiHIG/CommandPatterns/Toolbar: Difference between revisions

From KDE Community Wiki
(Created page)
 
(Added picture and link to Apidoc)
 
Line 1: Line 1:
= Toolbar =
= Toolbar =


<span style="color:red">TODO: Images</span>
[[FIle:Toolbar.png]]


== When to use ==
== When to use ==
Line 15: Line 15:


== Implementation ==
== Implementation ==
[https://api.kde.org/playground-api/libs-apidocs/kirigami/html/classorg_1_1kde_1_1kirigami_1_1ToolBarApplicationHeader.html org::kde::kirigami::ToolBarApplicationHeader]

Latest revision as of 16:41, 30 June 2016

Toolbar

When to use

Use toolbars only in desktop user interfaces, when there is a number of regularly used actions. When there are only one to three commonly used actions, you may consider using Action Buttons as an alternative. Do not use both a toolbar and action buttons.

How to use

  • If possible to find an easily recognizable icon for an action, use an icon-only button
  • Use separate toolbars per page for context-specific actions in Column-based UIs
  • Generally Order actions from the most common action on the left to the least common action on the right, but group semantically related actions (like save and open) together
  • If there are more actions than fit in the toolbar, put the rest of them in a Context Drawer

Implementation

org::kde::kirigami::ToolBarApplicationHeader