def executeAlgorithmAsBatchProcess(self): alg = self.algorithmTree.selectedAlgorithm().create() if self.algorithmTree.selectedAlgorithm() is not None else None if alg is not None: dlg = BatchAlgorithmDialog(alg, iface.mainWindow()) dlg.setAttribute(Qt.WA_DeleteOnClose) dlg.show() dlg.exec_()
def executeAlgorithmAsBatchProcess(self): item = self.algorithmTree.currentItem() if isinstance(item, TreeAlgorithmItem): alg = QgsApplication.processingRegistry().algorithmById(item.alg.id()) dlg = BatchAlgorithmDialog(alg) dlg.show() dlg.exec_()
def executeAlgorithmAsBatchProcess(self): item = self.algorithmTree.currentItem() if isinstance(item, TreeAlgorithmItem): alg = Processing.getAlgorithm(item.alg.commandLineName()) alg = alg.getCopy() dlg = BatchAlgorithmDialog(alg) dlg.exec_()
def executeAlgorithmAsBatchProcess(self): item = self.algorithmTree.currentItem() if isinstance(item, TreeAlgorithmItem): alg = QgsApplication.processingRegistry().createAlgorithmById(item.alg.id()) if alg: dlg = BatchAlgorithmDialog(alg) dlg.show() dlg.exec_() # have to manually delete the dialog - otherwise it's owned by the # iface mainWindow and never deleted dlg.deleteLater()
def runAsBatch(self): self.close() dlg = BatchAlgorithmDialog(self.algorithm().create(), parent=iface.mainWindow()) dlg.show() dlg.exec_()
def runAsBatch(self): self.close() dlg = BatchAlgorithmDialog(self.algorithm()) dlg.show() dlg.exec_()
def runAsBatch(self): dlg = BatchAlgorithmDialog(self.alg) dlg.exec_()
def runAsBatch(self): self.close() dlg = BatchAlgorithmDialog(self.algorithm()) dlg.show() dlg.exec_()
def executeAlgorithmAsBatchProcess(self): alg = self.algorithmTree.selectedAlgorithm() if alg is not None: dlg = BatchAlgorithmDialog(alg) dlg.show() dlg.exec_()
def runAsBatch(self): dlg = BatchAlgorithmDialog(self.alg) dlg.show() dlg.exec_()
def runAsBatch(self): self.close() dlg = BatchAlgorithmDialog(self.algorithm().create(), parent=iface.mainWindow()) dlg.show() dlg.exec_()
def executeAlgorithmAsBatchProcess(self): alg = self.algorithmTree.selectedAlgorithm() if alg is not None: dlg = BatchAlgorithmDialog(alg) dlg.show() dlg.exec_()
def _runProcessingBatch(): alg = QgsApplication.processingRegistry().createAlgorithmById( 'native:buffer') dlg = BatchAlgorithmDialog(alg.create(), parent=iface.mainWindow()) dlg.show() dlg.exec_()