Re: [Qgis-developer] Set Composer scale with pyqgis

2016-07-07 Thread boesiii
Try: map_item.setNewScale(canvas.scale()) -- View this message in context: http://osgeo-org.1560.x6.nabble.com/Set-Composer-scale-with-pyqgis-tp5275120p5275129.html Sent from the Quantum GIS - Developer mailing list archive at Nabble.com. ___

Re: [Qgis-developer] [QGIS-UX] Print layout: canvas extent not updated

2016-06-20 Thread boesiii
I am from the ESRI world and what Paolo is describing is how ArcMap works, so when I first started using QGIS I wanted QGIS to work the same and therefore I created the plugin. http://plugins.qgis.org/plugins/syncComposerWithMap/ There is lots of room for improvement in the plugin. A signal

[Qgis-developer] Attribute Form Editor

2014-07-10 Thread boesiii
In Qgis 2.2 I had a form with tabs. In each tab I repeated the same attribute at the top along with other attributes that did not repeat. When I updated the attribute which repeated on each tab the same attribute would update on each tab. In 2.4, when I update the repeating attribute on one tab

[Qgis-developer] Composer Map moveContent()

2014-07-09 Thread boesiii
I am working on a python plugin that works with composer maps and I was trying to use the moveContent method but was not able to understand the results. When I try moveContent(1,1) I was expecting the composer map content to pan 1 unit to the right and 1 unit down but the content moved a much

[Qgis-developer] Problem with a plugin to select polylines

2012-10-18 Thread boesiii
Hello All, I am starting to develop my own plugin by starting and following instructions at www.qgisworkshop.org but the plugin does not work when the data is a polyline. Below is part of the plugin that deals with feature selection. What do I need to change so that it will select polylines?

[Qgis-developer] Error when using pyuic4 on Windows 7

2012-04-18 Thread boesiii
I was going to try and start to develop a plugin using this http://www.qgisworkshop.org/html/workshop/plugins_tutorial.html and http://www.qgis.org/pyqgis-cookbook/plugins.html but when I try to compile the UI file I get an error, see below: D:\Program Files (x86)\Quantum GIS

[Qgis-developer] Re: Error when using pyuic4 on Windows 7

2012-04-18 Thread boesiii
Additionally, I installed GNUWin and set the the PATH variable to point to make.exe, then opened the command prompt, navigated to my plugin folder and issued the MAKE command and received the following error: C:\workspaces\FlowDirectionTestmake pyuic4 -o ui_flowdirectiontest.py