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
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
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
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()
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())