|
|
#1 |
|
frumious Bandersnatch
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 7,570
Karma: 20150435
Join Date: Jan 2008
Location: Spaniard in Sweden
Device: Cybook Orizon, Kobo Aura
|
Detecting change in formats
How can I detect, from a plugin, when formats are added/removed from a selected book?
I detect when the selection is changed: Code:
self.gui.library_view.selectionModel().selectionChanged.connect(self.update_info) |
|
|
|
|
|
#2 |
|
frumious Bandersnatch
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 7,570
Karma: 20150435
Join Date: Jan 2008
Location: Spaniard in Sweden
Device: Cybook Orizon, Kobo Aura
|
It seems this works:
Code:
self.gui.library_view.model().dataChanged.connect(self.update_info) |
|
|
|
![]() |
| Thread Tools | Search this Thread |
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| No supported formats (Available formats: 0) (epub)) | luta | Calibre | 2 | 04-27-2013 10:50 AM |
| Is it possible to change how Calibre formats HTML for Epubs | chief | Calibre | 8 | 07-07-2010 03:04 PM |
| Convert Epub and Msreader formats to Kindle formats | bruc79 | Calibre | 17 | 06-22-2010 04:50 AM |
| not detecting prs300 | coolnamehere | Calibre | 4 | 03-05-2010 01:44 AM |