Re: [Qgis-developer] A common set of functions for QGIS plugins

2015-11-03 Thread Victor Olaya
> > A definite +1 on this. > Also maybe a parent QGISPlugin class all plugins would inherit from ? This is a good idea, and it would be easy to modify the Plugin Builder plugin to generate plugin skeletons using that class > > As a side note on plugin, but important, Hugo intends at the hackfest

Re: [Qgis-developer] A common set of functions for QGIS plugins

2015-11-03 Thread Vincent Picavet (ml)
Hello Victor, A definite +1 on this. Also maybe a parent QGISPlugin class all plugins would inherit from ? As a side note on plugin, but important, Hugo intends at the hackfest to propose and discuss having plugins be Python modules, so that we can use PIP to deal with module and plugins

Re: [Qgis-developer] Add multiple frames to a composer attribute table using PyQGIS

2015-11-03 Thread James Stott
Hi Nyall, Thanks very much for the advice. It is working now. That was an excellent tip about checking the unit tests. James On Sun, 1 Nov 2015 at 10:23 Nyall Dawson wrote: > On 1 November 2015 at 20:09, James Stott wrote: > > I have an

[Qgis-developer] PluginBuilder writes a wrong import inside .py

2015-11-03 Thread Geo DrinX
Hello all, probably you just know, but I found that "PluginBuilder" plugin for QGIS writes at line 26 of the main .py file the following code: import resources I think this is wrong, because in run it returns a python error. The correct code is: import resources_rc I hope this

Re: [Qgis-developer] A common set of functions for QGIS plugins

2015-11-03 Thread Vincent Picavet (ml)
Hello Victor, A definite +1 on this. Also maybe a parent QGISPlugin class all plugins would inherit from ? As a side note on plugin, but important, Hugo intends at the hackfest to propose and discuss having plugins be Python modules, so that we can use PIP to deal with module and plugins

Re: [Qgis-developer] PluginBuilder writes a wrong import inside .py

2015-11-03 Thread Pirmin Kalberer
Hi Roberto, Am Dienstag, 3. November 2015, 10.49:24 schrieb Geo DrinX: > > > probably you just know, but I found that "PluginBuilder" plugin for QGIS > writes at line 26 of the main .py file the following code: > > > import resources > > > I think this is wrong, because in run it

Re: [Qgis-developer] PluginBuilder writes a wrong import inside .py

2015-11-03 Thread Anita Graser
On Tue, Nov 3, 2015 at 10:49 AM, Geo DrinX wrote: > Hello all, > > > probably you just know, but I found that "PluginBuilder" plugin for QGIS > writes at line 26 of the main .py file the following code: > > > import resources > > > I think this is wrong, because in run

Re: [Qgis-developer] A common set of functions for QGIS plugins

2015-11-03 Thread Geo DrinX
Great Victor ! +1 :) 2015-11-02 13:52 GMT+01:00 Victor Olaya : > Hi all, > > We have discussed sometimes in here about the need of having some > common functions for plugin developers, to avoid all plugins having to > reimplement those functions, sometimes not in the most

Re: [Qgis-developer] PluginBuilder writes a wrong import inside .py

2015-11-03 Thread Worth Lutz
This is not fixed. Some background info: http://gis.stackexchange.com/questions/139625/qgis-plugin-problems-importing-resources-resources-rc-file-plugin-doasnt-l/155599#155599 This is a problem with "uic.loadUiType". I have have determined that if you save your "ui" file in QT designer with

Re: [Qgis-developer] [Linux Mint] QGIS Master 3d93237

2015-11-03 Thread Luigi Pirelli
just to confirm that partially reverting: https://github.com/qgis/QGIS/commit/cd0eb05deddc610a1a79c40163504efddfe3da3a#diff-b19637a490515a065417f10b2ef58bbb: using PyString_check instead of PyUnicode_check solve on Ubuntu 15.15 and Python 2.7.10. my solution is in

[Qgis-developer] 2.5D rendering crowdfunding

2015-11-03 Thread Paolo Cavallini
Hi all, regarding: http://www.opengis.ch/2015/11/02/qgis-crowdfunding-2-5d-rendering I remember Minoru had plans for a complete rewrite of qgis2threejs, using native Qt 3D functions: would it be worthwhile to check also this approach before starting to code? All the best, and thanks. -- Paolo

[Qgis-developer] R: QgsBrowserDockWidget

2015-11-03 Thread Enrico Ferreguti
Hi Luigi, Contributing to core development is for now far from my skills. I was looking for a convenient way to browse available datasouces without to deal with qt gui engineering that is sometimes makes feel like reinventing the wheel. Thanks anyway. Regards Enrico Ferreguti - Messaggio

Re: [Qgis-developer] QgsBrowserDockWidget

2015-11-03 Thread Luigi Pirelli
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

Re: [Qgis-developer] 2.5D rendering crowdfunding

2015-11-03 Thread Minoru Akagi
Hi Paolo, My plan is just to make interactive preview using Qt5 QWebView. Continue to use JavaScript and three.js library. Regards, Minoru 2015-11-04 3:48 GMT+09:00 Paolo Cavallini : > Hi all, > regarding: >

Re: [Qgis-developer] Any processing folks interested in pairing with a new QGIS developer?

2015-11-03 Thread Michael Kirk
Hi Victor, Thank you for the offer. I’m looking at the paper Anita referenced now. Thanks Anita! Let me know when you’d like to meet. I’m in Los Angeles (GMT - 8). Generally speaking, I’m available 18:00 to 3:00 your time, but given 24 hours notice, I can be available whenever you’d like

Re: [Qgis-developer] 2.5D rendering crowdfunding

2015-11-03 Thread Matthias Kuhn
Hi Paolo, The impact of this project is much bigger than this, 2.5D rendering is just the showcase for * on-the-fly transformation of geometries while rendering (or with some small additions also to create geometries based on attributes) * being able to specify the rendering order * styling

[Qgis-developer] QgsBrowserDockWidget

2015-11-03 Thread Enrico Ferreguti
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] Ubuntu Wily: Compile from source troubles with QWT

2015-11-03 Thread Neumann, Andreas
Hi, Every time Ubuntu is upgraded I run into troubles with qwt. Now I upgraded to Ubuntu Wily and compile fails because of some qwt issue. I get: - [ 31%] Built target pycore CMakeFiles/qgis_gui.dir/raster/qgsrasterhistogramwidget.cpp.o: In function

Re: [Qgis-developer] Ubuntu Wily: Compile from source troubles with QWT

2015-11-03 Thread Jürgen E . Fischer
Hi Andreas, On Tue, 03. Nov 2015 at 14:57:23 +0100, Neumann, Andreas wrote: > Every time Ubuntu is upgraded I run into troubles with qwt. Anything wrong with our wily packages? Jürgen -- Jürgen E. Fischer norBIT GmbH Tel. +49-4931-918175-31 Dipl.-Inf. (FH)