Donwload widget (panel) for a single download item.
More...
|
def | __init__ (self, QtWebEngineWidgets.QWebEngineDownloadItem download, parent=None) |
|
def | on_btn_cancel (self, checked) |
| Handler triggered when the Cancel button is clicked. More...
|
|
def | updateWidget (self) |
| Updates the download information (labels, progress etc.) More...
|
|
|
| removeClicked = QtCore.pyqtSignal(QtWidgets.QFrame) |
| signal triggered when the user clicks the Remove button on the download More...
|
|
Donwload widget (panel) for a single download item.
◆ __init__()
def pycross.browser.DownloadWidget.__init__ |
( |
|
self, |
|
|
QtWebEngineWidgets.QWebEngineDownloadItem |
download, |
|
|
|
parent = None |
|
) |
| |
- Parameters
-
download | QtWebEngineWidgets.QWebEngineDownloadItem the download item |
parent | QtWidget.QWidget parent widget (DownloadManagerWidget ) |
◆ on_btn_cancel()
def pycross.browser.DownloadWidget.on_btn_cancel |
( |
|
self, |
|
|
|
checked |
|
) |
| |
Handler triggered when the Cancel button is clicked.
◆ updateWidget()
def pycross.browser.DownloadWidget.updateWidget |
( |
|
self | ) |
|
Updates the download information (labels, progress etc.)
◆ btn_cancel
pycross.browser.DownloadWidget.btn_cancel |
QtWidgets.QPushButton
Cancel button
◆ l_filename
pycross.browser.DownloadWidget.l_filename |
QtWidgets.QLabel
downloaded file name
◆ l_url
pycross.browser.DownloadWidget.l_url |
QtWidgets.QLabel
URL of the download item
◆ layout_main
pycross.browser.DownloadWidget.layout_main |
◆ m_download
pycross.browser.DownloadWidget.m_download |
QtWebEngineWidgets.QWebEngineDownloadItem
the download item
◆ m_timeAdded
pycross.browser.DownloadWidget.m_timeAdded |
QtCore.QElapsedTimer
timer to time downloading
◆ pb
pycross.browser.DownloadWidget.pb |
QtWidgets.QProgressBar
download progress bar
◆ removeClicked
pycross.browser.DownloadWidget.removeClicked = QtCore.pyqtSignal(QtWidgets.QFrame) |
|
static |
signal triggered when the user clicks the Remove button on the download
The documentation for this class was generated from the following file: