Documentation/Source/eric5.Helpviewer.HelpLanguagesDialog.html

changeset 58
37f0444c3479
parent 21
b88a0e6268bd
child 409
0ea528e80202
--- a/Documentation/Source/eric5.Helpviewer.HelpLanguagesDialog.html	Thu Jan 14 17:27:31 2010 +0000
+++ b/Documentation/Source/eric5.Helpviewer.HelpLanguagesDialog.html	Thu Jan 14 18:35:52 2010 +0000
@@ -22,7 +22,7 @@
 <body><a NAME="top" ID="top"></a>
 <h1>eric5.Helpviewer.HelpLanguagesDialog</h1>
 <p>
-&#77;&#111;&#100;&#117;&#108;&#101; &#105;&#109;&#112;&#108;&#101;&#109;&#101;&#110;&#116;&#105;&#110;&#103; &#97; &#100;&#105;&#97;&#108;&#111;&#103; &#116;&#111; &#99;&#111;&#110;&#102;&#105;&#103;&#117;&#114;&#101; &#116;&#104;&#101; &#112;&#114;&#101;&#102;&#101;&#114;&#114;&#101;&#100; &#108;&#97;&#110;&#103;&#117;&#97;&#103;&#101;&#115;.
+Module implementing a dialog to configure the preferred languages.
 </p>
 <h3>Global Attributes</h3>
 <table>
@@ -32,7 +32,7 @@
 <table>
 <tr>
 <td><a href="#HelpLanguagesDialog">HelpLanguagesDialog</a></td>
-<td>&#67;&#108;&#97;&#115;&#115; &#105;&#109;&#112;&#108;&#101;&#109;&#101;&#110;&#116;&#105;&#110;&#103; &#97; &#100;&#105;&#97;&#108;&#111;&#103; &#116;&#111; &#99;&#111;&#110;&#102;&#105;&#103;&#117;&#114;&#101; &#116;&#104;&#101; &#112;&#114;&#101;&#102;&#101;&#114;&#114;&#101;&#100; &#108;&#97;&#110;&#103;&#117;&#97;&#103;&#101;&#115;.</td>
+<td>Class implementing a dialog to configure the preferred languages.</td>
 </tr>
 </table>
 <h3>Functions</h3>
@@ -43,7 +43,7 @@
 <a NAME="HelpLanguagesDialog" ID="HelpLanguagesDialog"></a>
 <h2>HelpLanguagesDialog</h2>
 <p>
-    &#67;&#108;&#97;&#115;&#115; &#105;&#109;&#112;&#108;&#101;&#109;&#101;&#110;&#116;&#105;&#110;&#103; &#97; &#100;&#105;&#97;&#108;&#111;&#103; &#116;&#111; &#99;&#111;&#110;&#102;&#105;&#103;&#117;&#114;&#101; &#116;&#104;&#101; &#112;&#114;&#101;&#102;&#101;&#114;&#114;&#101;&#100; &#108;&#97;&#110;&#103;&#117;&#97;&#103;&#101;&#115;.
+    Class implementing a dialog to configure the preferred languages.
 </p>
 <h3>Derived from</h3>
 QDialog, Ui_HelpLanguagesDialog
@@ -55,125 +55,125 @@
 <table>
 <tr>
 <td><a href="#HelpLanguagesDialog.__init__">HelpLanguagesDialog</a></td>
-<td>&#67;&#111;&#110;&#115;&#116;&#114;&#117;&#99;&#116;&#111;&#114;</td>
+<td>Constructor</td>
 </tr><tr>
 <td><a href="#HelpLanguagesDialog.__currentChanged">__currentChanged</a></td>
-<td>&#80;&#114;&#105;v&#97;&#116;&#101; &#115;&#108;&#111;&#116; &#116;&#111; &#104;&#97;&#110;&#100;&#108;&#101; &#97; &#99;&#104;&#97;&#110;&#103;&#101; &#111;&#102; &#116;&#104;&#101; &#99;&#117;&#114;&#114;&#101;&#110;&#116; &#115;&#101;&#108;&#101;&#99;&#116;&#105;&#111;&#110;.</td>
+<td>Private slot to handle a change of the current selection.</td>
 </tr><tr>
 <td><a href="#HelpLanguagesDialog.accept">accept</a></td>
-<td>&#80;&#117;&#98;&#108;&#105;&#99; &#109;&#101;&#116;&#104;&#111;&#100; &#116;&#111; &#97;&#99;&#99;&#101;&#112;&#116; &#116;&#104;&#101; &#100;&#97;&#116;&#97; &#101;&#110;&#116;&#101;&#114;&#101;&#100;.</td>
+<td>Public method to accept the data entered.</td>
 </tr><tr>
 <td><a href="#HelpLanguagesDialog.defaultAcceptLanguages">defaultAcceptLanguages</a></td>
-<td>&#67;&#108;&#97;&#115;&#115; &#109;&#101;&#116;&#104;&#111;&#100; &#116;&#111; &#103;&#101;&#116; &#116;&#104;&#101; &#108;&#105;&#115;&#116; &#111;&#102; &#100;&#101;&#102;&#97;&#117;&#108;&#116; &#97;&#99;&#99;&#101;&#112;&#116; &#108;&#97;&#110;&#103;&#117;&#97;&#103;&#101;&#115;.</td>
+<td>Class method to get the list of default accept languages.</td>
 </tr><tr>
 <td><a href="#HelpLanguagesDialog.expand">expand</a></td>
-<td>&#67;&#108;&#97;&#115;&#115; &#109;&#101;&#116;&#104;&#111;&#100; &#116;&#111; &#101;x&#112;&#97;&#110;&#100; &#97; &#108;&#97;&#110;&#103;&#117;&#97;&#103;&#101; &#101;&#110;&#117;&#109; &#116;&#111; &#97; &#114;&#101;&#97;&#100;&#97;&#98;&#108;&#101; &#108;&#97;&#110;&#103;&#117;&#97;&#103;&#101;&#115; &#108;&#105;&#115;&#116;.</td>
+<td>Class method to expand a language enum to a readable languages list.</td>
 </tr><tr>
 <td><a href="#HelpLanguagesDialog.httpString">httpString</a></td>
-<td>&#67;&#108;&#97;&#115;&#115; &#109;&#101;&#116;&#104;&#111;&#100; &#116;&#111; &#99;&#111;&#110;v&#101;&#114;&#116; &#97; &#108;&#105;&#115;&#116; &#111;&#102; &#97;&#99;&#99;&#101;&#112;&#116;&#97;&#98;&#108;&#101; &#108;&#97;&#110;&#103;&#117;&#97;&#103;&#101;&#115; &#105;&#110;&#116;&#111; &#97; &#98;y&#116;&#101; &#97;&#114;&#114;&#97;y &#116;&#104;&#97;&#116; &#99;&#97;&#110; &#98;&#101; &#115;&#101;&#110;&#116; &#97;&#108;&#111;&#110;&#103; w&#105;&#116;&#104; &#116;&#104;&#101; &#65;&#99;&#99;&#101;&#112;&#116;-&#76;&#97;&#110;&#103;&#117;&#97;&#103;&#101; &#104;&#116;&#116;&#112; &#104;&#101;&#97;&#100;&#101;&#114; (&#115;&#101;&#101; &#82;&#70;&#67; &#50;&#54;&#49;&#54;).</td>
+<td>Class method to convert a list of acceptable languages into a byte array that can be sent along with the Accept-Language http header (see RFC 2616).</td>
 </tr><tr>
 <td><a href="#HelpLanguagesDialog.on_addButton_clicked">on_addButton_clicked</a></td>
-<td>&#80;&#114;&#105;v&#97;&#116;&#101; &#115;&#108;&#111;&#116; &#116;&#111; &#97;&#100;&#100; &#97; &#108;&#97;&#110;&#103;&#117;&#97;&#103;&#101; &#116;&#111; &#116;&#104;&#101; &#108;&#105;&#115;&#116; &#111;&#102; &#97;&#99;&#99;&#101;&#112;&#116;&#97;&#98;&#108;&#101; &#108;&#97;&#110;&#103;&#117;&#97;&#103;&#101;&#115;.</td>
+<td>Private slot to add a language to the list of acceptable languages.</td>
 </tr><tr>
 <td><a href="#HelpLanguagesDialog.on_downButton_clicked">on_downButton_clicked</a></td>
-<td>&#80;&#114;&#105;v&#97;&#116;&#101; &#115;&#108;&#111;&#116; &#116;&#111; &#109;&#111;v&#101; &#97; &#108;&#97;&#110;&#103;&#117;&#97;&#103;&#101; &#100;&#111;w&#110;.</td>
+<td>Private slot to move a language down.</td>
 </tr><tr>
 <td><a href="#HelpLanguagesDialog.on_removeButton_clicked">on_removeButton_clicked</a></td>
