<html><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8"><title></title><style type="text/css">.felamimail-body-blockquote {margin: 5px 10px 0 3px;padding-left: 10px;border-left: 2px solid #000088;} </style></head><body>Viewing and Navigation: Complex views<br>* If you really need to create your own widget follow the guidelines for custom controls. <br><br>{{Construction}}<br>== Purpose ==<br><br>== Examples ==<br><br>== Guidelines ==<br>* Do you really need a custom widget? Check whether an existing widget cannot be used instead.<br>* It is strongly recommended to consult the usability team (https://git.reviewboard.kde.org/groups/usability/) <br>* Create interaction by following natural design. Find the appropriate metaphor and define a skeuomorph interface.<br>* Make sure your new widget:<br>** Resizes correctly<br>** Handles right-to-left setups<br>** Works well with different color schemes<br>** Looks as close to native as possible (use QStyle or QStylePainter to draw elements)<br>** Is based on an existing widget rather than a plain QWidget if possible<br>* If possible, consider making your widget reusable enough so that it can be integrated in standard widgets<br>== Implementation ==<br><br><br>(Just to put all idea together in one place. There are a lot of aspects to add.)<br></body></html>