Skip to content

Commit 8fdce76

Browse files
authored
Merge 6d1a114 into 178f19d
2 parents 178f19d + 6d1a114 commit 8fdce76

1 file changed

Lines changed: 11 additions & 1 deletion

File tree

source/gui/settingsDialogs.py

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3190,10 +3190,20 @@ def setType(self, type):
31903190
self.typeRadioBox.SetSelection(DictionaryEntryDialog.TYPE_LABELS_ORDERING.index(type))
31913191

31923192

3193-
class DictionaryDialog(SettingsDialog):
3193+
class DictionaryDialog(
3194+
SettingsDialog,
3195+
metaclass=guiHelper.SIPABCMeta,
3196+
):
3197+
"""A dictionary dialog.
3198+
A dictionary dialog is a setting dialog containing a list of dictionary entries and buttons to manage them.
3199+
3200+
To use this dialog, override L{__init__} calling super().__init__.
3201+
"""
3202+
31943203
TYPE_LABELS = {t: l.replace("&", "") for t, l in DictionaryEntryDialog.TYPE_LABELS.items()}
31953204
helpId = "SpeechDictionaries"
31963205

3206+
@abstractmethod
31973207
def __init__(self,parent,title,speechDict):
31983208
self.title = title
31993209
self.speechDict = speechDict

0 commit comments

Comments
 (0)