Helpviewer/Download/DownloadAskActionDialog.py

branch
Py2 comp.
changeset 2525
8b507a9a2d40
parent 2302
f29e9405c851
child 3057
10516539f238
equal deleted inserted replaced
2523:139f182b72f6 2525:8b507a9a2d40
4 # 4 #
5 5
6 """ 6 """
7 Module implementing a dialog to ask for a download action. 7 Module implementing a dialog to ask for a download action.
8 """ 8 """
9
10 from __future__ import unicode_literals # __IGNORE_WARNING__
9 11
10 from PyQt4.QtGui import QDialog 12 from PyQt4.QtGui import QDialog
11 13
12 from .Ui_DownloadAskActionDialog import Ui_DownloadAskActionDialog 14 from .Ui_DownloadAskActionDialog import Ui_DownloadAskActionDialog
13 15
22 """ 24 """
23 Constructor 25 Constructor
24 26
25 @param parent reference to the parent widget (QWidget) 27 @param parent reference to the parent widget (QWidget)
26 """ 28 """
27 super().__init__(parent) 29 super(DownloadAskActionDialog, self).__init__(parent)
28 self.setupUi(self) 30 self.setupUi(self)
29 31
30 self.infoLabel.setText("<b>{0}</b>".format(fileName)) 32 self.infoLabel.setText("<b>{0}</b>".format(fileName))
31 self.typeLabel.setText(mimeType) 33 self.typeLabel.setText(mimeType)
32 self.siteLabel.setText(baseUrl) 34 self.siteLabel.setText(baseUrl)

eric ide

mercurial