[Qgis-developer] Update of composer item's GUI (Pull Request)

Olivier Dalang olivier.dalang at gmail.com
Tue Feb 12 08:27:34 PST 2013


Hi !

I've made a pull request that induces some changes in the Composer's items
GUI.
If you are interested, please have a look (feedback is of course welcome) :

https://github.com/qgis/Quantum-GIS/pull/426

Best regards,

Olivier


####################################################

The differencesQToolBox replaced by QCollapsibleGroupBox(es).

*before*

   - a lot of wasted space
   - unpractical (you must toggle back and forth to edit elements on
   different pages)
   - not very good looking (it looks messy and it's hard to distinguigh
   from QDockWindowss)

*after*

   - QgsCollapsibleGroupBoxes look great and provide a nice outline of all
   features when folded
   - Easier to adapt to your needs and screen size

QToolBox replaced by QCollapsibleGroupBox(es).

   - so you can dynamically reposition/resize the items without having to
   open a modal dialog.
   - also provides a nice feedback on element's position

Harmonisation and optimisation of widget layouts

   - most of the widgets had uneven spacing (looked a bit sketchy)
   - some widgets where uselessly big
   - better hiearchy and grouping of similar options

Duplicate/Ambigious/Unclear functionalities

   - QgsComposerShape had duplicate implemtation of frame and background

Changes

The work was mainly done in the .ui files, but some classes are a little
more modified :

   - QgsComposerShape (clean duplicate frame/background implementation)
   - QgsItemPositionDialog was merged into QgsComposerItemWidget, which
   also makes some change

Screenshots

Here are screenshots of all modified widgets :
https://www.dropbox.com/sh/gkte3o126doe4ue/YfN_iVxRKx
Todo

   - I think it would be nice to integrate the atlas' widget into the
   composition's widget
   - It would be nice if there was a collapse/expand all button (or a
   shortcut (alt-click ?) to collapse all other QgsCollapsibleBoxes)
   - Use color buttons wherever possible

So...

What do you think ?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/qgis-developer/attachments/20130212/99c00273/attachment.html>


More information about the Qgis-developer mailing list