-<td>&#80;&#114;&#105;v&#97;&#116;&#101; &#115;&#108;&#111;&#116; &#116;&#111; &#114;&#101;&#109;&#111;v&#101; &#97; &#108;&#97;&#110;&#103;&#117;&#97;&#103;&#101; &#102;&#114;&#111;&#109; &#116;&#104;&#101; &#108;&#105;&#115;&#116; &#111;&#102; &#97;&#99;&#99;&#101;&#112;&#116;&#97;&#98;&#108;&#101; &#108;&#97;&#110;&#103;&#117;&#97;&#103;&#101;&#115;.</td>
+<td>Private slot to remove a language from the list of acceptable languages.</td>
 </tr><tr>
 <td><a href="#HelpLanguagesDialog.on_upButton_clicked">on_upButton_clicked</a></td>
-<td>&#80;&#114;&#105;v&#97;&#116;&#101; &#115;&#108;&#111;&#116; &#116;&#111; &#109;&#111;v&#101; &#97; &#108;&#97;&#110;&#103;&#117;&#97;&#103;&#101; &#117;&#112;.</td>
+<td>Private slot to move a language up.</td>
 </tr>
 </table>
 <a NAME="HelpLanguagesDialog.__init__" ID="HelpLanguagesDialog.__init__"></a>
 <h4>HelpLanguagesDialog (Constructor)</h4>
 <b>HelpLanguagesDialog</b>(<i>parent = None</i>)
 <p>
-        &#67;&#111;&#110;&#115;&#116;&#114;&#117;&#99;&#116;&#111;&#114;
+        Constructor
 </p><dl>
 <dt><i>parent</i></dt>
 <dd>
-&#114;&#101;&#102;&#101;&#114;&#101;&#110;&#99;&#101; &#116;&#111; &#116;&#104;&#101; &#112;&#97;&#114;&#101;&#110;&#116; w&#105;&#100;&#103;&#101;&#116; (&#81;&#87;&#105;&#100;&#103;&#101;&#116;)
+reference to the parent widget (QWidget)
 </dd>
 </dl><a NAME="HelpLanguagesDialog.__currentChanged" ID="HelpLanguagesDialog.__currentChanged"></a>
 <h4>HelpLanguagesDialog.__currentChanged</h4>
 <b>__currentChanged</b>(<i>current, previous</i>)
 <p>
-        &#80;&#114;&#105;v&#97;&#116;&#101; &#115;&#108;&#111;&#116; &#116;&#111; &#104;&#97;&#110;&#100;&#108;&#101; &#97; &#99;&#104;&#97;&#110;&#103;&#101; &#111;&#102; &#116;&#104;&#101; &#99;&#117;&#114;&#114;&#101;&#110;&#116; &#115;&#101;&#108;&#101;&#99;&#116;&#105;&#111;&#110;.
+        Private slot to handle a change of the current selection.
 </p><dl>
 <dt><i>current</i></dt>
 <dd>
-&#105;&#110;&#100;&#101;x &#111;&#102; &#116;&#104;&#101; &#99;&#117;&#114;&#114;&#101;&#110;&#116;&#108;y &#115;&#101;&#108;&#101;&#99;&#116;&#101;&#100; &#105;&#116;&#101;&#109; (&#81;&#77;&#111;&#100;&#101;&#108;&#73;&#110;&#100;&#101;x)
+index of the currently selected item (QModelIndex)
 </dd><dt><i>previous</i></dt>
 <dd>
-&#105;&#110;&#100;&#101;x &#111;&#102; &#116;&#104;&#101; &#112;&#114;&#101;v&#105;&#111;&#117;&#115;&#108;y &#115;&#101;&#108;&#101;&#99;&#116;&#101;&#100; &#105;&#116;&#101;&#109; (&#81;&#77;&#111;&#100;&#101;&#108;&#73;&#110;&#100;&#101;x)
+index of the previously selected item (QModelIndex)
 </dd>
 </dl><a NAME="HelpLanguagesDialog.accept" ID="HelpLanguagesDialog.accept"></a>
 <h4>HelpLanguagesDialog.accept</h4>
 <b>accept</b>(<i></i>)
 <p>
