Calibre (written in PyQt) has this feature implemented. Perhaps mockups and implementation ideas could be taken from there.
Calibre (written in PyQt) has this feature implemented. Perhaps mockups and implementation ideas could be taken from there.