[Qgis-developer] Mathematics behind scale label in QGIS

2015-10-18 Thread jawensi
Hello everyone, I just want to know how qgis calculates canvas scale when you have a loaded layer with a SRC in degrees. Thank you. -- View this message in context: http://osgeo-org.1560.x6.nabble.com/Mathematics-behind-scale-label-in-QGIS-tp5231004.html Sent from the Quantum GIS - Developer

[Qgis-developer] Minidump when using GDAL in plugin

2015-09-24 Thread jawensi
Hello, I have problems with DEMto3D <https://github.com/jawensi/DEMto3D/tree/master/DEMto3D-QGIS> plugin. Using this plugin in QGIS 2.10.1, QGIS crash on exit. Instead I test it in QGIS 2.8.1 and works fine without minidump message on exit. I've tracked the problematic code and

Re: [Qgis-developer] focusInEvent combobox

2015-09-16 Thread jawensi
It works perfectly. Thank you very much Regards -- View this message in context: http://osgeo-org.1560.x6.nabble.com/focusInEvent-combobox-tp5224248p5224494.html Sent from the Quantum GIS - Developer mailing list archive at Nabble.com. ___ Qgis-devel

[Qgis-developer] focusInEvent combobox

2015-09-15 Thread jawensi
Hello I want to add an event to a combobox. In particular, when the focus change to the combobox I want to show a QmessageBox. Shearching the web I find out that I can do it reimplementing the focus event handler, but that means change the python file generated by the pyuic4 tool. So each time I c

Re: [Qgis-developer] translate shortcuts

2015-09-08 Thread jawensi
Hello, Finally I defined first the text and then I added to the name menu. Now it works /text = self.tr('Templates') self.templMenu.setTitle('&' + text) / 'my_plugin_es.ts' looks like: / Templates Plantillas / In English the shortcut works pressing 'Alt + t', and in Spanish the sh

[Qgis-developer] translate shortcuts

2015-09-07 Thread jawensi
Hello. I want to translate a menu name which has a shortcuts when Alt key is pressed. /self.templMenu.setTitle(self.tr('&Templates'))/ The letter of shortcuts is defined with symbol '&'. In my example the menu name is 'templates' and when 'Alt + t' is pressed the menu is opened. When I write t

Re: [Qgis-developer] QGIS + DEMto3D = DEM 3D Printing

2015-08-27 Thread jawensi
Hello A pre-compiled packages of Slic3r for Windows is shipped in the DEMto3D installation folder, so I have to develope the access to Slic3r in other platforms. Slic3r is used to generate the Gcode file. Meanwhile I just upload to the QGIS official repo a DEMto3D version which only allows export D

[Qgis-developer] QGIS + DEMto3D = DEM 3D Printing

2015-08-25 Thread jawensi
Hello everyone. I am glad to present DEMto3D, a newly developed plugin that allows 3D prining of terrain models, from DEM. In the following website */http://demto3d.com/* you can find more information regarding this plugin, as well as download, user manual and installation guide. Thank you and e

Re: [Qgis-developer] Translation plugin (accents) SOLVED

2015-08-18 Thread jawensi
Finally the problem was the encoding of the .ts file. I replace the first line for: Now translation works fine. -- View this message in context: http://osgeo-org.1560.x6.nabble.com/Translation-plugin-accents-tp5220118p5220189.html Sent from the Quantum GIS - Developer mailing list archive

Re: [Qgis-developer] Translation plugin (accents)

2015-08-18 Thread jawensi
Hi The problem is that the translation doesn't work with accented words when I launch QGIS. However the words with no accent are translated correctly. No message error appear and the plugin works good. Cheers -- View this message in context: http://osgeo-org.1560.x6.nabble.com/Translation-pl

[Qgis-developer] Translation plugin (accents)

2015-08-18 Thread jawensi
Hello, I have developped a plugin in Spanish and I want to translate it to English. I have problems with accented words in the class that describe the interface, which I compilate from *.ui to *.py. This is a fragment of the .ts file, which doesn't work: DEMto3DDialogBase

[Qgis-developer] Raster Ramp color

2015-04-13 Thread jawensi
Hello. I am trying to change the simbology of a DEM raster using a default pseudocolor ramp from the max and min height. How can I select the ramp and define the settings of the classification in python? thank you -- View this message in context: http://osgeo-org.1560.x6.nabble.com/Raster-R