Projects/Usability/HIG/Buttons: Difference between revisions

From KDE TechBase
< Projects‎ | Usability‎ | HIG
(Reword a bit, add Implementation section)
(HIG moved to community)
 
(9 intermediate revisions by 3 users not shown)
Line 1: Line 1:
= Purpose =
{{ Moved To Community | KDE_Visual_Design_Group/HIG/Buttons }}
 
A button initiates an action when the user clicks it.
 
= Guidelines =
* Use [[Projects/Usability/HIG/Capitalization|title style capitalization]] for the label.
* Buttons are not dynamic: their icon and label should not change depending on the context. [[Projects/Usability/HIG/Toggle_Buttons|Toggle buttons]] are a special case where a button has a state.
* Do not initiate an action on right-click or double-click.
* Prefer using icons on buttons only for OK, Apply or Cancel like actions. Passive actions like those in the "System Settings => Application Appearance => Fonts" do not have icons.
 
= Implementation =
[http://api.kde.org/4.10-api/kdelibs-apidocs/kdeui/html/classKPushButton.html KPushButton]

Latest revision as of 11:26, 4 August 2016

This page is now on the community wiki.