adsfolio.gui.edition_merge
Choose PDF editions using shared identifiers and explicit user review.
- class adsfolio.gui.edition_merge.EditionMergeDialog(request, parent=None)[source]
Bases:
PySide6.QtWidgets.QDialogConfirm source and target before reviewing any annotation transfers.
- Parameters:
request (EditionMergeRequest)
parent (QWidget | None)
- property source: pathlib.Path | None[source]
Return the explicitly selected annotation source, if any.
- staticMetaObject = PySide6.QtCore.QMetaObject("EditionMergeDialog" inherits "QDialog": )
- property target: pathlib.Path | None[source]
Return the PDF chosen to supply the page layout.
- class adsfolio.gui.edition_merge.EditionMergeRequest(root, records, target, choose_source=False, linked=False, event=None)[source]
Bases:
objectKeep a merge review tied to its library, files, and watcher arrival.
- Parameters:
root (pathlib.Path)
target (pathlib.Path)
choose_source (bool)
linked (bool)
event (adsfolio.pdf.watch_session.WatchEvent | None)
- event: adsfolio.pdf.watch_session.WatchEvent | None = None
- root: pathlib.Path
- target: pathlib.Path
- adsfolio.gui.edition_merge.edition_candidates(arrival, records)[source]
Find other records with a shared bibcode, DOI, or version-free arXiv ID.