Ejemplo n.º 1
0
    def accept(self):
        keepOpen = ProcessingConfig.getSetting(
            ProcessingConfig.KEEP_DIALOG_OPEN)
        try:
            if self.setParamValues():
                QApplication.setOverrideCursor(QCursor(Qt.WaitCursor))
                ProcessingLog.addToLog(ProcessingLog.LOG_ALGORITHM,
                                       self.alg.getAsCommand())

                self.executed = runalg(self.alg, self)
                if self.executed:
                    handleAlgorithmResults(self.alg, self, not keepOpen)
                if not keepOpen:
                    QDialog.reject(self)
        finally:
            QApplication.restoreOverrideCursor()
Ejemplo n.º 2
0
    def accept(self):
        keepOpen = ProcessingConfig.getSetting(ProcessingConfig.KEEP_DIALOG_OPEN)
        try:
            if self.setParamValues():
                QApplication.setOverrideCursor(QCursor(Qt.WaitCursor))
                ProcessingLog.addToLog(ProcessingLog.LOG_ALGORITHM,
                                       self.alg.getAsCommand())

                self.executed = runalg(self.alg, self)
                if self.executed:
                    handleAlgorithmResults(self.alg,
                                           self,
                                           not keepOpen)
                if not keepOpen:
                    QDialog.reject(self)
        finally:
            QApplication.restoreOverrideCursor()
Ejemplo n.º 3
0
 def reject(self):
     self.executed = False
     QDialog.reject(self)
Ejemplo n.º 4
0
    def reject(self):
        """back out of dialogue"""

        QDialog.reject(self)
Ejemplo n.º 5
0
 def reject(self):
     self.descriptions = None
     QDialog.reject(self)
Ejemplo n.º 6
0
 def reject(self):
     self.mode = None
     self.param = None
     QDialog.reject(self)
Ejemplo n.º 7
0
 def onClosing(self):
     self.stop()
     QDialog.reject(self)
Ejemplo n.º 8
0
    def reject(self):
        """back out of manage connections dialogue"""

        QDialog.reject(self)
Ejemplo n.º 9
0
 def reject(self):
     self.descriptions = None
     QDialog.reject(self)
Ejemplo n.º 10
0
 def onClosing(self):
     self.stop()
     QDialog.reject(self)
Ejemplo n.º 11
0
    def reject(self):
        """back out of dialogue"""

        QDialog.reject(self)
Ejemplo n.º 12
0
 def reject(self):
     self.selectedoptions = None
     QDialog.reject(self)
Ejemplo n.º 13
0
 def reject(self):
     self.executed = False
     QDialog.reject(self)
Ejemplo n.º 14
0
 def reject(self):
     self.restoreSettings()
     QDialog.reject(self)
Ejemplo n.º 15
0
 def reject(self):
     self.value = None
     QDialog.reject(self)
Ejemplo n.º 16
0
 def reject(self):
     self.value = None
     QDialog.reject(self)
Ejemplo n.º 17
0
 def reject(self):
     QDialog.reject(self)
Ejemplo n.º 18
0
 def reject(self):
     QDialog.reject(self)
Ejemplo n.º 19
0
    def reject(self):
        """back out of dialogue"""

        QDialog.reject(self)
        self.rubber_band.reset()