27 URL as value (QUrl) |
27 URL as value (QUrl) |
28 """ |
28 """ |
29 super().__init__(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 |
35 self.__links = links |
35 self.__links = links |
36 for topic in sorted(self.__links): |
36 for topic in sorted(self.__links): |
37 self.topicsList.addItem(topic) |
37 self.topicsList.addItem(topic) |