29 URL as value (QUrl) |
29 URL as value (QUrl) |
30 """ |
30 """ |
31 super(HelpTopicDialog, self).__init__(parent) |
31 super(HelpTopicDialog, self).__init__(parent) |
32 self.setupUi(self) |
32 self.setupUi(self) |
33 |
33 |
34 self.label.setText(self.trUtf8("Choose a &topic for <b>{0}</b>:")\ |
34 self.label.setText(self.trUtf8("Choose a &topic for <b>{0}</b>:") |
35 .format(keyword)) |
35 .format(keyword)) |
36 |
36 |
37 self.__links = links |
37 self.__links = links |
38 for topic in sorted(self.__links): |
38 for topic in sorted(self.__links): |
39 self.topicsList.addItem(topic) |
39 self.topicsList.addItem(topic) |