Exemple #1
0
    def change_cover_grid_texture(self):
        from calibre.gui2.preferences.texture_chooser import TextureChooser

        d = TextureChooser(parent=self, initial=self.cg_bg_widget.btex)
        if d.exec_() == d.Accepted:
            self.set_cg_texture(d.texture)
            self.changed_signal.emit()
Exemple #2
0
 def change_cover_grid_texture(self):
     from calibre.gui2.preferences.texture_chooser import TextureChooser
     d = TextureChooser(parent=self, initial=self.cg_bg_widget.btex)
     if d.exec_() == QDialog.DialogCode.Accepted:
         self.set_cg_texture(d.texture)
         self.changed_signal.emit()