Documentation/Source/eric4.Preferences.ConfigurationPages.EditorStylesPage.html

changeset 3
0d9daebf5b8c
equal deleted inserted replaced
2:bc6196164237 3:0d9daebf5b8c
1 <?xml version="1.0" encoding="utf-8"?>
2 <!DOCTYPE html PUBLIC '-//W3C//DTD XHTML 1.0 Strict//EN'
3 'http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd'>
4 <html><head>
5 <title>eric4.Preferences.ConfigurationPages.EditorStylesPage</title>
6 <style>
7 body {
8 background:white;
9 margin: 0em 1em 10em 1em;
10 color: black;
11 }
12
13 h1 { color: white; background: #4FA4FF; }
14 h2 { color: white; background: #4FA4FF; }
15 h3 { color: white; background: #00557F; }
16 h4 { color: white; background: #00557F; }
17
18 a { color: #AA5500; }
19
20 </style>
21 </head>
22 <body><a NAME="top" ID="top"></a>
23 <h1>eric4.Preferences.ConfigurationPages.EditorStylesPage</h1>
24 <p>
25 Module implementing the Editor Styles configuration page.
26 </p>
27 <h3>Global Attributes</h3>
28 <table>
29 <tr><td>None</td></tr>
30 </table>
31 <h3>Classes</h3>
32 <table>
33 <tr>
34 <td><a href="#EditorStylesPage">EditorStylesPage</a></td>
35 <td>Class implementing the Editor Styles configuration page.</td>
36 </tr>
37 </table>
38 <h3>Functions</h3>
39 <table>
40 <tr>
41 <td><a href="#create">create</a></td>
42 <td>Module function to create the configuration page.</td>
43 </tr>
44 </table>
45 <hr /><hr />
46 <a NAME="EditorStylesPage" ID="EditorStylesPage"></a>
47 <h2>EditorStylesPage</h2>
48 <p>
49 Class implementing the Editor Styles configuration page.
50 </p>
51 <h3>Derived from</h3>
52 ConfigurationPageBase, Ui_EditorStylesPage
53 <h3>Class Attributes</h3>
54 <table>
55 <tr><td>None</td></tr>
56 </table>
57 <h3>Methods</h3>
58 <table>
59 <tr>
60 <td><a href="#EditorStylesPage.__init__">EditorStylesPage</a></td>
61 <td>Constructor</td>
62 </tr><tr>
63 <td><a href="#EditorStylesPage.on_caretForegroundButton_clicked">on_caretForegroundButton_clicked</a></td>
64 <td>Private slot to set the foreground colour of the caret.</td>
65 </tr><tr>
66 <td><a href="#EditorStylesPage.on_caretlineBackgroundButton_clicked">on_caretlineBackgroundButton_clicked</a></td>
67 <td>Private slot to set the background colour of the caretline.</td>
68 </tr><tr>
69 <td><a href="#EditorStylesPage.on_currentLineMarkerButton_clicked">on_currentLineMarkerButton_clicked</a></td>
70 <td>Private slot to set the colour for the highlight of the current line.</td>
71 </tr><tr>
72 <td><a href="#EditorStylesPage.on_defaultFontButton_clicked">on_defaultFontButton_clicked</a></td>
73 <td>Private method used to select the default font for the editor.</td>
74 </tr><tr>
75 <td><a href="#EditorStylesPage.on_edgeBackgroundColorButton_clicked">on_edgeBackgroundColorButton_clicked</a></td>
76 <td>Private slot to set the colour for the edge background or line.</td>
77 </tr><tr>
78 <td><a href="#EditorStylesPage.on_errorMarkerButton_clicked">on_errorMarkerButton_clicked</a></td>
79 <td>Private slot to set the colour for the highlight of the error line.</td>
80 </tr><tr>
81 <td><a href="#EditorStylesPage.on_foldmarginBackgroundButton_clicked">on_foldmarginBackgroundButton_clicked</a></td>
82 <td>Private slot to set the background colour for the foldmargin.</td>
83 </tr><tr>
84 <td><a href="#EditorStylesPage.on_linenumbersFontButton_clicked">on_linenumbersFontButton_clicked</a></td>
85 <td>Private method used to select the font for the editor margins.</td>
86 </tr><tr>
87 <td><a href="#EditorStylesPage.on_marginsBackgroundButton_clicked">on_marginsBackgroundButton_clicked</a></td>
88 <td>Private slot to set the background colour for the margins.</td>
89 </tr><tr>
90 <td><a href="#EditorStylesPage.on_marginsForegroundButton_clicked">on_marginsForegroundButton_clicked</a></td>
91 <td>Private slot to set the foreground colour for the margins.</td>
92 </tr><tr>
93 <td><a href="#EditorStylesPage.on_matchingBracesBackButton_clicked">on_matchingBracesBackButton_clicked</a></td>
94 <td>Private slot to set the background colour for highlighting matching braces.</td>
95 </tr><tr>
96 <td><a href="#EditorStylesPage.on_matchingBracesButton_clicked">on_matchingBracesButton_clicked</a></td>
97 <td>Private slot to set the colour for highlighting matching braces.</td>
98 </tr><tr>
99 <td><a href="#EditorStylesPage.on_monospacedFontButton_clicked">on_monospacedFontButton_clicked</a></td>
100 <td>Private method used to select the font to be used as the monospaced font.</td>
101 </tr><tr>
102 <td><a href="#EditorStylesPage.on_nonmatchingBracesBackButton_clicked">on_nonmatchingBracesBackButton_clicked</a></td>
103 <td>Private slot to set the background colour for highlighting nonmatching braces.</td>
104 </tr><tr>
105 <td><a href="#EditorStylesPage.on_nonmatchingBracesButton_clicked">on_nonmatchingBracesButton_clicked</a></td>
106 <td>Private slot to set the colour for highlighting nonmatching braces.</td>
107 </tr><tr>
108 <td><a href="#EditorStylesPage.on_selectionBackgroundButton_clicked">on_selectionBackgroundButton_clicked</a></td>
109 <td>Private slot to set the background colour of the selection.</td>
110 </tr><tr>
111 <td><a href="#EditorStylesPage.on_selectionForegroundButton_clicked">on_selectionForegroundButton_clicked</a></td>
112 <td>Private slot to set the foreground colour of the selection.</td>
113 </tr><tr>
114 <td><a href="#EditorStylesPage.polishPage">polishPage</a></td>
115 <td>Public slot to perform some polishing actions.</td>
116 </tr><tr>
117 <td><a href="#EditorStylesPage.save">save</a></td>
118 <td>Public slot to save the Editor Styles configuration.</td>
119 </tr>
120 </table>
121 <a NAME="EditorStylesPage.__init__" ID="EditorStylesPage.__init__"></a>
122 <h4>EditorStylesPage (Constructor)</h4>
123 <b>EditorStylesPage</b>(<i></i>)
124 <p>
125 Constructor
126 </p><a NAME="EditorStylesPage.on_caretForegroundButton_clicked" ID="EditorStylesPage.on_caretForegroundButton_clicked"></a>
127 <h4>EditorStylesPage.on_caretForegroundButton_clicked</h4>
128 <b>on_caretForegroundButton_clicked</b>(<i></i>)
129 <p>
130 Private slot to set the foreground colour of the caret.
131 </p><a NAME="EditorStylesPage.on_caretlineBackgroundButton_clicked" ID="EditorStylesPage.on_caretlineBackgroundButton_clicked"></a>
132 <h4>EditorStylesPage.on_caretlineBackgroundButton_clicked</h4>
133 <b>on_caretlineBackgroundButton_clicked</b>(<i></i>)
134 <p>
135 Private slot to set the background colour of the caretline.
136 </p><a NAME="EditorStylesPage.on_currentLineMarkerButton_clicked" ID="EditorStylesPage.on_currentLineMarkerButton_clicked"></a>
137 <h4>EditorStylesPage.on_currentLineMarkerButton_clicked</h4>
138 <b>on_currentLineMarkerButton_clicked</b>(<i></i>)
139 <p>
140 Private slot to set the colour for the highlight of the current line.
141 </p><a NAME="EditorStylesPage.on_defaultFontButton_clicked" ID="EditorStylesPage.on_defaultFontButton_clicked"></a>
142 <h4>EditorStylesPage.on_defaultFontButton_clicked</h4>
143 <b>on_defaultFontButton_clicked</b>(<i></i>)
144 <p>
145 Private method used to select the default font for the editor.
146 </p><a NAME="EditorStylesPage.on_edgeBackgroundColorButton_clicked" ID="EditorStylesPage.on_edgeBackgroundColorButton_clicked"></a>
147 <h4>EditorStylesPage.on_edgeBackgroundColorButton_clicked</h4>
148 <b>on_edgeBackgroundColorButton_clicked</b>(<i></i>)
149 <p>
150 Private slot to set the colour for the edge background or line.
151 </p><a NAME="EditorStylesPage.on_errorMarkerButton_clicked" ID="EditorStylesPage.on_errorMarkerButton_clicked"></a>
152 <h4>EditorStylesPage.on_errorMarkerButton_clicked</h4>
153 <b>on_errorMarkerButton_clicked</b>(<i></i>)
154 <p>
155 Private slot to set the colour for the highlight of the error line.
156 </p><a NAME="EditorStylesPage.on_foldmarginBackgroundButton_clicked" ID="EditorStylesPage.on_foldmarginBackgroundButton_clicked"></a>
157 <h4>EditorStylesPage.on_foldmarginBackgroundButton_clicked</h4>
158 <b>on_foldmarginBackgroundButton_clicked</b>(<i></i>)
159 <p>
160 Private slot to set the background colour for the foldmargin.
161 </p><a NAME="EditorStylesPage.on_linenumbersFontButton_clicked" ID="EditorStylesPage.on_linenumbersFontButton_clicked"></a>
162 <h4>EditorStylesPage.on_linenumbersFontButton_clicked</h4>
163 <b>on_linenumbersFontButton_clicked</b>(<i></i>)
164 <p>
165 Private method used to select the font for the editor margins.
166 </p><a NAME="EditorStylesPage.on_marginsBackgroundButton_clicked" ID="EditorStylesPage.on_marginsBackgroundButton_clicked"></a>
167 <h4>EditorStylesPage.on_marginsBackgroundButton_clicked</h4>
168 <b>on_marginsBackgroundButton_clicked</b>(<i></i>)
169 <p>
170 Private slot to set the background colour for the margins.
171 </p><a NAME="EditorStylesPage.on_marginsForegroundButton_clicked" ID="EditorStylesPage.on_marginsForegroundButton_clicked"></a>
172 <h4>EditorStylesPage.on_marginsForegroundButton_clicked</h4>
173 <b>on_marginsForegroundButton_clicked</b>(<i></i>)
174 <p>
175 Private slot to set the foreground colour for the margins.
176 </p><a NAME="EditorStylesPage.on_matchingBracesBackButton_clicked" ID="EditorStylesPage.on_matchingBracesBackButton_clicked"></a>
177 <h4>EditorStylesPage.on_matchingBracesBackButton_clicked</h4>
178 <b>on_matchingBracesBackButton_clicked</b>(<i></i>)
179 <p>
180 Private slot to set the background colour for highlighting matching braces.
181 </p><a NAME="EditorStylesPage.on_matchingBracesButton_clicked" ID="EditorStylesPage.on_matchingBracesButton_clicked"></a>
182 <h4>EditorStylesPage.on_matchingBracesButton_clicked</h4>
183 <b>on_matchingBracesButton_clicked</b>(<i></i>)
184 <p>
185 Private slot to set the colour for highlighting matching braces.
186 </p><a NAME="EditorStylesPage.on_monospacedFontButton_clicked" ID="EditorStylesPage.on_monospacedFontButton_clicked"></a>
187 <h4>EditorStylesPage.on_monospacedFontButton_clicked</h4>
188 <b>on_monospacedFontButton_clicked</b>(<i></i>)
189 <p>
190 Private method used to select the font to be used as the monospaced font.
191 </p><a NAME="EditorStylesPage.on_nonmatchingBracesBackButton_clicked" ID="EditorStylesPage.on_nonmatchingBracesBackButton_clicked"></a>
192 <h4>EditorStylesPage.on_nonmatchingBracesBackButton_clicked</h4>
193 <b>on_nonmatchingBracesBackButton_clicked</b>(<i></i>)
194 <p>
195 Private slot to set the background colour for highlighting nonmatching braces.
196 </p><a NAME="EditorStylesPage.on_nonmatchingBracesButton_clicked" ID="EditorStylesPage.on_nonmatchingBracesButton_clicked"></a>
197 <h4>EditorStylesPage.on_nonmatchingBracesButton_clicked</h4>
198 <b>on_nonmatchingBracesButton_clicked</b>(<i></i>)
199 <p>
200 Private slot to set the colour for highlighting nonmatching braces.
201 </p><a NAME="EditorStylesPage.on_selectionBackgroundButton_clicked" ID="EditorStylesPage.on_selectionBackgroundButton_clicked"></a>
202 <h4>EditorStylesPage.on_selectionBackgroundButton_clicked</h4>
203 <b>on_selectionBackgroundButton_clicked</b>(<i></i>)
204 <p>
205 Private slot to set the background colour of the selection.
206 </p><a NAME="EditorStylesPage.on_selectionForegroundButton_clicked" ID="EditorStylesPage.on_selectionForegroundButton_clicked"></a>
207 <h4>EditorStylesPage.on_selectionForegroundButton_clicked</h4>
208 <b>on_selectionForegroundButton_clicked</b>(<i></i>)
209 <p>
210 Private slot to set the foreground colour of the selection.
211 </p><a NAME="EditorStylesPage.polishPage" ID="EditorStylesPage.polishPage"></a>
212 <h4>EditorStylesPage.polishPage</h4>
213 <b>polishPage</b>(<i></i>)
214 <p>
215 Public slot to perform some polishing actions.
216 </p><a NAME="EditorStylesPage.save" ID="EditorStylesPage.save"></a>
217 <h4>EditorStylesPage.save</h4>
218 <b>save</b>(<i></i>)
219 <p>
220 Public slot to save the Editor Styles configuration.
221 </p>
222 <div align="right"><a href="#top">Up</a></div>
223 <hr /><hr />
224 <a NAME="create" ID="create"></a>
225 <h2>create</h2>
226 <b>create</b>(<i>dlg</i>)
227 <p>
228 Module function to create the configuration page.
229 </p><dl>
230 <dt><i>dlg</i></dt>
231 <dd>
232 reference to the configuration dialog
233 </dd>
234 </dl>
235 <div align="right"><a href="#top">Up</a></div>
236 <hr />
237 </body></html>

eric ide

mercurial