eric6/CondaInterface/CondaPackageDetailsWidget.py

changeset 8218
7c09585bd960
parent 8143
2c730d5fd177
equal deleted inserted replaced
8217:385f60c94548 8218:7c09585bd960
26 @param details dictionary containing the package details 26 @param details dictionary containing the package details
27 @type dict 27 @type dict
28 @param parent reference to the parent widget 28 @param parent reference to the parent widget
29 @type QWidget 29 @type QWidget
30 """ 30 """
31 super(CondaPackageDetailsWidget, self).__init__(parent) 31 super().__init__(parent)
32 self.setupUi(self) 32 self.setupUi(self)
33 33
34 self.headerLabel.setText(self.tr("<b>{0} / {1} / {2}</b>").format( 34 self.headerLabel.setText(self.tr("<b>{0} / {1} / {2}</b>").format(
35 details["name"], details["version"], details["build"])) 35 details["name"], details["version"], details["build"]))
36 if "fn" in details: 36 if "fn" in details:
73 @param details dictionary containing the package details 73 @param details dictionary containing the package details
74 @type dict 74 @type dict
75 @param parent reference to the parent widget 75 @param parent reference to the parent widget
76 @type QWidget 76 @type QWidget
77 """ 77 """
78 super(CondaPackageDetailsDialog, self).__init__(parent) 78 super().__init__(parent)
79 self.setSizeGripEnabled(True) 79 self.setSizeGripEnabled(True)
80 80
81 self.__layout = QVBoxLayout(self) 81 self.__layout = QVBoxLayout(self)
82 self.setLayout(self.__layout) 82 self.setLayout(self.__layout)
83 83

eric ide

mercurial