def editRenderingStyles(self): item = self.algorithmTree.currentItem() if isinstance(item, TreeAlgorithmItem): alg = QgsApplication.processingRegistry().createAlgorithmById( item.alg.id()) dlg = EditRenderingStylesDialog(alg) dlg.exec_()
def editRenderingStyles(self): alg = self.algorithmTree.selectedAlgorithm().create() if self.algorithmTree.selectedAlgorithm() is not None else None if alg is not None: dlg = EditRenderingStylesDialog(alg) dlg.exec_()
def editRenderingStyles(self): item = self.algorithmTree.currentItem() if isinstance(item, TreeAlgorithmItem): alg = Processing.getAlgorithm(item.alg.commandLineName()) dlg = EditRenderingStylesDialog(alg) dlg.exec_()
def editRenderingStyles(self): alg = self.algorithmTree.selectedAlgorithm() if alg is not None: dlg = EditRenderingStylesDialog(alg) dlg.exec_()
def editRenderingStyles(self): item = self.algorithmTree.currentItem() if isinstance(item, TreeAlgorithmItem): alg = QgsApplication.processingRegistry().createAlgorithmById(item.alg.id()) dlg = EditRenderingStylesDialog(alg) dlg.exec_()