adsfolio.gui.merge_cleanup
Offer reversible original-file cleanup after a verified PDF merge.
- class adsfolio.gui.merge_cleanup.MergeCleanupDialog(report, parent=None)[source]
Bases:
PySide6.QtWidgets.QDialogLet the user select original PDFs to move to the system Trash.
- Parameters:
report (MergeReport)
parent (QWidget | None)
- move_selected_to_trash()[source]
Move only checked, unchanged inputs after checking the merged result.
- Return type:
None
- staticMetaObject = PySide6.QtCore.QMetaObject("MergeCleanupDialog" inherits "QDialog": )
- adsfolio.gui.merge_cleanup.cleanup_problem(report, originals)[source]
Check the saved output and original contents before moving any files.
- Parameters:
originals (list[adsfolio.pdf.annotation_merge.MergeInput])
- Return type:
str | None