How accclarkson177-svg/deslib works
Deslib is a frameless desktop PDF-reading widget. Its main workflow is to accept dropped PDFs, import them in background workers while saving a first-page cover, display those covers in an interactive bookshelf dock, and open the selected PDF through the operating system. The implementation is concentrated in main.py; the excerpts show key components but omit some wiring, so edges are limited to documented or excerpt-supported relationships.
Main entry points: main.py Bookshelf Window
Components 12
PDF Import
- PDF Drop Zone
main.py - Import Worker
main.py - PDF Files
- Cover Images
Bookshelf Dock
- Bookshelf Window
main.py - Dock Surface
main.py - Book Widget
main.py - Cover Preview
main.py - PDF Opener
main.py
Desktop Application
- Operating System
- Application Entry
main.py
Other components
- Reader
Connections 13
- Reader → PDF Drop Zone: drops PDFs
main.py - PDF Drop Zone → Bookshelf Window: signals paths
main.py - Bookshelf Window → Import Worker: starts imports
main.py - Import Worker → PDF Files: copies PDF
main.py - Import Worker → Cover Images: renders page
main.py - Bookshelf Window → Cover Images: loads covers
- Bookshelf Window → Dock Surface: hosts
main.py - Bookshelf Window → Book Widget: adds widgets
main.py - Book Widget → Cover Preview: shows preview
main.py - Book Widget → Bookshelf Window: requests opening
main.py - Bookshelf Window → PDF Opener: opens selection
main.py - PDF Opener → Operating System: launches PDF
main.py - Application Entry → Bookshelf Window: creates window
main.py