Fri, 27 Oct 2023 14:09:40 +0200
Regenerated the source documentation with the corrected module parser.
<!DOCTYPE html> <html><head> <title>eric7.Plugins.UiExtensionPlugins.Translator.TranslatorEngines.__init__</title> <meta charset="UTF-8"> <link rel="stylesheet" href="styles.css"> </head> <body> <a NAME="top" ID="top"></a> <h1>eric7.Plugins.UiExtensionPlugins.Translator.TranslatorEngines.__init__</h1> <p> Package containing the various translation engines. </p> <h3>Global Attributes</h3> <table> <tr><td>None</td></tr> </table> <h3>Classes</h3> <table> <tr><td>None</td></tr> </table> <h3>Functions</h3> <table> <tr> <td><a href="#engineDisplayName">engineDisplayName</a></td> <td>Module function to get a translated name for an engine.</td> </tr> <tr> <td><a href="#getEngineIcon">getEngineIcon</a></td> <td>Module function to get the icon of the named engine.</td> </tr> <tr> <td><a href="#getKeyUrl">getKeyUrl</a></td> <td>Module function to get an URL to request a user key.</td> </tr> <tr> <td><a href="#getTranslationEngine">getTranslationEngine</a></td> <td>Module function to instantiate an engine object for the named service.</td> </tr> <tr> <td><a href="#supportedEngineNames">supportedEngineNames</a></td> <td>Module function to get the list of supported translation engines.</td> </tr> </table> <hr /> <hr /> <a NAME="engineDisplayName" ID="engineDisplayName"></a> <h2>engineDisplayName</h2> <b>engineDisplayName</b>(<i>name</i>) <p> Module function to get a translated name for an engine. </p> <dl> <dt><i>name</i> (str)</dt> <dd> name of a translation engine </dd> </dl> <dl> <dt>Return:</dt> <dd> translated engine name </dd> </dl> <dl> <dt>Return Type:</dt> <dd> str </dd> </dl> <div align="right"><a href="#top">Up</a></div> <hr /> <hr /> <a NAME="getEngineIcon" ID="getEngineIcon"></a> <h2>getEngineIcon</h2> <b>getEngineIcon</b>(<i>name</i>) <p> Module function to get the icon of the named engine. </p> <dl> <dt><i>name</i> (str)</dt> <dd> name of the translation engine </dd> </dl> <dl> <dt>Return:</dt> <dd> engine icon </dd> </dl> <dl> <dt>Return Type:</dt> <dd> QIcon </dd> </dl> <div align="right"><a href="#top">Up</a></div> <hr /> <hr /> <a NAME="getKeyUrl" ID="getKeyUrl"></a> <h2>getKeyUrl</h2> <b>getKeyUrl</b>(<i>name</i>) <p> Module function to get an URL to request a user key. </p> <dl> <dt><i>name</i> (str)</dt> <dd> name of the online translation service </dd> </dl> <dl> <dt>Return:</dt> <dd> key request URL </dd> </dl> <dl> <dt>Return Type:</dt> <dd> str </dd> </dl> <div align="right"><a href="#top">Up</a></div> <hr /> <hr /> <a NAME="getTranslationEngine" ID="getTranslationEngine"></a> <h2>getTranslationEngine</h2> <b>getTranslationEngine</b>(<i>name, plugin, parent=None</i>) <p> Module function to instantiate an engine object for the named service. </p> <dl> <dt><i>name</i> (str)</dt> <dd> name of the online translation service </dd> <dt><i>plugin</i> (TranslatorPlugin)</dt> <dd> reference to the plugin object </dd> <dt><i>parent</i> (QObject)</dt> <dd> reference to the parent object </dd> </dl> <dl> <dt>Return:</dt> <dd> translation engine </dd> </dl> <dl> <dt>Return Type:</dt> <dd> TranslatorEngine </dd> </dl> <div align="right"><a href="#top">Up</a></div> <hr /> <hr /> <a NAME="supportedEngineNames" ID="supportedEngineNames"></a> <h2>supportedEngineNames</h2> <b>supportedEngineNames</b>(<i></i>) <p> Module function to get the list of supported translation engines. </p> <dl> <dt>Return:</dt> <dd> names of supported engines </dd> </dl> <dl> <dt>Return Type:</dt> <dd> list of str </dd> </dl> <div align="right"><a href="#top">Up</a></div> <hr /> </body></html>