Skip to content

Commit 2ebab0e

Browse files
author
timlinux
committed
Added some HIG guidelines (more to come)
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@8433 c8812cc2-4d05-0410-92ff-de0c093fc19c
1 parent 0e08694 commit 2ebab0e

File tree

1 file changed

+24
-0
lines changed

1 file changed

+24
-0
lines changed

CODING.t2t

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1066,6 +1066,30 @@ check for regressions. Some aspects of the test system (in particular the
10661066
CMakeLists.txt parts) are still being worked on so that the testing framework
10671067
works in a truly platform way. I will update this document as things progress.
10681068

1069+
= HIG (Human Interface Guidelines) =
1070+
1071+
In order for all graphical user interface elements to appear consistant and
1072+
to all the user to instinctively use dialogs, it is important that the following
1073+
guidelines are followed in layout and design of GUIs.
1074+
1075+
+ Group related elements using group boxes:
1076+
Try to identify elements that can be grouped together and then use
1077+
group boxes with a label identify the topic of that group.
1078+
+ Capitalise first letter only in group box labels:
1079+
Group box labels should be written as a phrase with leading capital letter,
1080+
and all remaing words written with lower case first letters
1081+
+ Do not end labels for widgets or group boxes with a colon:
1082+
Adding a colon causes visual noise and does not impart additional meaning,
1083+
so dont use them.
1084+
+ Keep harmful actions away from harmless ones:
1085+
If you have actions for 'delete', 'remove' etc, try to impose adequate
1086+
space between the harmful action and innocuous actions so that the users
1087+
is less likely to inadvertantly click on the harmful action.
1088+
+ Always use a QButtonBox for 'Ok', 'Cancel' etc buttons:
1089+
Using a button box will ensure that the order of 'Ok' and 'Cancel' etc,
1090+
buttons is consistent with the operating system / locale / desktop
1091+
environment that the user is using.
1092+
10691093
= Authors =
10701094

10711095
* Tim Sutton (author and editor)

0 commit comments

Comments
 (0)