Re: [Qgis-developer] Is there an advantage in using pyuic on command line instead of uic.loadUi in plugin source?

2014-05-06 Thread Tim Sutton
Hi On Mon, Apr 28, 2014 at 2:30 PM, Régis Haubourg regis.haubo...@eau-adour-garonne.fr wrote: Hi Anita, I wasn't aware of that possibility. That would be great to document that in pyQgis Cookbook and to upgrade plugin builder. Note that I have been overhauling the plugin builder on my

Re: [Qgis-developer] Is there an advantage in using pyuic on command line instead of uic.loadUi in plugin source?

2014-05-06 Thread Tim Sutton
Hi On Sat, Apr 26, 2014 at 2:45 PM, Anita Graser anitagra...@gmx.at wrote: Hi, I'm wondering if there is an advantage in using pyuic to manually compile .ui files instead of just using uic.loadUi() in the plugin directly, e.g. from PyQt4 import uic self.dock = uic.loadUi( os.path.join(

Re: [Qgis-developer] Is there an advantage in using pyuic on command line instead of uic.loadUi in plugin source?

2014-05-06 Thread Nathan Woodrow
I normally do it this way: base, widget = uic.loadUiType('myui.ui') class MyWidget(base, widget): def __init__(self, parent=None) super(MyWidget, self).__init__(parent) - Nathan On Tue, May 6, 2014 at 4:52 PM, Tim Sutton li...@linfiniti.com wrote: Hi On Sat, Apr 26, 2014 at

Re: [Qgis-developer] Is there an advantage in using pyuic on command line instead of uic.loadUi in plugin source?

2014-05-06 Thread Tim Sutton
Hi On Tue, May 6, 2014 at 8:54 AM, Nathan Woodrow madman...@gmail.com wrote: I normally do it this way: base, widget = uic.loadUiType('myui.ui') class MyWidget(base, widget): def __init__(self, parent=None) super(MyWidget, self).__init__(parent) According to the docs[1]

Re: [Qgis-developer] Is there an advantage in using pyuic on command line instead of uic.loadUi in plugin source?

2014-05-06 Thread Tim Sutton
Hi On Tue, May 6, 2014 at 9:01 AM, Tim Sutton li...@linfiniti.com wrote: Hi On Tue, May 6, 2014 at 8:54 AM, Nathan Woodrow madman...@gmail.comwrote: I normally do it this way: base, widget = uic.loadUiType('myui.ui') class MyWidget(base, widget): def __init__(self, parent=None)

Re: [Qgis-developer] Is there an advantage in using pyuic on command line instead of uic.loadUi in plugin source?

2014-05-06 Thread Tim Sutton
Hi On Tue, May 6, 2014 at 9:04 AM, Tim Sutton li...@linfiniti.com wrote: Hi On Tue, May 6, 2014 at 9:01 AM, Tim Sutton li...@linfiniti.com wrote: Hi On Tue, May 6, 2014 at 8:54 AM, Nathan Woodrow madman...@gmail.comwrote: I normally do it this way: base, widget =

[Qgis-developer] couldn't load cpp-plugin

2014-05-06 Thread SSchmidt
Hello, I know, its a worst with the c++-plugin-developers... Again I have a problem with a plugin in updating. In QGIS 2.0 (32bit) I have two plugins working. Now I downloaded the sources for QGIS 2.2, compiled it and was very happy, because i've had no problems here. I compiled my two

Re: [Qgis-developer] error starting qgis (built from source)

2014-05-06 Thread Daniel Scholten
On 05/05/2014 07:16 PM, Larry Shaffer wrote: Hi, On Mon, May 5, 2014 at 10:46 AM, Yves Jacolin yjaco...@free.fr mailto:yjaco...@free.fr wrote: Le lundi 5 mai 2014, 15:57:06 Daniel Scholten a écrit : [..] I've had the same problem and the above worked for me. Except

Re: [Qgis-developer] proposing MetaSearch for QGIS Core

2014-05-06 Thread Tim Sutton
Hi +1 From me on this too. Regards Tim On Fri, Apr 11, 2014 at 11:23 PM, Tom Kralidis tomkrali...@gmail.comwrote: Hi all: looks like feedback is positive overall. Is there any advisory on how to move this forward? Thanks ..Tom On Fri, Apr 4, 2014 at 11:29 AM, G. Allegri

[Qgis-developer] GetLegendGraphic in QGIS Server with no text

2014-05-06 Thread Luca Manganelli
Hi, I am playing with Qgis Web Client in order to put all the legend images in the layer list. It seems that QGIS server doesn't render a legend image without text, see this image: http://postimg.org/image/gks0t6j0n/ If I pass the LAYERFONTSIZE or ITEMFONTSIZE with 0 as value, the text label

[Qgis-developer] WG: Re: couldn't load cpp-plugin

2014-05-06 Thread SSchmidt
I've made some progress: In my working plugin I placed this two lines: QLibrary myLib( C:/Progra~2/QGISVA~1/apps/qgis/plugins/tb4qgisplugin.dll ); bool loaded = myLib.load(); and get this messages: qgis-bin.exe: C:\Program Files (x86)\QGIS Valmiera\apps\qgis\plugins\tb4qgisplugin.dll

Re: [Qgis-developer] Problems editing WFS in QGIS

2014-05-06 Thread Scott Clark
Hello Rene´, Did this fix get in as a patch? If so, where can I get it for 2.2? Thanks! Scott Scott Clark wrote: Excellent news and many thanks! René-Luc D'Hont wrote: Hi Scott, I have discovered this issue next week and I'm working on a bugfix. I hope to propose a patch or a pull