[QGIS-Developer] Open attribute table dialog Parsingerror

2018-02-08 Thread luna
via Python is simple: self.iface.showAttributeTable(self.iface.activeLayer()) Does somebody has any idea? That was not the case in the previous version 2.8 Thanks luna -- Sent from: http://osgeo-org.1560.x6.nabble.com/QGIS-Developer-f4099106.html ___ QGIS-Developer mailing

[Qgis-developer] I can't print a map with QGis 2.8.1 and Mac OS X

2015-05-05 Thread luna
Hello, I'm using Mac OS X 10.7.5 and QGis 2.8.1. I want to print a map with Print Composer. But the Buttons Print or Export as PDF don't work for me. If I use these buttons, the window for choosing a directory or printer appears but only for 1 sec. Afterwards nothing happens. What I'am doing

[Qgis-developer] ValueMap: Why is the first row of my ComboBox empty?

2015-04-11 Thread luna
I define a field of a vector layer as ValueMap. I define the values manually, then the feature attribute dialog appears with the combobox. But the first row in my combobox is empty. I use QGis2.8. In QGis2.0 the first row was not empty. http://osgeo-org.1560.x6.nabble.com/file/n5200932/1.jpg

[Qgis-developer] How to set up QgsPointLocator.MatchFilter in python?

2015-03-27 Thread luna
I'm working with QGis 2.8 and python. I replaced my QgsMapCanvasSnapper to QgsSnappingUtils. The following code works fine for me. def canvasPressEvent(self,event): x = event.pos().x() y = event.pos().y() startingPoint = QPoint(x,y) utils = self.canvas.snappingUtils()

[Qgis-developer] Python: How to call snapToCurrentLayer in QgsMapCanvasSnapper for QGis2.8

2015-03-17 Thread luna
I have a polygon vector layer and I want to snap the vertex. def canvasMoveEvent(self,event): x = event.pos().x() y = event.pos().y() startingPoint = QPoint(x,y) snapper = QgsMapCanvasSnapper(self.iface.mapCanvas())