[QGIS-Developer] [Qgis-psc] [Qgis-developer] Are there plans to create a unique "Add layer" tool?

Alessandro Pasotti apasotti at gmail.com
Thu May 18 23:34:07 PDT 2017


just a quick update on this topic: we've started yesterday the work on this
task, here is the plan:
- morph the various providers *selectWidget( QWidget *parent,
Qt::WindowFlags fl ) to return a widget and not a dialog (as per original
- create a generic dialog wrapper to maintain the existing dialogs
available from the main menu (and as keyboard shortcuts)
- create the unified layer dialog (dockable!)
- insert the widgets into a stacked widget in the unified dialog
- preliminary tests
- final polishing (styles, docking behavior, usability enhancements)
- tests

I'll try to make a prototype PR as soon as I have at least one provider
available so that everybody can track the progresses.

Suggestions welcome!

A very early preliminary test: http://www.itopen.it/bulk/unibutton.png

On Fri, May 19, 2017 at 1:23 AM, Nyall Dawson <nyall.dawson at gmail.com>

> On 11 May 2017 at 07:43, Tim Sutton <tim at kartoza.com> wrote:
> >
> > Hi
> >
> >
> > On Wed, May 10, 2017 at 6:35 PM, Alexandre Neto <senhor.neto at gmail.com>
> wrote:
> >>
> >> Hello all,
> >>
> >> Following what was discussed in Essen hackfest about the unified Add
> Layer tool (described in the end of this document), I'm happy to inform
> that Boundless decided to allocate resources to implement the Step 1.
> >>
> >> "Step 1: Add a tabbed view to the existing browser (vertical column in
> the following mockup). The default view is the basic browser. The remaining
> tabs open the existing dialog UIs embedded inside the browser window."
> >>
> >> As decided, we will have a PR in time for 3.0.
> >
> >
> On this note - I've recently discovered the need for some type of
> reusable layer selection widget which allows choice of existing
> layers/loading new layers from the file system/loading new layers from
> available db/online connections. This would be extremely valuable for
> processing too!
> So I'm really glad to hear that you'll be pushing ahead with this work
> - thanks Boundless!
> Nyall
> _______________________________________________
> 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

Alessandro Pasotti
w3:   www.itopen.it
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/qgis-developer/attachments/20170519/ef5e8453/attachment-0001.html>

More information about the QGIS-Developer mailing list