Is there a way to hide all the fields at once in QGIS 1.7?
I see where I can hide one field at a time but I would like a button which does it all at once.
with the GUI no but with a small Python script run in the Python console you can:
from qgis.utils import iface layer = iface.activeLayer() indexes = layer.pendingAllAttributesList() for i in indexes: layer.setEditType(i, QgsVectorLayer.Hidden)
Copy and paste the following into the QGIS Python console and it should hide all the attributes on the layer.