[Qgis-developer] Toolbar and Panel defaults

Nathan Woodrow madmanwoo at gmail.com
Thu Jul 11 17:19:31 PDT 2013


So it is possible to get the toolbar inside the map canvas area by changing
the central widget to a QMainWindow and adding the toolbar to that.

So you end up with:

QMainWindow (QGIS Main Window)
 - QWidget (CentralWidget)
 -- QLayout
 ----QMainWindow
 ------ QToolbar
 ------ MapCavnas

http://i.imgur.com/85ggkiF.png

However you loss the ability to dock out side of the map canvas, and there
is a strange rendering issue with the toolbar.  It could work with some
magic but I think it would be pretty hacky.


On Fri, Jul 12, 2013 at 9:33 AM, Pirmin Kalberer <pi_ml at sourcepole.com>wrote:

> Hi Larry, Nathan,
>
> Am Mittwoch, 10. Juli 2013, 17.05:56 schrieb Larry Shaffer:
> >
> > On Wed, Jul 10, 2013 at 4:51 PM, Nathan Woodrow <madmanwoo at gmail.com>
> wrote:
> > > Having the nav toolbar on the side would be ideal if you could dock it
> on
> > > the right side of the layers panel.  I'm not a fan of having to go all
> the
> > > way over the layer panel to access the navigation tools.
> >
> > That's a very good point. What about the Navigation toolbar on the right,
> > with the Plugin toolbar filling the empty space at right on the first row
> > of horizontal toolbars?
> >
> > Here's my reasoning. Nav tools are quickly accessible, and when a new
> user
> > downloads/installs a plugin, there is already space to show it (assuming
> > that plugin loads a tool button into the Plugins toolbar). Then the user
> > can move toolbars to their liking.
> >
> > Any other ideas?
>
> I'm not a friend of a toolbar on the right side, because it's too far away
> when the Sextante toolbox is displayed.
> I propose to put the layer toolbar on the left side. This will feel quite
> new
> for most users, but it makes sense to have it at the side of the layers
> panel
> and the browser which also has an "add layer" functionality.
> +1 for activating the plugin toolbar filling empty space.
>
> Pirmin
>
> >
> > [0] http://drive.dakotacarto.com/qgis/qgis_default_nav-tools-right.png
> >
> > Regards,
> >
> > Larry
> >
> >
> > - Nathan
> >
> > > On Thu, Jul 11, 2013 at 8:49 AM, Larry Shaffer
> <larrys at dakotacarto.com>wrote:
> > >> H Pirmin,
> > >>
> > >> On Wed, Jul 10, 2013 at 3:29 PM, Pirmin Kalberer
> <pi_ml at sourcepole.com>wrote:
> > >>> Hi Jürgen,
> > >>>
> > >>> Am Mittwoch, 10. Juli 2013, 08.38:38 schrieb Jürgen E. Fischer:
> > >>> > On Tue, 09. Jul 2013 at 22:55:18 +0200, Pirmin Kalberer wrote:
> > >>> > > Toolbars:
> > >>> > > -Turn off Advanced Digitizing
> > >>> > > -Move Label to second row
> > >>> > >
> > >>> > > Panels:
> > >>> > > -Turn on Layer order and Browser in a tabbed view with Layers
> > >>> > >
> > >>> > > Print composer:
> > >>> > > -Place all toolbars in one row
> > >>> >
> > >>> > In case anyone missed it:  scripts/mkuidefaults.py produces
> > >>> > src/app/ui_defaults.h from the current settings.
> > >>>
> > >>> Didn't know that. Updated the script to support composer UI defaults.
> > >>
> > >> Couple of other ideas comments, too:
> > >>
> > >> * Currently there are no side toolbars by default. Many apps utilize
> the
> > >> left side toolbar for critical tools. To me, such tools in a GIS app
> are
> > >> the canvas navigation tools. So whenever I to an initial setup of
> QGIS, I
> > >> always put the Map Navigation toolbar on the left.
> > >>
> > >> * Similarly, I always place the Plugins toolbar on the right side.
> There
> > >> is currently a bug that sets that toolbar to not be shown on a default
> > >> install (that should be fixed).
> > >>
> > >> I would like to hear feedback on those two suggestions for default
> side
> > >> toolbars. Following your suggestions (and mine), the default window
> would
> > >> look similar to this (on Mac) [0].
> > >>
> > >> +1 for removing Advanced Digitizing toolbar as a default, as all of
> the
> > >> functions are available in the Edit menu already. If needed, the user
> can
> > >> show that toolbar.
> > >>
> > >> Another major layout issue is what the layout looks like after
> turning on
> > >> all core plugins [1]. Then, what it looks like when all those plugin
> > >> toolbars are shown [2]. This needs some work.
> > >>
> > >>
> > >> [0] http://drive.dakotacarto.com/qgis/qgis_default.png
> > >> [1]
> > >>
> http://drive.dakotacarto.com/qgis/qgis_default_core-plugins_no-extra-tool
> > >> bars.png [2]
> > >>
> http://drive.dakotacarto.com/qgis/qgis_default_core-plugins_with-toolbars
> > >> .png
> > >>
> > >> Regards,
> > >>
> > >> Larry
> > >>
> > >>> > So updating it should be easy, once it's decides what should be the
> > >>>
> > >>> default.
> > >>>
> > >>> > Not sure if the data contains pixel coordinates and if the screen
> > >>>
> > >>> resolution
> > >>>
> > >>> > might therefore be an issue...
> > >>>
> > >>> Let's try: https://github.com/qgis/Quantum-GIS/pull/710
> > >>>
> > >>> Pirmin
> > >>>
> > >>> --
> > >>> Pirmin Kalberer
> > >>> Sourcepole  -  Linux & Open Source Solutions
> > >>> http://www.sourcepole.com
> > >>>
> > >>> _______________________________________________
> > >>> Qgis-developer mailing list
> > >>> Qgis-developer at lists.osgeo.org
> > >>> http://lists.osgeo.org/mailman/listinfo/qgis-developer
> > >>
> > >> _______________________________________________
> > >> Qgis-developer mailing list
> > >> Qgis-developer at lists.osgeo.org
> > >> http://lists.osgeo.org/mailman/listinfo/qgis-developer
> --
> Pirmin Kalberer
> Sourcepole  -  Linux & Open Source Solutions
> http://www.sourcepole.com
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/qgis-developer/attachments/20130712/4410f1f3/attachment-0001.html>


More information about the Qgis-developer mailing list