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" <lui...@gmail.com> Inviato: 03/11/2015 18:11 A: "Enrico Ferreguti" <enrico...@gmail.com> Cc: "qgis-developer" <qgis-developer@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 <enrico...@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@lists.osgeo.org > http://lists.osgeo.org/mailman/listinfo/qgis-developer
_______________________________________________ Qgis-developer mailing list Qgis-developer@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-developer