JBrowser Source Docs
You are reading the documentation for JBrowser 2.0.2. The newest release is 2.0.3. Go to the latest documentation

jbrowser.ui.dialogs.downloads

Generated from the source code of JBrowser 2.0.2.

jbrowser/ui/dialogs/downloads.py · 252 lines

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