pycrossword  0.3
Pure-Python implementation of a crossword puzzle generator and editor
Public Member Functions | Public Attributes | List of all members
pycross.browser.DownloadManagerWidget Class Reference

Download manager: a container and manager for DownloadWidget items. More...

Inheritance diagram for pycross.browser.DownloadManagerWidget:

Public Member Functions

def __init__ (self, parent=None)
 
def downloadRequested (self, QtWebEngineWidgets.QWebEngineDownloadItem download)
 Handler called when download is requested for a QWebEngineDownloadItem. More...
 
def add (self, wdownload)
 Adds a new download item. More...
 
def remove (self, wdownload)
 Removes a download item. More...
 

Public Attributes

 m_numDownloads
 int current number of active downloads More...
 
 layout_main
 main window layout More...
 
 scroll_main
 scroll area on main layout More...
 
 w_items
 scrollable widget More...
 
 layout_items
 layout for scrollable widget More...
 
 l_zeroitems
 label showing when there are no downloads More...
 

Detailed Description

Download manager: a container and manager for DownloadWidget items.

Constructor & Destructor Documentation

◆ __init__()

def pycross.browser.DownloadManagerWidget.__init__ (   self,
  parent = None 
)
Parameters
parentQtWidget.QWidget parent widget

Member Function Documentation

◆ add()

def pycross.browser.DownloadManagerWidget.add (   self,
  wdownload 
)

Adds a new download item.

Parameters
wdownloadDownloadWidget new download item

◆ downloadRequested()

def pycross.browser.DownloadManagerWidget.downloadRequested (   self,
QtWebEngineWidgets.QWebEngineDownloadItem  download 
)

Handler called when download is requested for a QWebEngineDownloadItem.

Parameters
downloadQtWebEngineWidgets.QWebEngineDownloadItem download item

◆ remove()

def pycross.browser.DownloadManagerWidget.remove (   self,
  wdownload 
)

Removes a download item.

Parameters
wdownloadDownloadWidget download item to remove

Member Data Documentation

◆ l_zeroitems

pycross.browser.DownloadManagerWidget.l_zeroitems

label showing when there are no downloads

◆ layout_items

pycross.browser.DownloadManagerWidget.layout_items

layout for scrollable widget

◆ layout_main

pycross.browser.DownloadManagerWidget.layout_main

main window layout

◆ m_numDownloads

pycross.browser.DownloadManagerWidget.m_numDownloads

int current number of active downloads

◆ scroll_main

pycross.browser.DownloadManagerWidget.scroll_main

scroll area on main layout

◆ w_items

pycross.browser.DownloadManagerWidget.w_items

scrollable widget


The documentation for this class was generated from the following file: