Re: [QGIS-Developer] SIP coverage test removal and Travis optimization

2017-06-02 Thread Rouzaud Denis
Hi > On 2 Jun 2017, at 11:48, Matthias Kuhn 🌍 wrote: > > Hi Denis > > On 06/02/2017 11:17 AM, Denis Rouzaud wrote: >> Hi Nyall, >> >> Thanks for the feedback. >> >> Le mer. 31 mai 2017 à 23:14, Nyall Dawson > >>

Re: [Qgis-developer] QGIS Custom Widget in Qt Designer

2016-12-07 Thread Rouzaud Denis
Hi Marco, This doesn’t sound like a QGIS custom widget issue since QWebView is not related to QGIS. It seems that QWebView is well defined in PyQt4 compatibility layer [0]. The issue is probably that you try to run system uic instead of qgis.PyQt.uic. This make me thunk of the reply to Matteo as

Re: [Qgis-developer] QGIS setup with Qt 5 on mac

2016-11-08 Thread Rouzaud Denis
Hi Larry, Thanks a lot for tackling this! Glad to read it’ll land soon, but no pressure ;) Cheers, Denis > On 8 Nov 2016, at 18:13, Larry Shaffer wrote: > > Hi, > > On Sun, Nov 6, 2016 at 7:23 PM, Etienne Trimaille > mailto:etienne.trimai...@gmail.com>> wrote: > Thanks David and Matthias fo

Re: [Qgis-developer] QgsFieldExpressionWidget return the results of the expression

2016-05-10 Thread Rouzaud Denis
HI Matteo, > On 10 May 2016, at 18:14, matteo wrote: > > Hi devs, > > I'm struggling with a maybe simple issue.. > > In a plugin I have added a QgsFieldExpressionWidget connected to a > QgsMapLayerComboBox.. > > What I am currently trying to do without any result is to get a list of the >

Re: [Qgis-developer] Begging for some fixes before LTR release

2016-02-23 Thread Rouzaud Denis
> On 23 Feb 2016, at 14:22, DelazJ wrote: > > Hi developers, > > At less than a week for the release of the second LTR version (QGIS 2.14), > I'd like to draw your attention on two main issues that are not set as > blockers but I'd beg you to solve them: > > #13575 (http://hub.qgis.org/issue

Re: [Qgis-developer] Vertex editor

2015-09-13 Thread Rouzaud Denis
> On 13 Sep 2015, at 15:00, Richard Duivenvoorde wrote: > > On 13-09-15 13:13, Radim Blazek wrote: >> Is there a possibility to suppress vertex editor popup whenever a node >> is selected? > > Mmm, nice addition though! > But maybe it lacks an option to not use it :-) > > Another observation:

Re: [Qgis-developer] refresh joined layers cache through python

2015-03-08 Thread Rouzaud Denis
Hi, There is a PR open for this https://github.com/qgis/QGIS/pull/771 Open for quite a long time though. Denis > On 08 Mar 2015, at 18:54, Olivier Dalang wrote: > > Dear List, > > I'm posting this to qgis-dev since I got no answer on qgis-user and it'

Re: [Qgis-developer] Snapping tolerance

2014-12-14 Thread Rouzaud Denis
Hi, I would say +1 for map units. Regarding Marco’s use case, using the 50cm limit should be equivalent in map units, no? From my point of view, the settings of snapping are far too advanced for 95% of the usage. Let’s not make them even more complicated, just for a very specific use case. M

Re: [Qgis-developer] PostGIS warning details in QGIS master

2014-10-03 Thread Rouzaud Denis
ce). > > The only explanation I find for this behavior is QGIS verify the violation of > unique constraint of pkey field id_0, and launch the warning and prevent the > pasting. > > What do you think? > > Thanks! > > Best regards, > Pedro > > > > >

Re: [Qgis-developer] PostGIS warning details in QGIS master

2014-10-02 Thread Rouzaud Denis
Hi Pedro, As said, copy/paste only tries to convert geometries and will paste if possible. Foreign key violation is only detected by Postgis, so the reason why QGIS is not actually pasting is not due to a FKey violation. Do you have a debugging environment or can you provide some demo data? Be

[Qgis-developer] 'Qsci/qsciapis.h' file not found

2014-10-01 Thread Rouzaud Denis
Hi all, I am trying to build QGIS on Mac OS Mavericks and I am having troubles with QScintilla. While compiling, I reach this error /Users/denis/Documents/code/QGIS/src/app/../gui/qgscodeeditor.h:22:10: fatal error: 'Qsci/qsciapis.h' file not found #include Although, it exists in /usr/local/

Re: [Qgis-developer] QGIS 2.5 vs 2.4 rendering mode

