[Qgis-developer] R: QgsBrowserDockWidget

Enrico Ferreguti enricofer at gmail.com
Fri Nov 6 10:41:47 PST 2015


I didn't think it was so simple.
You take a QTreeView For example from QDesigner then you assign QgsTreeModel as view model, you add some trivial interaction logic and you get Your personal qgis browser.
That's all. Great Qgis!

Regards.
Enrico Ferreguti.


----- Messaggio originale -----
Da: "Luigi Pirelli" <luipir at gmail.com>
Inviato: ‎03/‎11/‎2015 18:11
A: "Enrico Ferreguti" <enricofer at gmail.com>
Cc: "qgis-developer" <qgis-developer at lists.osgeo.org>
Oggetto: Re: [Qgis-developer] QgsBrowserDockWidget

Hi Enrico,

I found other base classes in app that can be simply ported to library
without or with not so much code rewrite (e.g the identify widget).
I don't know about this class (seems there is only a qgisapp reference
using it's singleton), but usually is due the fact that it is a work
and developer would have time to do this.

in my opinion, feel free to do pull request... and hopefully adding test ;)

regards

Luigi Pirelli

**************************************************************************************************
* LinkedIn: https://www.linkedin.com/in/luigipirelli
* Elance: https://www.elance.com/s/edit/luigipirelli/
* GitHub: https://github.com/luipir
* Stackexchange: http://gis.stackexchange.com/users/19667/luigi-pirelli
* Mastering QGIS:
https://www.packtpub.com/application-development/mastering-qgis
**************************************************************************************************


On 3 November 2015 at 15:49, Enrico Ferreguti <enricofer at gmail.com> wrote:
> Hi all.
>
> I notice that QgsBrowserDockWidget class is not included in python bindings.
> It would be great to have access to browser panel items from plugins.
> Is it intentional or an issue?
>
> Regards.
> Enrico Ferreguti
>
> _______________________________________________
> Qgis-developer mailing list
> Qgis-developer at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/qgis-developer
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/qgis-developer/attachments/20151106/d27bfac9/attachment.html>


More information about the Qgis-developer mailing list