Helpviewer/HelpTopicDialog.py

changeset 1131
7781e396c903
parent 945
8cd4d08fa9f6
child 1509
c0b5e693b0eb
equal deleted inserted replaced
1130:3e9f0330f833 1131:7781e396c903
24 @param parent reference to the parent widget (QWidget) 24 @param parent reference to the parent widget (QWidget)
25 @param keyword keyword for the link set (string) 25 @param keyword keyword for the link set (string)
26 @param links dictionary with help topic as key (string) and 26 @param links dictionary with help topic as key (string) and
27 URL as value (QUrl) 27 URL as value (QUrl)
28 """ 28 """
29 QDialog.__init__(self, parent) 29 super().__init__(parent)
30 self.setupUi(self) 30 self.setupUi(self)
31 31
32 self.label.setText(self.trUtf8("Choose a &topic for <b>{0}</b>:")\ 32 self.label.setText(self.trUtf8("Choose a &topic for <b>{0}</b>:")\
33 .format(keyword)) 33 .format(keyword))
34 34

eric ide

mercurial