Documentation/Source/eric5.Helpviewer.HelpLanguagesDialog.html

changeset 1228
7afaf2fca55b
parent 945
8cd4d08fa9f6
child 1229
a8207dc73672
equal deleted inserted replaced
1227:c5db073a124f 1228:7afaf2fca55b
49 QDialog, Ui_HelpLanguagesDialog 49 QDialog, Ui_HelpLanguagesDialog
50 <h3>Class Attributes</h3> 50 <h3>Class Attributes</h3>
51 <table> 51 <table>
52 <tr><td>None</td></tr> 52 <tr><td>None</td></tr>
53 </table> 53 </table>
54 <h3>Methods</h3> 54 <h3>Class Methods</h3>
55 <table> 55 <table>
56 <tr> 56 <tr>
57 <td><a href="#HelpLanguagesDialog.__init__">HelpLanguagesDialog</a></td>
58 <td>Constructor</td>
59 </tr><tr>
60 <td><a href="#HelpLanguagesDialog.__currentChanged">__currentChanged</a></td>
61 <td>Private slot to handle a change of the current selection.</td>
62 </tr><tr>
63 <td><a href="#HelpLanguagesDialog.accept">accept</a></td>
64 <td>Public method to accept the data entered.</td>
65 </tr><tr>
66 <td><a href="#HelpLanguagesDialog.defaultAcceptLanguages">defaultAcceptLanguages</a></td> 57 <td><a href="#HelpLanguagesDialog.defaultAcceptLanguages">defaultAcceptLanguages</a></td>
67 <td>Class method to get the list of default accept languages.</td> 58 <td>Class method to get the list of default accept languages.</td>
68 </tr><tr> 59 </tr><tr>
69 <td><a href="#HelpLanguagesDialog.expand">expand</a></td> 60 <td><a href="#HelpLanguagesDialog.expand">expand</a></td>
70 <td>Class method to expand a language enum to a readable languages list.</td> 61 <td>Class method to expand a language enum to a readable languages list.</td>
71 </tr><tr> 62 </tr><tr>
72 <td><a href="#HelpLanguagesDialog.httpString">httpString</a></td> 63 <td><a href="#HelpLanguagesDialog.httpString">httpString</a></td>
73 <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> 64 <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>
65 </tr>
66 </table>
67 <h3>Methods</h3>
68 <table>
69 <tr>
70 <td><a href="#HelpLanguagesDialog.__currentChanged">__currentChanged</a></td>
71 <td>Private slot to handle a change of the current selection.</td>
72 </tr><tr>
73 <td><a href="#HelpLanguagesDialog.accept">accept</a></td>
74 <td>Public method to accept the data entered.</td>
74 </tr><tr> 75 </tr><tr>
75 <td><a href="#HelpLanguagesDialog.on_addButton_clicked">on_addButton_clicked</a></td> 76 <td><a href="#HelpLanguagesDialog.on_addButton_clicked">on_addButton_clicked</a></td>
76 <td>Private slot to add a language to the list of acceptable languages.</td> 77 <td>Private slot to add a language to the list of acceptable languages.</td>
77 </tr><tr> 78 </tr><tr>
78 <td><a href="#HelpLanguagesDialog.on_downButton_clicked">on_downButton_clicked</a></td> 79 <td><a href="#HelpLanguagesDialog.on_downButton_clicked">on_downButton_clicked</a></td>
83 </tr><tr> 84 </tr><tr>
84 <td><a href="#HelpLanguagesDialog.on_upButton_clicked">on_upButton_clicked</a></td> 85 <td><a href="#HelpLanguagesDialog.on_upButton_clicked">on_upButton_clicked</a></td>
85 <td>Private slot to move a language up.</td> 86 <td>Private slot to move a language up.</td>
86 </tr> 87 </tr>
87 </table> 88 </table>
88 <a NAME="HelpLanguagesDialog.__init__" ID="HelpLanguagesDialog.__init__"></a> 89 <h3>Static Methods</h3>
90 <table>
91 <tr><td>None</td></tr>
92 </table>
93 <a NAME="HelpLanguagesDialog.defaultAcceptLanguages" ID="HelpLanguagesDialog.defaultAcceptLanguages"></a>
94 <h4>HelpLanguagesDialog.defaultAcceptLanguages (class method)</h4>
95 <b>defaultAcceptLanguages</b>(<i></i>)
96 <p>
97 Class method to get the list of default accept languages.
98 </p><dl>
99 <dt>Returns:</dt>
100 <dd>
101 list of acceptable languages (list of strings)
102 </dd>
103 </dl><a NAME="HelpLanguagesDialog.expand" ID="HelpLanguagesDialog.expand"></a>
104 <h4>HelpLanguagesDialog.expand (class method)</h4>
105 <b>expand</b>(<i>language</i>)
106 <p>
107 Class method to expand a language enum to a readable languages list.
108 </p><dl>
109 <dt><i>language</i></dt>
110 <dd>
111 language number (QLocale.Language)
112 </dd>
113 </dl><dl>
114 <dt>Returns:</dt>
115 <dd>
116 list of expanded language names (list of strings)
117 </dd>
118 </dl><a NAME="HelpLanguagesDialog.httpString" ID="HelpLanguagesDialog.httpString"></a>
119 <h4>HelpLanguagesDialog.httpString (class method)</h4>
120 <b>httpString</b>(<i>languages</i>)
121 <p>
122 Class method to convert a list of acceptable languages into a byte array that
123 can be sent along with the Accept-Language http header (see RFC 2616).
124 </p><dl>
125 <dt><i>languages</i></dt>
126 <dd>
127 list of acceptable languages (list of strings)
128 </dd>
129 </dl><dl>
130 <dt>Returns:</dt>
131 <dd>
132 converted list (QByteArray)
133 </dd>
134 </dl><a NAME="HelpLanguagesDialog.__init__" ID="HelpLanguagesDialog.__init__"></a>
89 <h4>HelpLanguagesDialog (Constructor)</h4> 135 <h4>HelpLanguagesDialog (Constructor)</h4>
90 <b>HelpLanguagesDialog</b>(<i>parent=None</i>) 136 <b>HelpLanguagesDialog</b>(<i>parent=None</i>)
91 <p> 137 <p>
92 Constructor 138 Constructor
93 </p><dl> 139 </p><dl>
111 </dl><a NAME="HelpLanguagesDialog.accept" ID="HelpLanguagesDialog.accept"></a> 157 </dl><a NAME="HelpLanguagesDialog.accept" ID="HelpLanguagesDialog.accept"></a>
112 <h4>HelpLanguagesDialog.accept</h4> 158 <h4>HelpLanguagesDialog.accept</h4>
113 <b>accept</b>(<i></i>) 159 <b>accept</b>(<i></i>)
114 <p> 160 <p>
115 Public method to accept the data entered. 161 Public method to accept the data entered.
116 </p><a NAME="HelpLanguagesDialog.defaultAcceptLanguages" ID="HelpLanguagesDialog.defaultAcceptLanguages"></a> 162 </p><a NAME="HelpLanguagesDialog.on_addButton_clicked" ID="HelpLanguagesDialog.on_addButton_clicked"></a>
117 <h4>HelpLanguagesDialog.defaultAcceptLanguages</h4>
118 <b>defaultAcceptLanguages</b>(<i></i>)
119 <p>
120 Class method to get the list of default accept languages.
121 </p><dl>
122 <dt>Returns:</dt>
123 <dd>
124 list of acceptable languages (list of strings)
125 </dd>
126 </dl><a NAME="HelpLanguagesDialog.expand" ID="HelpLanguagesDialog.expand"></a>
127 <h4>HelpLanguagesDialog.expand</h4>
128 <b>expand</b>(<i>language</i>)
129 <p>
130 Class method to expand a language enum to a readable languages list.
131 </p><dl>
132 <dt><i>language</i></dt>
133 <dd>
134 language number (QLocale.Language)
135 </dd>
136 </dl><dl>
137 <dt>Returns:</dt>
138 <dd>
139 list of expanded language names (list of strings)
140 </dd>
141 </dl><a NAME="HelpLanguagesDialog.httpString" ID="HelpLanguagesDialog.httpString"></a>
142 <h4>HelpLanguagesDialog.httpString</h4>
143 <b>httpString</b>(<i>languages</i>)
144 <p>
145 Class method to convert a list of acceptable languages into a byte array that
146 can be sent along with the Accept-Language http header (see RFC 2616).
147 </p><dl>
148 <dt><i>languages</i></dt>
149 <dd>
150 list of acceptable languages (list of strings)
151 </dd>
152 </dl><dl>
153 <dt>Returns:</dt>
154 <dd>
155 converted list (QByteArray)
156 </dd>
157 </dl><a NAME="HelpLanguagesDialog.on_addButton_clicked" ID="HelpLanguagesDialog.on_addButton_clicked"></a>
158 <h4>HelpLanguagesDialog.on_addButton_clicked</h4> 163 <h4>HelpLanguagesDialog.on_addButton_clicked</h4>
159 <b>on_addButton_clicked</b>(<i></i>) 164 <b>on_addButton_clicked</b>(<i></i>)
160 <p> 165 <p>
161 Private slot to add a language to the list of acceptable languages. 166 Private slot to add a language to the list of acceptable languages.
162 </p><a NAME="HelpLanguagesDialog.on_downButton_clicked" ID="HelpLanguagesDialog.on_downButton_clicked"></a> 167 </p><a NAME="HelpLanguagesDialog.on_downButton_clicked" ID="HelpLanguagesDialog.on_downButton_clicked"></a>

eric ide

mercurial