You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
# Translators: Displayed in braille for an object which is a
@@ -2233,19 +2235,23 @@ def terminate():
2233
2235
2234
2236
classBrailleDisplayDriver(driverHandler.Driver):
2235
2237
"""Abstract base braille display driver.
2236
-
Each braille display driver should be a separate Python module in the root brailleDisplayDrivers directory containing a BrailleDisplayDriver class which inherits from this base class.
2238
+
Each braille display driver should be a separate Python module in the root brailleDisplayDrivers directory
2239
+
containing a BrailleDisplayDriver class which inherits from this base class.
2237
2240
2238
2241
At a minimum, drivers must set L{name} and L{description} and override the L{check} method.
2239
2242
To display braille, L{numCells} and L{display} must be implemented.
2240
2243
2241
-
Drivers should dispatch input such as presses of buttons, wheels or other controls using the L{inputCore} framework.
2242
-
They should subclass L{BrailleDisplayGesture} and execute instances of those gestures using L{inputCore.manager.executeGesture}.
2244
+
Drivers should dispatch input such as presses of buttons, wheels or other controls
2245
+
using the L{inputCore} framework.
2246
+
They should subclass L{BrailleDisplayGesture}
2247
+
and execute instances of those gestures using L{inputCore.manager.executeGesture}.
2243
2248
These gestures can be mapped in L{gestureMap}.
2244
2249
A driver can also inherit L{baseObject.ScriptableObject} to provide display specific scripts.
2245
2250
2246
2251
@see: L{hwIo} for raw serial and HID I/O.
2247
2252
2248
-
There are factory functions to create L{driverHandler.DriverSetting} instances for common display specific settings; e.g. L{DotFirmnessSetting}.
2253
+
There are factory functions to create L{autoSettingsUtils.driverSetting.DriverSetting} instances
2254
+
for common display specific settings; e.g. L{DotFirmnessSetting}.
2249
2255
"""
2250
2256
_configSection="braille"
2251
2257
# Most braille display drivers don't have settings yet.
Each synthesizer driver should be a separate Python module in the root synthDrivers directory containing a SynthDriver class which inherits from this base class.
55
+
"""
56
+
Abstract base synthesizer driver.
57
+
Each synthesizer driver should be a separate Python module in the root synthDrivers directory
58
+
containing a SynthDriver class
59
+
which inherits from this base class.
56
60
57
61
At a minimum, synth drivers must set L{name} and L{description} and override the L{check} method.
58
62
The methods L{speak}, L{cancel} and L{pause} should be overridden as appropriate.
59
63
L{supportedSettings} should be set as appropriate for the settings supported by the synthesiser.
60
-
There are factory functions to create L{driverHandler.DriverSetting} instances for common settings; e.g. L{VoiceSetting} and L{RateSetting}.
64
+
There are factory functions to create L{autoSettingsUtils.driverSetting.DriverSetting} instances
65
+
for common settings;
66
+
e.g. L{VoiceSetting} and L{RateSetting}.
61
67
Each setting is retrieved and set using attributes named after the setting;
62
68
e.g. the L{voice} attribute is used for the L{voice} setting.
63
69
These will usually be properties.
@@ -103,7 +109,7 @@ class SynthDriver(driverHandler.Driver):
103
109
@classmethod
104
110
defLanguageSetting(cls):
105
111
"""Factory function for creating a language setting."""
106
-
returndriverHandler.DriverSetting(
112
+
returnDriverSetting(
107
113
"language",
108
114
# Translators: Label for a setting in voice settings dialog.
109
115
_("&Language"),
@@ -115,7 +121,7 @@ def LanguageSetting(cls):
115
121
@classmethod
116
122
defVoiceSetting(cls):
117
123
"""Factory function for creating voice setting."""
118
-
returndriverHandler.DriverSetting(
124
+
returnDriverSetting(
119
125
"voice",
120
126
# Translators: Label for a setting in voice settings dialog.
121
127
_("&Voice"),
@@ -127,7 +133,7 @@ def VoiceSetting(cls):
127
133
@classmethod
128
134
defVariantSetting(cls):
129
135
"""Factory function for creating variant setting."""
130
-
returndriverHandler.DriverSetting(
136
+
returnDriverSetting(
131
137
"variant",
132
138
# Translators: Label for a setting in voice settings dialog.
133
139
_("V&ariant"),
@@ -139,7 +145,7 @@ def VariantSetting(cls):
139
145
@classmethod
140
146
defRateSetting(cls, minStep=1):
141
147
"""Factory function for creating rate setting."""
142
-
returndriverHandler.NumericDriverSetting(
148
+
returnNumericDriverSetting(
143
149
"rate",
144
150
# Translators: Label for a setting in voice settings dialog.
0 commit comments