166 <p> |
166 <p> |
167 Private slot to change the highlighter font. |
167 Private slot to change the highlighter font. |
168 </p><dl> |
168 </p><dl> |
169 <dt><i>doAll</i></dt> |
169 <dt><i>doAll</i></dt> |
170 <dd> |
170 <dd> |
171 flag indicating to change the font for all styles (boolean) |
171 flag indicating to change the font for all styles |
|
172 (boolean) |
172 </dd><dt><i>familyOnly</i></dt> |
173 </dd><dt><i>familyOnly</i></dt> |
173 <dd> |
174 <dd> |
174 flag indicating to set the font family only (boolean) |
175 flag indicating to set the font family only (boolean) |
175 </dd><dt><i>sizeOnly</i></dt> |
176 </dd><dt><i>sizeOnly</i></dt> |
176 <dd> |
177 <dd> |
202 <p> |
203 <p> |
203 Private method to import the styles of the given lexers. |
204 Private method to import the styles of the given lexers. |
204 </p><dl> |
205 </p><dl> |
205 <dt><i>lexers</i></dt> |
206 <dt><i>lexers</i></dt> |
206 <dd> |
207 <dd> |
207 dictionary of lexer objects for which to import the styles |
208 dictionary of lexer objects for which to import the |
|
209 styles |
208 </dd> |
210 </dd> |
209 </dl><a NAME="EditorHighlightingStylesPage.__setToDefault" ID="EditorHighlightingStylesPage.__setToDefault"></a> |
211 </dl><a NAME="EditorHighlightingStylesPage.__setToDefault" ID="EditorHighlightingStylesPage.__setToDefault"></a> |
210 <h4>EditorHighlightingStylesPage.__setToDefault</h4> |
212 <h4>EditorHighlightingStylesPage.__setToDefault</h4> |
211 <b>__setToDefault</b>(<i>style</i>) |
213 <b>__setToDefault</b>(<i>style</i>) |
212 <p> |
214 <p> |
229 Private method to set all styles to their default values. |
231 Private method to set all styles to their default values. |
230 </p><a NAME="EditorHighlightingStylesPage.on_allEolFillButton_clicked" ID="EditorHighlightingStylesPage.on_allEolFillButton_clicked"></a> |
232 </p><a NAME="EditorHighlightingStylesPage.on_allEolFillButton_clicked" ID="EditorHighlightingStylesPage.on_allEolFillButton_clicked"></a> |
231 <h4>EditorHighlightingStylesPage.on_allEolFillButton_clicked</h4> |
233 <h4>EditorHighlightingStylesPage.on_allEolFillButton_clicked</h4> |
232 <b>on_allEolFillButton_clicked</b>(<i></i>) |
234 <b>on_allEolFillButton_clicked</b>(<i></i>) |
233 <p> |
235 <p> |
234 Private method used to set the eolfill for all styles of a selected lexer. |
236 Private method used to set the eolfill for all styles of a selected |
|
237 lexer. |
235 </p><a NAME="EditorHighlightingStylesPage.on_backgroundButton_clicked" ID="EditorHighlightingStylesPage.on_backgroundButton_clicked"></a> |
238 </p><a NAME="EditorHighlightingStylesPage.on_backgroundButton_clicked" ID="EditorHighlightingStylesPage.on_backgroundButton_clicked"></a> |
236 <h4>EditorHighlightingStylesPage.on_backgroundButton_clicked</h4> |
239 <h4>EditorHighlightingStylesPage.on_backgroundButton_clicked</h4> |
237 <b>on_backgroundButton_clicked</b>(<i></i>) |
240 <b>on_backgroundButton_clicked</b>(<i></i>) |
238 <p> |
241 <p> |
239 Private method used to select the background colour of the selected style |
242 Private method used to select the background colour of the selected |
240 and lexer. |
243 style and lexer. |
241 </p><a NAME="EditorHighlightingStylesPage.on_defaultButton_clicked" ID="EditorHighlightingStylesPage.on_defaultButton_clicked"></a> |
244 </p><a NAME="EditorHighlightingStylesPage.on_defaultButton_clicked" ID="EditorHighlightingStylesPage.on_defaultButton_clicked"></a> |
242 <h4>EditorHighlightingStylesPage.on_defaultButton_clicked</h4> |
245 <h4>EditorHighlightingStylesPage.on_defaultButton_clicked</h4> |
243 <b>on_defaultButton_clicked</b>(<i></i>) |
246 <b>on_defaultButton_clicked</b>(<i></i>) |
244 <p> |
247 <p> |
245 Private method to set the current style to its default values. |
248 Private method to set the current style to its default values. |
246 </p><a NAME="EditorHighlightingStylesPage.on_eolfillCheckBox_toggled" ID="EditorHighlightingStylesPage.on_eolfillCheckBox_toggled"></a> |
249 </p><a NAME="EditorHighlightingStylesPage.on_eolfillCheckBox_toggled" ID="EditorHighlightingStylesPage.on_eolfillCheckBox_toggled"></a> |
247 <h4>EditorHighlightingStylesPage.on_eolfillCheckBox_toggled</h4> |
250 <h4>EditorHighlightingStylesPage.on_eolfillCheckBox_toggled</h4> |
248 <b>on_eolfillCheckBox_toggled</b>(<i>b</i>) |
251 <b>on_eolfillCheckBox_toggled</b>(<i>b</i>) |
249 <p> |
252 <p> |
250 Private method used to set the eolfill for the selected style and lexer. |
253 Private method used to set the eolfill for the selected style and |
|
254 lexer. |
251 </p><dl> |
255 </p><dl> |
252 <dt><i>b</i></dt> |
256 <dt><i>b</i></dt> |
253 <dd> |
257 <dd> |
254 Flag indicating enabled or disabled state. |
258 Flag indicating enabled or disabled state. |
255 </dd> |
259 </dd> |
265 Private slot to export the styles of the current lexer. |
269 Private slot to export the styles of the current lexer. |
266 </p><a NAME="EditorHighlightingStylesPage.on_foregroundButton_clicked" ID="EditorHighlightingStylesPage.on_foregroundButton_clicked"></a> |
270 </p><a NAME="EditorHighlightingStylesPage.on_foregroundButton_clicked" ID="EditorHighlightingStylesPage.on_foregroundButton_clicked"></a> |
267 <h4>EditorHighlightingStylesPage.on_foregroundButton_clicked</h4> |
271 <h4>EditorHighlightingStylesPage.on_foregroundButton_clicked</h4> |
268 <b>on_foregroundButton_clicked</b>(<i></i>) |
272 <b>on_foregroundButton_clicked</b>(<i></i>) |
269 <p> |
273 <p> |
270 Private method used to select the foreground colour of the selected style |
274 Private method used to select the foreground colour of the selected |
271 and lexer. |
275 style and lexer. |
272 </p><a NAME="EditorHighlightingStylesPage.on_importAllButton_clicked" ID="EditorHighlightingStylesPage.on_importAllButton_clicked"></a> |
276 </p><a NAME="EditorHighlightingStylesPage.on_importAllButton_clicked" ID="EditorHighlightingStylesPage.on_importAllButton_clicked"></a> |
273 <h4>EditorHighlightingStylesPage.on_importAllButton_clicked</h4> |
277 <h4>EditorHighlightingStylesPage.on_importAllButton_clicked</h4> |
274 <b>on_importAllButton_clicked</b>(<i></i>) |
278 <b>on_importAllButton_clicked</b>(<i></i>) |
275 <p> |
279 <p> |
276 Private slot to import the styles of all lexers. |
280 Private slot to import the styles of all lexers. |
310 <p> |
314 <p> |
311 Public method to save the current state of the widget. |
315 Public method to save the current state of the widget. |
312 </p><dl> |
316 </p><dl> |
313 <dt>Returns:</dt> |
317 <dt>Returns:</dt> |
314 <dd> |
318 <dd> |
315 array containing the index of the selected lexer language (integer) |
319 array containing the index of the selected lexer language |
316 and the index of the selected lexer entry (integer) |
320 (integer) and the index of the selected lexer entry (integer) |
317 </dd> |
321 </dd> |
318 </dl><a NAME="EditorHighlightingStylesPage.setFont" ID="EditorHighlightingStylesPage.setFont"></a> |
322 </dl><a NAME="EditorHighlightingStylesPage.setFont" ID="EditorHighlightingStylesPage.setFont"></a> |
319 <h4>EditorHighlightingStylesPage.setFont</h4> |
323 <h4>EditorHighlightingStylesPage.setFont</h4> |
320 <b>setFont</b>(<i>style, familyOnly, sizeOnly</i>) |
324 <b>setFont</b>(<i>style, familyOnly, sizeOnly</i>) |
321 <p> |
325 <p> |
327 </dd><dt><i>style</i></dt> |
331 </dd><dt><i>style</i></dt> |
328 <dd> |
332 <dd> |
329 style to set the font for (integer) |
333 style to set the font for (integer) |
330 </dd><dt><i>familyOnly</i></dt> |
334 </dd><dt><i>familyOnly</i></dt> |
331 <dd> |
335 <dd> |
332 flag indicating to set the font family only (boolean) |
336 flag indicating to set the font family only |
|
337 (boolean) |
333 </dd><dt><i>sizeOnly</i></dt> |
338 </dd><dt><i>sizeOnly</i></dt> |
334 <dd> |
339 <dd> |
335 flag indicating to set the font size only (boolean |
340 flag indicating to set the font size only (boolean |
336 </dd> |
341 </dd> |
337 </dl><a NAME="EditorHighlightingStylesPage.setSampleFont" ID="EditorHighlightingStylesPage.setSampleFont"></a> |
342 </dl><a NAME="EditorHighlightingStylesPage.setSampleFont" ID="EditorHighlightingStylesPage.setSampleFont"></a> |
343 <dt><i>font</i></dt> |
348 <dt><i>font</i></dt> |
344 <dd> |
349 <dd> |
345 font to be set (QFont) |
350 font to be set (QFont) |
346 </dd><dt><i>familyOnly</i></dt> |
351 </dd><dt><i>familyOnly</i></dt> |
347 <dd> |
352 <dd> |
348 flag indicating to set the font family only (boolean) |
353 flag indicating to set the font family only |
|
354 (boolean) |
349 </dd><dt><i>sizeOnly</i></dt> |
355 </dd><dt><i>sizeOnly</i></dt> |
350 <dd> |
356 <dd> |
351 flag indicating to set the font size only (boolean |
357 flag indicating to set the font size only (boolean |
352 </dd> |
358 </dd> |
353 </dl><a NAME="EditorHighlightingStylesPage.setState" ID="EditorHighlightingStylesPage.setState"></a> |
359 </dl><a NAME="EditorHighlightingStylesPage.setState" ID="EditorHighlightingStylesPage.setState"></a> |