2014-09-30 Thread Rouzaud Denis
On 30 Sep 2014, at 09:28, PIERRE Sylvain wrote: > In my case, parallel rendering is on > > It takes 15 seconds to render an area. > With 2.2 or 2.4 release there’s no step like this during rendering an it > takes 5 seconds for same area / same data… What about simplification? > > -Messag

Re: [Qgis-developer] Split lines at intersection

2014-06-11 Thread Rouzaud Denis
Hi, splitLinearGeometry is private, you won’t have access to it. You shall use splitGeometry which is public http://qgis.org/api/classQgsGeometry.html#a4c03fb2b37ce94bcf2295ed7896f665b Cheers, Denis On 11 Jun 2014, at 12:42, mattwalsh wrote: > Hello, > > Using pyqgis I would like to split a

Re: [Qgis-developer] add rasterlayer to qgsmapcanvas

2014-06-05 Thread Rouzaud Denis
self.canvasRaster.refresh() at the end ? On 05 Jun 2014, at 18:27, Felix Schmidt wrote: > > > > > Hello everyone, > I try to load on signal, a rasterlayer to qgsmapcanvas. I try it like in > the pycookbook: > > @QtCore.pyqtSlot() > def loadRasterImage(self): > print "slot works" >

Re: [Qgis-developer] Legend refactoring branch merged

2014-05-21 Thread Rouzaud Denis
Congratulations for this big cleanup! I am really glad we (SIGE) could help this project to come true. On 21 May 2014, at 19:11, Martin Dobias wrote: > Hi everyone > > I have just merged the first part of the legend refactoring work to > master [1]. It does not really bring any new features

Re: [Qgis-developer] Cannot install libqgis_customwidgets.so

2014-05-19 Thread Rouzaud Denis
Hi, The libqgis_customwidgets is a new library which allow using specific QGIS widgets directly in Qt Designer (if compiled with Qt4). Now, this lib needs to be in Qt plugin’s directory to work properly. So this will require to run make as install as root. You can disable this by running cmake

Re: [Qgis-developer] Which compiler for a c++ QGIS custom app

2014-02-24 Thread Rouzaud Denis
Thanks a lot Nathan, this brought me further! On 24 Feb 2014, at 12:14, Nathan Woodrow wrote: > The supported version is VS 2008. I have never tried building with anything > else. > > - Nathan > > > On Mon, Feb 24, 2014 at 9:10 PM, Rouzaud Denis > wrote: > Hi

Re: [Qgis-developer] Which compiler for a c++ QGIS custom app

2014-02-24 Thread Rouzaud Denis
Hi JĂĽrgen, On 21 Feb 2014, at 16:24, JĂĽrgen E. Fischer wrote: > But QGIS and Qt in OSGeo4W is built with Visual C++ not MinGW. You can't use > OSGeo4W's Qt with MinGW. I installed Visual Studio Express 2013, and it seems the compiler given with (version 12.0) is not compliant with Qt libs fro

Re: [Qgis-developer] Which compiler for a c++ QGIS custom app

2014-02-21 Thread Rouzaud Denis
Hi JĂĽrgen, Thanks a lot for your reply. It seems I should finally use Visual C++. I will give it a try this weekend! Thanks again and happy release ;) Denis On 21 Feb 2014, at 16:24, JĂĽrgen E. Fischer wrote: > Hi Denis, > > On Fri, 21. Feb 2014 at 15:20:19 +0100, Denis Rouzaud wrote: >> I h

Re: [Qgis-developer] iface.addToolBar but no iface.removeToolBar

2014-02-06 Thread Rouzaud Denis
Hi, I have a toolbar in a plugin too. I can remove the toolbar using: del self.toolBar Cheers, Denis On 06 Feb 2014, at 21:51, Richard Duivenvoorde wrote: > Hi devs, > > python iface has a method addToolBar, to add a toolbar with buttons. > But there is no way to remove the toolbar. > > I'

Re: [Qgis-developer] Paste as layer

2014-02-02 Thread Rouzaud Denis
You’re right, I will fix this. On 02 Feb 2014, at 09:43, Ramon Andiñach wrote: > Hi, > > Just wondered, if "Paste into a new layer" allows you to save as a memory > layer; why does it need a layer to be in edit mode to become active? > > Is this expected behaviour? > > Should I add a bug/fe

[Qgis-developer] feature action

2013-04-11 Thread Rouzaud Denis
Hi, Thanks to the hackers, solution's has been found: while adding the action to the layer, we can give the layer id in the string, and the feature id is known with [% $id %]. Denis ___ Qgis-developer mailing list Qgis-developer@lists.osgeo.org http:/

[Qgis-developer] feature action

2013-04-11 Thread Rouzaud Denis
Hi, I'd like to create actions from within a plugin. Basically, the plugin would add an action for specified layers, and this action would trigger some method with layer and feature as argument. Is this possible? This would be used to perform a specific action on features. So I'd like to have