Skip to content

Commit f133505

Browse files
author
timlinux
committedNov 15, 2010
Updated HIG guidelines
git-svn-id: http://svn.osgeo.org/qgis/trunk@14682 c8812cc2-4d05-0410-92ff-de0c093fc19c
1 parent 5383075 commit f133505

File tree

2 files changed

+43
-1
lines changed

2 files changed

+43
-1
lines changed
 

‎CODING

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1399,6 +1399,27 @@ guidelines are followed in layout and design of GUIs.
13991399
Using a button box will ensure that the order of 'OK' and 'Cancel' etc,
14001400
buttons is consistent with the operating system / locale / desktop
14011401
environment that the user is using.
1402+
6. Tabs should not be nested. If you use tabs, follow the style of the
1403+
tabs used in QgsVectorLayerProperties / QgsProjectProperties etc.
1404+
i.e. tabs at top with icons at 32x32.
1405+
7. Widget stacks should be avoided if at all possible. They cause problems with
1406+
layouts and inexplicable (to the user) resizing of dialogs to accommodate
1407+
widgets that are not visible.
1408+
8. Try to avoid technical terms and rather use a laymans equivalent e.g. use
1409+
the word 'Transparency' rather than 'Alpha Channel' (contrived example),
1410+
'Text' instead of 'String' and so on.
1411+
9. Use consistent iconography. If you need an icon or icon elements, please
1412+
contact Robert Szczepanek on the mailing list for assistance.
1413+
10. Place long lists of widgets into scroll boxes. No dialog should exceed 580
1414+
pixels in height and 1000 pixels in width.
1415+
11. Separate advanced options from basic ones. Novice users should be able to
1416+
quickly access the items needed for basic activities without needing to
1417+
concern themselves with complexity of advanced features. Advanced features
1418+
should either be located below a dividing line, or placed onto a separate tab.
1419+
12. Don't add options for the sake of having lots of options. Strive to keep the
1420+
user interface minimalistic and use sensible defaults.
1421+
13. If clicking a button will spawn a new dialog, an ellipsis (...) should be
1422+
suffixed to the button text.
14021423

14031424

14041425

‎doc/CODING.t2t

Lines changed: 22 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1280,7 +1280,28 @@ guidelines are followed in layout and design of GUIs.
12801280
Using a button box will ensure that the order of 'OK' and 'Cancel' etc,
12811281
buttons is consistent with the operating system / locale / desktop
12821282
environment that the user is using.
1283-
+
1283+
+ Tabs should not be nested. If you use tabs, follow the style of the
1284+
tabs used in QgsVectorLayerProperties / QgsProjectProperties etc.
1285+
i.e. tabs at top with icons at 32x32.
1286+
+ Widget stacks should be avoided if at all possible. They cause problems with
1287+
layouts and inexplicable (to the user) resizing of dialogs to accommodate
1288+
widgets that are not visible.
1289+
+ Try to avoid technical terms and rather use a laymans equivalent e.g. use
1290+
the word 'Transparency' rather than 'Alpha Channel' (contrived example),
1291+
'Text' instead of 'String' and so on.
1292+
+ Use consistent iconography. If you need an icon or icon elements, please
1293+
contact Robert Szczepanek on the mailing list for assistance.
1294+
+ Place long lists of widgets into scroll boxes. No dialog should exceed 580
1295+
pixels in height and 1000 pixels in width.
1296+
+ Separate advanced options from basic ones. Novice users should be able to
1297+
quickly access the items needed for basic activities without needing to
1298+
concern themselves with complexity of advanced features. Advanced features
1299+
should either be located below a dividing line, or placed onto a separate tab.
1300+
+ Don't add options for the sake of having lots of options. Strive to keep the
1301+
user interface minimalistic and use sensible defaults.
1302+
+ If clicking a button will spawn a new dialog, an ellipsis (...) should be
1303+
suffixed to the button text.
1304+
+
12841305

12851306

12861307
= Authors =

0 commit comments

Comments
 (0)
Please sign in to comment.