Exemplo n.º 1
0
 def edit_attribute(self, ilayer, ifeature):
     stackWidget = SW.oivStackWidget()
     self.iface.addDockWidget(QT.getWidgetType(), stackWidget)
     stackWidget.parentWidget = self
     stackWidget.open_feature_form(ilayer, ifeature)
     self.close()
     stackWidget.show()
     self.selectTool.geomSelected.disconnect(self.edit_attribute)
Exemplo n.º 2
0
 def run_edit_bouwlagen(self, ilayer, ifeature):
     """edit attribute form of floor feature"""
     stackWidget = SW.oivStackWidget()
     self.iface.addDockWidget(QH.getWidgetType(), stackWidget)
     stackWidget.update()
     stackWidget.parentWidget = self
     stackWidget.open_feature_form(ilayer, ifeature)
     self.close()
     stackWidget.show()
Exemplo n.º 3
0
 def edit_attribute(self, ilayer, ifeature):
     """open het formulier van een feature in een dockwidget, zodat de attributen kunnen worden bewerkt"""
     stackWidget = SW.oivStackWidget()
     self.iface.addDockWidget(PQtC.Qt.RightDockWidgetArea, stackWidget)
     stackWidget.parentWidget = self
     stackWidget.open_feature_form(ilayer, ifeature)
     self.close()
     stackWidget.show()
     self.selectTool.geomSelected.disconnect(self.edit_attribute)
     self.run_edit_tool()
Exemplo n.º 4
0
 def edit_attribute(self, ilayer, ifeature):
     """open het formulier van een feature in een dockwidget, zodat de attributen kunnen worden bewerkt"""
     stackWidget = SW.oivStackWidget()
     self.iface.addDockWidget(QH.getWidgetType(), stackWidget)
     stackWidget.parentWidget = self
     stackWidget.open_feature_form(ilayer, ifeature)
     self.close()
     stackWidget.show()
     try:
         self.selectTool.geomSelected.disconnect(self.edit_attribute)
     except: # pylint: disable=bare-except
         pass
 def edit_attribute(self, ilayer, ifeature):
     """open het formulier van een feature in een dockwidget, zodat de attributen kunnen worden bewerkt"""
     stackWidget = SW.oivStackWidget()
     self.iface.addDockWidget(QT.getWidgetType(), stackWidget)
     stackWidget.parentWidget = self
     stackWidget.open_feature_form(ilayer, ifeature)
     self.close()
     layerNames = PC.OBJECT["nogeotables"]
     for name in layerNames:
         layer = UC.getlayer_byname(name)
         layer.updateExtents()
     stackWidget.show()
     try:
         self.selectTool.geomSelected.disconnect(self.edit_attribute)
     except: # pylint: disable=bare-except
         pass