[QGIS-trac] Re: [Quantum GIS] #3447: Grouping "add layer" toolbar
buttons
Quantum GIS
qgis at qgis.org
Mon Jan 31 03:11:46 EST 2011
#3447: Grouping "add layer" toolbar buttons
--------------------------------+-------------------------------------------
Reporter: alexbruy | Owner: timlinux
Type: patch | Status: assigned
Priority: minor: annoyance | Milestone: Version 1.7.0
Component: GUI | Version:
Keywords: toolbar buttons | Platform_version:
Platform: All | Must_fix: No
Status_info: 0 |
--------------------------------+-------------------------------------------
Comment(by wonder):
Replying to [comment:4 jef]:
> Replying to [comment:3 timlinux]:
> > I was thinking we could have a QgisApp::addLayerLoaderAction(QAction
*) that providers could call to have their icon dropped into the group.
>
> And also drop the "providers don't have a UI" rule?
I remember we started this rule long time ago when it was normal that
provider constructor or nextFeature call showed a message box :-)
IMO we should move the "add layer" dialogs (which are specific to each
provider) to the providers and add a new API method to provider modules
that would create provider's add layer dialog.
A next step could be an unified add layer dialog: main window would
contain just one "add layer" action that would trigger a dialog having all
the provider dialogs inside (dialogs would be switched with a stacked
widget).
(Pure imagination begins now) At some point, we could reach a situation
where we have an integrated dialog with a file browser, database/web
connections, "favorite" layers, "last used" layers and similar stuff, with
good usability and minimized amount of necessary clicks per one layer.
--
Ticket URL: <https://trac.osgeo.org/qgis/ticket/3447#comment:5>
Quantum GIS <http://qgis.org>
Quantum GIS is an Open Source GIS viewer/editor supporting OGR, PostGIS, and GRASS formats
More information about the QGIS-trac
mailing list