コード例 #1
0
def remoteEditingStarted():
    remoteLayer = QgsProject().instance().mapLayer(remoteLayerId)
    editBuffer = remoteLayer.editBuffer()
    editBuffer.geometryChanged.connect(remoteGeomModified)
コード例 #2
0
def valveEditingStarted():
    valveLayer = QgsProject().instance().mapLayer(valveLayerId)
    editBuffer = valveLayer.editBuffer()
    editBuffer.geometryChanged.connect(valveGeomModified)
コード例 #3
0
def installEditingStarted():
    installLayer = QgsProject().instance().mapLayer(installLayerId)
    editBuffer = installLayer.editBuffer()
    editBuffer.geometryChanged.connect(installGeomModified)
コード例 #4
0
def pipeEditingStarted():
    pipeLayer = QgsProject().instance().mapLayer(pipeLayerId)
    editBuffer = pipeLayer.editBuffer()
    editBuffer.geometryChanged.connect(pipeGeomModified)