Ejemplo n.º 1
0
 def __init__(self, iface, toolBar):
     DtSingleButton.__init__(self,  iface,  toolBar,
         QtGui.QIcon(":/Merge.png"),
         QtCore.QCoreApplication.translate("digitizingtools",
             "Merge selected features"),
         geometryTypes = [1, 2, 3, 4, 5, 6],  dtName = "dtMerge")
     self.enable()
Ejemplo n.º 2
0
    def __init__(self, iface,  toolBar):
        DtSingleButton.__init__(self,  iface,  toolBar,
            QtGui.QIcon(":/splitter.png"),
            QtCore.QCoreApplication.translate("digitizingtools", "Split selected features with selected line from another layer"),
            geometryTypes = [2, 3, 5, 6],  dtName = "dtSplitWithLine")

        self.enable()
Ejemplo n.º 3
0
 def __init__(self, iface,  toolBar):
     DtSingleButton.__init__(self, iface, toolBar,
         QtGui.QIcon(":/clipper.png"),
         QtCore.QCoreApplication.translate(
             "digitizingtools", "Clip with polygon from another layer"),
         geometryTypes = [2, 3, 5, 6], dtName = "dtClipper")
     self.enable()
Ejemplo n.º 4
0
    def __init__(self, iface, toolBar):
        DtSingleButton.__init__(self, iface, toolBar,
            QtGui.QIcon(":/exchangeGeometry.png"),
            QtCore.QCoreApplication.translate("digitizingtools",
                "Exchange the geomteries between selected features"),
            geometryTypes = [1, 2, 3, 4, 5, 6], dtName = "dtExchangeGeometry")

        self.enable()
Ejemplo n.º 5
0
 def __init__(self, iface, toolBar):
     DtSingleButton.__init__(self,
                             iface,
                             toolBar,
                             QtGui.QIcon(":/cutter.png"),
                             QtCore.QCoreApplication.translate(
                                 "digitizingtools",
                                 "Cut with polygon from another layer"),
                             geometryTypes=[2, 3, 5, 6],
                             dtName="dtCutter")
     self.enable()
Ejemplo n.º 6
0
    def __init__(self, iface, toolBar):
        DtSingleButton.__init__(
            self,
            iface,
            toolBar,
            QtGui.QIcon(":/splitter.png"),
            QtCore.QCoreApplication.translate(
                "digitizingtools",
                "Split selected features with selected line from another layer"
            ),
            geometryTypes=[2, 3, 5, 6],
            dtName="dtSplitWithLine")

        self.enable()