jbrowser.ui.dialogs.downloads
Generated from the source code of JBrowser 2.0.3.
Download manager window: live progress, speed/ETA, pause/resume/cancel and file launcher.
DownloadRow#
class DownloadRow(QFrame)source
DownloadRow(dlg: 'DownloadsDialog', item: DownloadItem)
One download. A finished file opens when you click anywhere on its row.
DownloadRow.openable#
openable() -> boolsource
DownloadRow.refresh#
refresh() -> Nonesource
Qt overrides: enterEvent, leaveEvent, mousePressEvent, mouseReleaseEvent, paintEvent
DownloadsDialog#
class DownloadsDialog(ChromeWindow)source
DownloadsDialog(ctx, ui, parent: QWidget | None=None)
Qt overrides: showEvent, changeEvent
Functions#
human_size#
human_size(n: float) -> strsource
human_eta#
human_eta(seconds: float) -> strsource