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.QDialog

Let the user select original PDFs to move to the system Trash.

Parameters:
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:
Return type:

str | None