예제 #1
0
 def editRenderingStyles(self):
     item = self.algorithmTree.currentItem()
     if isinstance(item, TreeAlgorithmItem):
         alg = QgsApplication.processingRegistry().createAlgorithmById(
             item.alg.id())
         dlg = EditRenderingStylesDialog(alg)
         dlg.exec_()
예제 #2
0
 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_()
예제 #3
0
 def editRenderingStyles(self):
     item = self.algorithmTree.currentItem()
     if isinstance(item, TreeAlgorithmItem):
         alg = Processing.getAlgorithm(item.alg.commandLineName())
         dlg = EditRenderingStylesDialog(alg)
         dlg.exec_()
예제 #4
0
 def editRenderingStyles(self):
     alg = self.algorithmTree.selectedAlgorithm()
     if alg is not None:
         dlg = EditRenderingStylesDialog(alg)
         dlg.exec_()
예제 #5
0
 def editRenderingStyles(self):
     item = self.algorithmTree.currentItem()
     if isinstance(item, TreeAlgorithmItem):
         alg = QgsApplication.processingRegistry().createAlgorithmById(item.alg.id())
         dlg = EditRenderingStylesDialog(alg)
         dlg.exec_()
예제 #6
0
 def editRenderingStyles(self):
     item = self.algorithmTree.currentItem()
     if isinstance(item, TreeAlgorithmItem):
         alg = Processing.getAlgorithm(item.alg.commandLineName())
         dlg = EditRenderingStylesDialog(alg)
         dlg.exec_()