Ejemplo n.º 1
0
 def reject(self):
     self.prefs_for_persistence.set(self.name + '-geometry',
                                    bytearray(self.saveGeometry()))
     if hasattr(self, 'splitter'):
         self.prefs_for_persistence.set(
             self.name + '-splitter-state',
             bytearray(self.splitter.saveState()))
     QDialog.reject(self)
Ejemplo n.º 2
0
 def reject(self):
     QDialog.reject(self)
     if self.dialog_is_st_editor:
         parent = self.parent()
         while True:
             if hasattr(parent, 'reject'):
                 parent.reject()
                 break
             parent = parent.parent()
             if parent is None:
                 break
Ejemplo n.º 3
0
 def finish_processing(self):
     if self.abort.is_set():
         return QDialog.reject(self)
     if self.tb is not None:
         error_dialog(self,
                      _('Failed'),
                      self.err_msg + ' ' +
                      _('Click "Show details" for more information.'),
                      det_msg=self.tb,
                      show=True)
     self.accept()
Ejemplo n.º 4
0
 def reject(self):
     return QDialog.reject(self)
Ejemplo n.º 5
0
 def reject(self):
     self.close()
     QDialog.reject(self)
Ejemplo n.º 6
0
 def reject(self):
     self.rejected = True
     return QDialog.reject(self)
 def reject(self):
     self.save_settings()
     return QDialog.reject(self)
Ejemplo n.º 8
0
 def reject(self):
     self.rejected = True
     QDialog.reject(self)
Ejemplo n.º 9
0
 def reject(self):
     gprefs.set('single-cover-fetch-dialog-geometry',
                bytearray(self.saveGeometry()))
     self.covers_widget.cancel()
     return QDialog.reject(self)
Ejemplo n.º 10
0
 def reject(self):
     dynamic.set('catalog_window_geom', bytearray(self.saveGeometry()))
     QDialog.reject(self)
Ejemplo n.º 11
0
 def reject(self):
     QDialog.reject(self)
Ejemplo n.º 12
0
 def _reject(self):
     if self.is_pane:
         self.gui.quickview_splitter.hide_quickview_widget()
     self.gui.library_view.setFocus(Qt.FocusReason.ActiveWindowFocusReason)
     self._close()
     QDialog.reject(self)
Ejemplo n.º 13
0
 def reject(self):
     tprefs.set('preferences_geom', bytearray(self.saveGeometry()))
     QDialog.reject(self)
Ejemplo n.º 14
0
 def reject(self):
     self._save_settings()
     QDialog.reject(self)
Ejemplo n.º 15
0
 def reject(self):
     self.rejected = True
     self.restorer.progress_callback = lambda x, y: x
     QDialog.reject(self)
Ejemplo n.º 16
0
 def reject(self):
     self.save_geometry()
     self.select_none()
     QDialog.reject(self)
Ejemplo n.º 17
0
 def reject(self):
     self.save_state()
     QDialog.reject(self)
Ejemplo n.º 18
0
 def reject(self):
     self.break_cycles()
     QDialog.reject(self)
Ejemplo n.º 19
0
 def reject(self):
     if not self.cancelable:
         return
     QDialog.reject(self)
Ejemplo n.º 20
0
 def reject(self):
     self.save_state()
     return QDialog.reject(self)
Ejemplo n.º 21
0
 def reject(self):
     gprefs['metadata_single_gui_geom'] = bytearray(self.saveGeometry())
     self.identify_widget.cancel()
     self.covers_widget.cancel()
     return QDialog.reject(self)
Ejemplo n.º 22
0
 def reject(self):
     if self.stack.currentIndex() == 0 or self.close_after_initial:
         self.on_shutdown()
         return QDialog.reject(self)
     self.hide_plugin()
Ejemplo n.º 23
0
 def reject(self):
     self.save_geometry()
     return QDialog.reject(self)
Ejemplo n.º 24
0
 def reject(self):
     self.canceled = True
     QDialog.reject(self)
Ejemplo n.º 25
0
 def reject(self):
     self.cleanup()
     QDialog.reject(self)