adsfolio.gui.update_dialog
Show available releases, their changes, and the install path for this copy.
- class adsfolio.gui.update_dialog.UpdateButton(parent=None)[source]
Bases:
adsfolio.gui.icons.RoundIconButtonRound download button that draws a blue dot while an update is available.
- Parameters:
parent (QWidget | None)
- paintEvent(event)[source]
- Parameters:
event (PySide6.QtGui.QPaintEvent)
- Return type:
None
- set_dot_visible(visible)[source]
Show or hide the update dot.
- Parameters:
visible (bool)
- Return type:
None
- staticMetaObject = PySide6.QtCore.QMetaObject("UpdateButton" inherits "RoundIconButton": )
- class adsfolio.gui.update_dialog.UpdateDialog(checker, downloader, kind, parent=None, *, browser_command=None, download_directory=None)[source]
Bases:
PySide6.QtWidgets.QDialogCompare versions, show release notes, and install, skip, or cancel.
- Parameters:
checker (UpdateChecker) – Shared release check.
downloader (UpdateDownloader) – Shared asset download.
kind (InstallationKind) – How this copy is installed. Only desktop downloads offer Install.
parent (QWidget, optional) – Parent window.
browser_command (str, optional) – Configured browser for release links.
download_directory (Path, optional) – Destination for verified downloads. Defaults to the user’s Downloads folder.
- showEvent(event)[source]
- Parameters:
event (PySide6.QtGui.QShowEvent)
- Return type:
None
- skip_requested
- staticMetaObject = PySide6.QtCore.QMetaObject("UpdateDialog" inherits "QDialog": Methods: #41 type=Signal, signature=skip_requested(QString), parameters=QString )
- adsfolio.gui.update_dialog.quiet_progress_bar(parent)[source]
Create a progress bar that stops drawing once hidden.
The native macOS style animates indeterminate bars with a shared AppKit indicator that keeps redrawing after the bar is hidden. Fusion animates only while the bar is visible.
- Parameters:
parent (PySide6.QtWidgets.QWidget)
- Return type: