Projects/Usability/HIG/CustomControls: Difference between revisions

From KDE TechBase
< Projects‎ | Usability‎ | HIG
(Created page with "__NOTOC__ {{Construction}} == Purpose == == Examples == == Guidelines == * Do you really need a custom widget? Check whether an existing widget cannot be used instead. * It ...")
 
(HIG moved to community)
 
(8 intermediate revisions by 3 users not shown)
Line 1: Line 1:
__NOTOC__
{{ Moved To Community | KDE_Visual_Design_Group/HIG/CustomControls }}
{{Construction}}
== Purpose ==
 
== Examples ==
 
== Guidelines ==
* Do you really need a custom widget? Check whether an existing widget cannot be used instead.
* It is strongly recommended to consult the usability team (https://git.reviewboard.kde.org/groups/usability/)
* Create interaction by following natural use. Find the appropriate metaphor and define a skeuomorph interface.
* Make sure your new widget:
** Resizes correctly
** Handles right-to-left setups
** Works well with different color schemes
** Looks as close to native as possible (use QStyle or QStylePainter to draw elements)
** Is based on an existing widget rather than a plain QWidget if possible
* If possible, consider making your widget reusable enough so that it can be integrated in standard widgets
== Implementation ==

Latest revision as of 11:26, 4 August 2016

This page is now on the community wiki.