-        &#80;&#117;&#98;&#108;&#105;&#99; &#109;&#101;&#116;&#104;&#111;&#100; &#116;&#111; &#97;&#99;&#99;&#101;&#112;&#116; &#116;&#104;&#101; &#100;&#97;&#116;&#97; &#101;&#110;&#116;&#101;&#114;&#101;&#100;.
+        Public method to accept the data entered.
 </p><a NAME="HelpLanguagesDialog.defaultAcceptLanguages" ID="HelpLanguagesDialog.defaultAcceptLanguages"></a>
 <h4>HelpLanguagesDialog.defaultAcceptLanguages</h4>
 <b>defaultAcceptLanguages</b>(<i></i>)
 <p>
-        &#67;&#108;&#97;&#115;&#115; &#109;&#101;&#116;&#104;&#111;&#100; &#116;&#111; &#103;&#101;&#116; &#116;&#104;&#101; &#108;&#105;&#115;&#116; &#111;&#102; &#100;&#101;&#102;&#97;&#117;&#108;&#116; &#97;&#99;&#99;&#101;&#112;&#116; &#108;&#97;&#110;&#103;&#117;&#97;&#103;&#101;&#115;.
+        Class method to get the list of default accept languages.
 </p><dl>
 <dt>Returns:</dt>
 <dd>
-&#108;&#105;&#115;&#116; &#111;&#102; &#97;&#99;&#99;&#101;&#112;&#116;&#97;&#98;&#108;&#101; &#108;&#97;&#110;&#103;&#117;&#97;&#103;&#101;&#115; (&#108;&#105;&#115;&#116; &#111;&#102; &#115;&#116;&#114;&#105;&#110;&#103;&#115;)
+list of acceptable languages (list of strings)
 </dd>
 </dl><a NAME="HelpLanguagesDialog.expand" ID="HelpLanguagesDialog.expand"></a>
 <h4>HelpLanguagesDialog.expand</h4>
 <b>expand</b>(<i>language</i>)
 <p>
-        &#67;&#108;&#97;&#115;&#115; &#109;&#101;&#116;&#104;&#111;&#100; &#116;&#111; &#101;x&#112;&#97;&#110;&#100; &#97; &#108;&#97;&#110;&#103;&#117;&#97;&#103;&#101; &#101;&#110;&#117;&#109; &#116;&#111; &#97; &#114;&#101;&#97;&#100;&#97;&#98;&#108;&#101; &#108;&#97;&#110;&#103;&#117;&#97;&#103;&#101;&#115; &#108;&#105;&#115;&#116;.
+        Class method to expand a language enum to a readable languages list.
 </p><dl>
 <dt><i>language</i></dt>
 <dd>
-&#108;&#97;&#110;&#103;&#117;&#97;&#103;&#101; &#110;&#117;&#109;&#98;&#101;&#114; (&#81;&#76;&#111;&#99;&#97;&#108;&#101;.&#76;&#97;&#110;&#103;&#117;&#97;&#103;&#101;)
+language number (QLocale.Language)
 </dd>
 </dl><dl>
 <dt>Returns:</dt>
 <dd>
-&#108;&#105;&#115;&#116; &#111;&#102; &#101;x&#112;&#97;&#110;&#100;&#101;&#100; &#108;&#97;&#110;&#103;&#117;&#97;&#103;&#101; &#110;&#97;&#109;&#101;&#115; (&#108;&#105;&#115;&#116; &#111;&#102; &#115;&#116;&#114;&#105;&#110;&#103;&#115;)
+list of expanded language names (list of strings)
 </dd>
 </dl><a NAME="HelpLanguagesDialog.httpString" ID="HelpLanguagesDialog.httpString"></a>
 <h4>HelpLanguagesDialog.httpString</h4>
 <b>httpString</b>(<i>languages</i>)
 <p>
-        &#67;&#108;&#97;&#115;&#115; &#109;&#101;&#116;&#104;&#111;&#100; &#116;&#111; &#99;&#111;&#110;v&#101;&#114;&#116; &#97; &#108;&#105;&#115;&#116; &#111;&#102; &#97;&#99;&#99;&#101;&#112;&#116;&#97;&#98;&#108;&#101; &#108;&#97;&#110;&#103;&#117;&#97;&#103;&#101;&#115; &#105;&#110;&#116;&#111; &#97; &#98;y&#116;&#101; &#97;&#114;&#114;&#97;y &#116;&#104;&#97;&#116;
-        &#99;&#97;&#110; &#98;&#101; &#115;&#101;&#110;&#116; &#97;&#108;&#111;&#110;&#103; w&#105;&#116;&#104; &#116;&#104;&#101; &#65;&#99;&#99;&#101;&#112;&#116;-&#76;&#97;&#110;&#103;&#117;&#97;&#103;&#101; &#104;&#116;&#116;&#112; &#104;&#101;&#97;&#100;&#101;&#114; (&#115;&#101;&#101; &#82;&#70;&#67; &#50;&#54;&#49;&#54;).
+        Class method to convert a list of acceptable languages into a byte array that
+        can be sent along with the Accept-Language http header (see RFC 2616).
 </p><dl>
 <dt><i>languages</i></dt>
 <dd>
