--- a/src/eric7/Documentation/Source/eric7.Tools.TRPreviewer.html Wed Dec 20 19:28:22 2023 +0100 +++ b/src/eric7/Documentation/Source/eric7.Tools.TRPreviewer.html Thu Dec 21 12:03:40 2023 +0100 @@ -146,17 +146,17 @@ </p> <dl> -<dt><i>filenames</i></dt> +<dt><i>filenames</i> (list of str)</dt> <dd> filenames of form and/or translation files to load </dd> -<dt><i>parent</i></dt> +<dt><i>parent</i> (QWidget)</dt> <dd> -parent widget of this window (QWidget) +parent widget of this window </dd> -<dt><i>name</i></dt> +<dt><i>name</i> (str)</dt> <dd> -name of this window (string) +name of this window </dd> </dl> <a NAME="TRPreviewer.__about" ID="TRPreviewer.__about"></a> @@ -252,9 +252,9 @@ </p> <dl> -<dt><i>event</i></dt> +<dt><i>event</i> (QCloseEvent)</dt> <dd> -close event (QCloseEvent) +close event </dd> </dl> <a NAME="TRPreviewer.reloadTranslations" ID="TRPreviewer.reloadTranslations"></a> @@ -405,14 +405,14 @@ </p> <dl> -<dt><i>selector</i></dt> +<dt><i>selector</i> (QComboBox)</dt> <dd> reference to the QComboBox used to show the - available languages (QComboBox) + available languages </dd> -<dt><i>parent</i></dt> +<dt><i>parent</i> (QWidget)</dt> <dd> -parent widget (QWidget) +parent widget </dd> </dl> <a NAME="TranslationsDict.__del" ID="TranslationsDict.__del"></a> @@ -425,9 +425,9 @@ </p> <dl> -<dt><i>name</i></dt> +<dt><i>name</i> (str)</dt> <dd> -name of the translator to delete (string) +name of the translator to delete </dd> </dl> <a NAME="TranslationsDict.__findFileName" ID="TranslationsDict.__findFileName"></a> @@ -439,9 +439,9 @@ </p> <dl> -<dt><i>transFileName</i></dt> +<dt><i>transFileName</i> (str)</dt> <dd> -file name of the translation file (string) +file name of the translation file </dd> </dl> <dl> @@ -450,6 +450,12 @@ reference to a translation object or None </dd> </dl> +<dl> +<dt>Return Type:</dt> +<dd> +QTranslator +</dd> +</dl> <a NAME="TranslationsDict.__findName" ID="TranslationsDict.__findName"></a> <h4>TranslationsDict.__findName</h4> <b>__findName</b>(<i>name</i>) @@ -459,9 +465,9 @@ </p> <dl> -<dt><i>name</i></dt> +<dt><i>name</i> (str)</dt> <dd> -name (language) of the translation (string) +name (language) of the translation </dd> </dl> <dl> @@ -470,6 +476,12 @@ reference to a translation object or None </dd> </dl> +<dl> +<dt>Return Type:</dt> +<dd> +QTranslator +</dd> +</dl> <a NAME="TranslationsDict.__haveFileName" ID="TranslationsDict.__haveFileName"></a> <h4>TranslationsDict.__haveFileName</h4> <b>__haveFileName</b>(<i>transFileName</i>) @@ -479,15 +491,21 @@ </p> <dl> -<dt><i>transFileName</i></dt> +<dt><i>transFileName</i> (str)</dt> <dd> -file name of the translation file (string) +file name of the translation file </dd> </dl> <dl> <dt>Return:</dt> <dd> -flag indicating the presence of the translation (boolean) +flag indicating the presence of the translation +</dd> +</dl> +<dl> +<dt>Return Type:</dt> +<dd> +bool </dd> </dl> <a NAME="TranslationsDict.__haveName" ID="TranslationsDict.__haveName"></a> @@ -499,15 +517,21 @@ </p> <dl> -<dt><i>name</i></dt> +<dt><i>name</i> (str)</dt> <dd> -name (language) of the translation (string) +name (language) of the translation </dd> </dl> <dl> <dt>Return:</dt> <dd> -flag indicating the presence of the translation (boolean) +flag indicating the presence of the translation +</dd> +</dl> +<dl> +<dt>Return Type:</dt> +<dd> +bool </dd> </dl> <a NAME="TranslationsDict.__uniqueName" ID="TranslationsDict.__uniqueName"></a> @@ -519,15 +543,21 @@ </p> <dl> -<dt><i>transFileName</i></dt> +<dt><i>transFileName</i> (str)</dt> <dd> -file name of the translation file (string) +file name of the translation file </dd> </dl> <dl> <dt>Return:</dt> <dd> -unique name (string or None) +unique name +</dd> +</dl> +<dl> +<dt>Return Type:</dt> +<dd> +str </dd> </dl> <a NAME="TranslationsDict.add" ID="TranslationsDict.add"></a> @@ -543,14 +573,14 @@ </p> <dl> -<dt><i>fileName</i></dt> +<dt><i>fileName</i> (str)</dt> <dd> -name of the translation file to be added (string) +name of the translation file to be added </dd> -<dt><i>setTranslation</i></dt> +<dt><i>setTranslation</i> (bool)</dt> <dd> flag indicating, if this should be set as - the active translation (boolean) + the active translation </dd> </dl> <a NAME="TranslationsDict.hasTranslations" ID="TranslationsDict.hasTranslations"></a> @@ -563,7 +593,13 @@ <dl> <dt>Return:</dt> <dd> -flag signaling if any translation was loaded (boolean) +flag signaling if any translation was loaded +</dd> +</dl> +<dl> +<dt>Return Type:</dt> +<dd> +bool </dd> </dl> <a NAME="TranslationsDict.loadTransFile" ID="TranslationsDict.loadTransFile"></a> @@ -575,15 +611,21 @@ </p> <dl> -<dt><i>transFileName</i></dt> +<dt><i>transFileName</i> (str)</dt> <dd> -file name of the translation file (string) +file name of the translation file </dd> </dl> <dl> <dt>Return:</dt> <dd> -reference to the new translator object (QTranslator) +reference to the new translator object +</dd> +</dl> +<dl> +<dt>Return Type:</dt> +<dd> +QTranslator </dd> </dl> <a NAME="TranslationsDict.reload" ID="TranslationsDict.reload"></a> @@ -602,9 +644,9 @@ </p> <dl> -<dt><i>name</i></dt> +<dt><i>name</i> (str)</dt> <dd> -name (language) of the translator to set (string) +name (language) of the translator to set </dd> </dl> <div align="right"><a href="#top">Up</a></div> @@ -700,9 +742,9 @@ </p> <dl> -<dt><i>parent</i></dt> +<dt><i>parent</i> (QWidget)</dt> <dd> -parent widget (QWidget) +parent widget </dd> </dl> <a NAME="WidgetArea.__findWidget" ID="WidgetArea.__findWidget"></a> @@ -714,15 +756,21 @@ </p> <dl> -<dt><i>uiFileName</i></dt> +<dt><i>uiFileName</i> (str)</dt> <dd> -filename of the loaded UI file (string) +filename of the loaded UI file </dd> </dl> <dl> <dt>Return:</dt> <dd> -reference to the widget (WidgetView) or None +reference to the widget or None +</dd> +</dl> +<dl> +<dt>Return Type:</dt> +<dd> +WidgetView </dd> </dl> <a NAME="WidgetArea.__toggleWidget" ID="WidgetArea.__toggleWidget"></a> @@ -734,7 +782,7 @@ </p> <dl> -<dt><i>w</i></dt> +<dt><i>w</i> (QWidget)</dt> <dd> window to be toggled </dd> @@ -762,13 +810,13 @@ </p> <dl> -<dt><i>obj</i></dt> +<dt><i>obj</i> (QObject)</dt> <dd> -object, that generated the event (QObject) +object, that generated the event </dd> -<dt><i>ev</i></dt> +<dt><i>ev</i> (QEvent)</dt> <dd> -the event, that was generated by object (QEvent) +the event, that was generated by object </dd> </dl> <dl> @@ -777,6 +825,12 @@ flag indicating if event was filtered out </dd> </dl> +<dl> +<dt>Return Type:</dt> +<dd> +bool +</dd> +</dl> <a NAME="WidgetArea.hasWidgets" ID="WidgetArea.hasWidgets"></a> <h4>WidgetArea.hasWidgets</h4> <b>hasWidgets</b>(<i></i>) @@ -787,7 +841,13 @@ <dl> <dt>Return:</dt> <dd> -flag signaling if any widget was loaded (boolean) +flag signaling if any widget was loaded +</dd> +</dl> +<dl> +<dt>Return Type:</dt> +<dd> +bool </dd> </dl> <a NAME="WidgetArea.loadWidget" ID="WidgetArea.loadWidget"></a> @@ -799,9 +859,9 @@ </p> <dl> -<dt><i>uiFileName</i></dt> +<dt><i>uiFileName</i> (str)</dt> <dd> -name of the UI file to load (string) +name of the UI file to load </dd> </dl> <a NAME="WidgetArea.showWindowMenu" ID="WidgetArea.showWindowMenu"></a> @@ -813,7 +873,7 @@ </p> <dl> -<dt><i>windowMenu</i></dt> +<dt><i>windowMenu</i> (QMenu)</dt> <dd> reference to the window menu </dd> @@ -827,9 +887,9 @@ </p> <dl> -<dt><i>act</i></dt> +<dt><i>act</i> (QAction)</dt> <dd> -reference to the action that triggered (QAction) +reference to the action that triggered </dd> </dl> <div align="right"><a href="#top">Up</a></div> @@ -893,17 +953,17 @@ </p> <dl> -<dt><i>uiFileName</i></dt> +<dt><i>uiFileName</i> (str)</dt> <dd> -name of the UI file to load (string) +name of the UI file to load </dd> -<dt><i>parent</i></dt> +<dt><i>parent</i> (QWidget)</dt> <dd> -parent widget (QWidget) +parent widget </dd> -<dt><i>name</i></dt> +<dt><i>name</i> (str)</dt> <dd> -name of this widget (string) +name of this widget </dd> </dl> <a NAME="WidgetView.__rebuildWidget" ID="WidgetView.__rebuildWidget"></a> @@ -930,7 +990,13 @@ <dl> <dt>Return:</dt> <dd> -flag indicating the validity (boolean) +flag indicating the validity +</dd> +</dl> +<dl> +<dt>Return Type:</dt> +<dd> +bool </dd> </dl> <a NAME="WidgetView.uiFileName" ID="WidgetView.uiFileName"></a> @@ -943,7 +1009,13 @@ <dl> <dt>Return:</dt> <dd> -filename of the loaded UI file (string) +filename of the loaded UI file +</dd> +</dl> +<dl> +<dt>Return Type:</dt> +<dd> +str </dd> </dl> <div align="right"><a href="#top">Up</a></div>