26 |
26 |
27 @param data contents to be edited (string) |
27 @param data contents to be edited (string) |
28 @param info info string to show at the header (string) |
28 @param info info string to show at the header (string) |
29 @param parent reference to the parent widget (QWidget) |
29 @param parent reference to the parent widget (QWidget) |
30 """ |
30 """ |
31 super(SpellingDictionaryEditDialog, self).__init__(parent) |
31 super().__init__(parent) |
32 self.setupUi(self) |
32 self.setupUi(self) |
33 |
33 |
34 self.infoLabel.setText(info) |
34 self.infoLabel.setText(info) |
35 |
35 |
36 self.__model = QStringListModel( |
36 self.__model = QStringListModel( |