File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff 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
You can’t perform that action at this time.
0 commit comments