コード例 #1
0
 def reject(self):
     if question_dialog(self,
                        _('Are you sure?'),
                        _('You will lose any unsaved changes. To save your'
                          ' changes, click the Add/Update recipe button.'
                          ' Continue?'),
                        show_copy_button=False):
         ResizableDialog.reject(self)
コード例 #2
0
ファイル: user_profiles.py プロジェクト: Eksmo/calibre
 def reject(self):
     if question_dialog(
         self,
         _("Are you sure?"),
         _(
             "You will lose any unsaved changes. To save your"
             " changes, click the Add/Update recipe button."
             " Continue?"
         ),
         show_copy_button=False,
     ):
         ResizableDialog.reject(self)
コード例 #3
0
ファイル: single.py プロジェクト: JapaChin/calibre
 def reject(self):
     self.save_state()
     ResizableDialog.reject(self)
コード例 #4
0
ファイル: single.py プロジェクト: Hainish/calibre
 def reject(self):
     self.break_cycles()
     ResizableDialog.reject(self)
コード例 #5
0
ファイル: metadata_bulk.py プロジェクト: siebert/calibre
 def reject(self):
     self.save_state()
     ResizableDialog.reject(self)
コード例 #6
0
ファイル: catalog.py プロジェクト: ZRhinoceros/calibre
 def reject(self):
     dynamic.set("catalog_window_geom", bytearray(self.saveGeometry()))
     ResizableDialog.reject(self)
コード例 #7
0
ファイル: single.py プロジェクト: tokot/calibre
 def reject(self):
     self.break_cycles()
     ResizableDialog.reject(self)
コード例 #8
0
ファイル: catalog.py プロジェクト: tokot/calibre
 def reject(self):
     dynamic.set('catalog_window_geom', bytearray(self.saveGeometry()))
     ResizableDialog.reject(self)