-&#108;&#105;&#115;&#116; &#111;&#102; &#97;&#99;&#99;&#101;&#112;&#116;&#97;&#98;&#108;&#101; &#108;&#97;&#110;&#103;&#117;&#97;&#103;&#101;&#115; (&#108;&#105;&#115;&#116; &#111;&#102; &#115;&#116;&#114;&#105;&#110;&#103;&#115;)
+list of acceptable languages (list of strings)
 </dd>
 </dl><dl>
 <dt>Returns:</dt>
 <dd>
-&#99;&#111;&#110;v&#101;&#114;&#116;&#101;&#100; &#108;&#105;&#115;&#116; (&#81;&#66;y&#116;&#101;&#65;&#114;&#114;&#97;y)
+converted list (QByteArray)
 </dd>
 </dl><a NAME="HelpLanguagesDialog.on_addButton_clicked" ID="HelpLanguagesDialog.on_addButton_clicked"></a>
 <h4>HelpLanguagesDialog.on_addButton_clicked</h4>
 <b>on_addButton_clicked</b>(<i></i>)
 <p>
-        &#80;&#114;&#105;v&#97;&#116;&#101; &#115;&#108;&#111;&#116; &#116;&#111; &#97;&#100;&#100; &#97; &#108;&#97;&#110;&#103;&#117;&#97;&#103;&#101; &#116;&#111; &#116;&#104;&#101; &#108;&#105;&#115;&#116; &#111;&#102; &#97;&#99;&#99;&#101;&#112;&#116;&#97;&#98;&#108;&#101; &#108;&#97;&#110;&#103;&#117;&#97;&#103;&#101;&#115;.
+        Private slot to add a language to the list of acceptable languages.
 </p><a NAME="HelpLanguagesDialog.on_downButton_clicked" ID="HelpLanguagesDialog.on_downButton_clicked"></a>
 <h4>HelpLanguagesDialog.on_downButton_clicked</h4>
 <b>on_downButton_clicked</b>(<i></i>)
 <p>
-        &#80;&#114;&#105;v&#97;&#116;&#101; &#115;&#108;&#111;&#116; &#116;&#111; &#109;&#111;v&#101; &#97; &#108;&#97;&#110;&#103;&#117;&#97;&#103;&#101; &#100;&#111;w&#110;.
+        Private slot to move a language down.
 </p><a NAME="HelpLanguagesDialog.on_removeButton_clicked" ID="HelpLanguagesDialog.on_removeButton_clicked"></a>
 <h4>HelpLanguagesDialog.on_removeButton_clicked</h4>
 <b>on_removeButton_clicked</b>(<i></i>)
 <p>
-        &#80;&#114;&#105;v&#97;&#116;&#101; &#115;&#108;&#111;&#116; &#116;&#111; &#114;&#101;&#109;&#111;v&#101; &#97; &#108;&#97;&#110;&#103;&#117;&#97;&#103;&#101; &#102;&#114;&#111;&#109; &#116;&#104;&#101; &#108;&#105;&#115;&#116; &#111;&#102; &#97;&#99;&#99;&#101;&#112;&#116;&#97;&#98;&#108;&#101; &#108;&#97;&#110;&#103;&#117;&#97;&#103;&#101;&#115;.
+        Private slot to remove a language from the list of acceptable languages.
 </p><a NAME="HelpLanguagesDialog.on_upButton_clicked" ID="HelpLanguagesDialog.on_upButton_clicked"></a>
 <h4>HelpLanguagesDialog.on_upButton_clicked</h4>
 <b>on_upButton_clicked</b>(<i></i>)
 <p>
-        &#80;&#114;&#105;v&#97;&#116;&#101; &#115;&#108;&#111;&#116; &#116;&#111; &#109;&#111;v&#101; &#97; &#108;&#97;&#110;&#103;&#117;&#97;&#103;&#101; &#117;&#112;.
+        Private slot to move a language up.
 </p>
 <div align="right"><a href="#top">Up</a></div>
 <hr />

eric ide

mercurial