Difference between revisions of "Projects/Usability/HIG/CustomControls"

< Projects‎ | Usability‎ | HIG
Jump to: navigation, search
(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 ...")
 
(Guidelines)
Line 8: Line 8:
 
* Do you really need a custom widget? Check whether an existing widget cannot be used instead.
 
* 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/)  
 
* 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.
+
* Create interaction by following natural design. Find the appropriate metaphor and define a skeuomorph interface.
 
* Make sure your new widget:
 
* Make sure your new widget:
 
** Resizes correctly
 
** Resizes correctly
Line 16: Line 16:
 
** Is based on an existing widget rather than a plain QWidget if possible
 
** 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
 
* If possible, consider making your widget reusable enough so that it can be integrated in standard widgets
 +
 
== Implementation ==
 
== Implementation ==

Revision as of 08:29, 10 July 2013

Under construction.png
 
Under Construction
This is a new page, currently under 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 design. 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


KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V.Legal