[QGIS-Developer] Consistent Ordering (and terms) for buttons in dialogs

Tim Sutton tim at kartoza.com
Mon May 13 12:31:11 PDT 2019


Hi

This is usually a symptom of not using a QDialogButtonBox. If used the button box will automatically adjust the sequence to match the HIG guidelines for the client OS.

Regards

Tim

> On 13 May 2019, at 01:03, Jonathan Moules <jonathan-lists at lightpear.com> wrote:
> 
> Hi List,
> 
> There seems to be some inconsistent ordering and usage of the buttons on dialogs. Does QGIS have developer guidelines on this?
> 
> Largely it's fairly consistent but sometimes button orders seem incongruous. Also the use of "Cancel" versus "Close".
> 
> For example, Raster > "Raster Calculator" has: Ok, Cancel, Help
> 
> Raster > "Align Rasters": Ok, Close, Help
> 
> All the other data processing tools I looked at (not all) (Vector and Raster menus) were consistent:  Run, Close, Help
> 
> Data Source Manager: (other buttons), Close, Add, Help
> 
> Add new service/database dialog: Ok, Cancel, Help
> 
> CRS Dialog: Ok, Cancel, Help
> 
> Project settings: OK, Cancel, Apply, Help
> 
> Options: Ok, Cancel, Help
> 
> Style Manager: Close, Help
> 
> 
> ----
> 
> The ones that particularly jump out at me are:
> 
> * "Align Raster" using "close" not "cancel"
> 
> * Project Settings has an "Apply" but "Options" doesn't.
> 
> * Apply and Add seem to come after cancel/close but ok/run always comes before. Shouldn't add/apply be to the left?
> 
> * Data processing tools seem like they should be "Cancel" as they're Do/Do-Not dialogs.
> 
> These are minor things but consistency in the UI makes the application much easier to use as it lowers the cognitive burden on the user.
> 
> (3.4.3)
> 
> Cheers,
> 
> Jonathan
> 
> 
> 
> _______________________________________________
> QGIS-Developer mailing list
> QGIS-Developer at lists.osgeo.org
> List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
> Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer

—









Tim Sutton

Co-founder: Kartoza
Ex Project chair: QGIS.org

Visit http://kartoza.com <http://kartoza.com/> to find out about open source:

Desktop GIS programming services
Geospatial web development
GIS Training
Consulting Services

Skype: timlinux 
IRC: timlinux on #qgis at freenode.net

I'd love to connect. Here's my calendar link <https://calendly.com/timlinux> to make finding time easy.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/qgis-developer/attachments/20190513/ab5f59cc/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: KartozaNewLogoThumbnail.jpg
Type: image/jpeg
Size: 6122 bytes
Desc: not available
URL: <http://lists.osgeo.org/pipermail/qgis-developer/attachments/20190513/ab5f59cc/attachment-0001.jpg>


More information about the QGIS-Developer mailing list