eric6/WebBrowser/Download/DownloadAskActionDialog.py

changeset 8218
7c09585bd960
parent 7923
91e843545d9a
equal deleted inserted replaced
8217:385f60c94548 8218:7c09585bd960
25 @param fileName file name (string) 25 @param fileName file name (string)
26 @param mimeType mime type (string) 26 @param mimeType mime type (string)
27 @param baseUrl URL (string) 27 @param baseUrl URL (string)
28 @param parent reference to the parent widget (QWidget) 28 @param parent reference to the parent widget (QWidget)
29 """ 29 """
30 super(DownloadAskActionDialog, self).__init__(parent) 30 super().__init__(parent)
31 self.setupUi(self) 31 self.setupUi(self)
32 32
33 self.infoLabel.setText("<b>{0}</b>".format(fileName)) 33 self.infoLabel.setText("<b>{0}</b>".format(fileName))
34 self.typeLabel.setText(mimeType) 34 self.typeLabel.setText(mimeType)
35 self.siteLabel.setText(baseUrl) 35 self.siteLabel.setText(baseUrl)

eric ide

mercurial