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

changeset 7273
391d6b7b1eff
parent 6942
2602857055c5
child 7989
a21d673a8f99
equal deleted inserted replaced
7272:1779dc278077 7273:391d6b7b1eff
16 16
17 a { color: #BA6D36; } 17 a { color: #BA6D36; }
18 18
19 </style> 19 </style>
20 </head> 20 </head>
21 <body><a NAME="top" ID="top"></a> 21 <body>
22 <a NAME="top" ID="top"></a>
22 <h1>eric6.Preferences.ConfigurationPages.EditorStylesPage</h1> 23 <h1>eric6.Preferences.ConfigurationPages.EditorStylesPage</h1>
24
23 <p> 25 <p>
24 Module implementing the Editor Styles configuration page. 26 Module implementing the Editor Styles configuration page.
25 </p> 27 </p>
26 <h3>Global Attributes</h3> 28 <h3>Global Attributes</h3>
29
27 <table> 30 <table>
28 <tr><td>None</td></tr> 31 <tr><td>None</td></tr>
29 </table> 32 </table>
30 <h3>Classes</h3> 33 <h3>Classes</h3>
31 <table> 34
35 <table>
36
32 <tr> 37 <tr>
33 <td><a href="#EditorStylesPage">EditorStylesPage</a></td> 38 <td><a href="#EditorStylesPage">EditorStylesPage</a></td>
34 <td>Class implementing the Editor Styles configuration page.</td> 39 <td>Class implementing the Editor Styles configuration page.</td>
35 </tr> 40 </tr>
36 </table> 41 </table>
37 <h3>Functions</h3> 42 <h3>Functions</h3>
38 <table> 43
44 <table>
45
39 <tr> 46 <tr>
40 <td><a href="#create">create</a></td> 47 <td><a href="#create">create</a></td>
41 <td>Module function to create the configuration page.</td> 48 <td>Module function to create the configuration page.</td>
42 </tr> 49 </tr>
43 </table> 50 </table>
44 <hr /><hr /> 51 <hr />
52 <hr />
45 <a NAME="EditorStylesPage" ID="EditorStylesPage"></a> 53 <a NAME="EditorStylesPage" ID="EditorStylesPage"></a>
46 <h2>EditorStylesPage</h2> 54 <h2>EditorStylesPage</h2>
55
47 <p> 56 <p>
48 Class implementing the Editor Styles configuration page. 57 Class implementing the Editor Styles configuration page.
49 </p> 58 </p>
50 <h3>Derived from</h3> 59 <h3>Derived from</h3>
51 ConfigurationPageBase, Ui_EditorStylesPage 60 ConfigurationPageBase, Ui_EditorStylesPage
52 <h3>Class Attributes</h3> 61 <h3>Class Attributes</h3>
62
53 <table> 63 <table>
54 <tr><td>None</td></tr> 64 <tr><td>None</td></tr>
55 </table> 65 </table>
56 <h3>Class Methods</h3> 66 <h3>Class Methods</h3>
67
57 <table> 68 <table>
58 <tr><td>None</td></tr> 69 <tr><td>None</td></tr>
59 </table> 70 </table>
60 <h3>Methods</h3> 71 <h3>Methods</h3>
61 <table> 72
73 <table>
74
62 <tr> 75 <tr>
63 <td><a href="#EditorStylesPage.__init__">EditorStylesPage</a></td> 76 <td><a href="#EditorStylesPage.__init__">EditorStylesPage</a></td>
64 <td>Constructor</td> 77 <td>Constructor</td>
65 </tr><tr> 78 </tr>
79 <tr>
66 <td><a href="#EditorStylesPage.on_annotationsErrorBgButton_clicked">on_annotationsErrorBgButton_clicked</a></td> 80 <td><a href="#EditorStylesPage.on_annotationsErrorBgButton_clicked">on_annotationsErrorBgButton_clicked</a></td>
67 <td>Private slot to set the background colour of the error annotations.</td> 81 <td>Private slot to set the background colour of the error annotations.</td>
68 </tr><tr> 82 </tr>
83 <tr>
69 <td><a href="#EditorStylesPage.on_annotationsErrorFgButton_clicked">on_annotationsErrorFgButton_clicked</a></td> 84 <td><a href="#EditorStylesPage.on_annotationsErrorFgButton_clicked">on_annotationsErrorFgButton_clicked</a></td>
70 <td>Private slot to set the foreground colour of the error annotations.</td> 85 <td>Private slot to set the foreground colour of the error annotations.</td>
71 </tr><tr> 86 </tr>
87 <tr>
72 <td><a href="#EditorStylesPage.on_annotationsStyleWarningBgButton_clicked">on_annotationsStyleWarningBgButton_clicked</a></td> 88 <td><a href="#EditorStylesPage.on_annotationsStyleWarningBgButton_clicked">on_annotationsStyleWarningBgButton_clicked</a></td>
73 <td>Private slot to set the background colour of the style annotations.</td> 89 <td>Private slot to set the background colour of the style annotations.</td>
74 </tr><tr> 90 </tr>
91 <tr>
75 <td><a href="#EditorStylesPage.on_annotationsStyleWarningFgButton_clicked">on_annotationsStyleWarningFgButton_clicked</a></td> 92 <td><a href="#EditorStylesPage.on_annotationsStyleWarningFgButton_clicked">on_annotationsStyleWarningFgButton_clicked</a></td>
76 <td>Private slot to set the foreground colour of the style annotations.</td> 93 <td>Private slot to set the foreground colour of the style annotations.</td>
77 </tr><tr> 94 </tr>
95 <tr>
78 <td><a href="#EditorStylesPage.on_annotationsWarningBgButton_clicked">on_annotationsWarningBgButton_clicked</a></td> 96 <td><a href="#EditorStylesPage.on_annotationsWarningBgButton_clicked">on_annotationsWarningBgButton_clicked</a></td>
79 <td>Private slot to set the background colour of the warning annotations.</td> 97 <td>Private slot to set the background colour of the warning annotations.</td>
80 </tr><tr> 98 </tr>
99 <tr>
81 <td><a href="#EditorStylesPage.on_annotationsWarningFgButton_clicked">on_annotationsWarningFgButton_clicked</a></td> 100 <td><a href="#EditorStylesPage.on_annotationsWarningFgButton_clicked">on_annotationsWarningFgButton_clicked</a></td>
82 <td>Private slot to set the foreground colour of the warning annotations.</td> 101 <td>Private slot to set the foreground colour of the warning annotations.</td>
83 </tr><tr> 102 </tr>
103 <tr>
84 <td><a href="#EditorStylesPage.on_defaultFontButton_clicked">on_defaultFontButton_clicked</a></td> 104 <td><a href="#EditorStylesPage.on_defaultFontButton_clicked">on_defaultFontButton_clicked</a></td>
85 <td>Private method used to select the default font for the editor.</td> 105 <td>Private method used to select the default font for the editor.</td>
86 </tr><tr> 106 </tr>
107 <tr>
87 <td><a href="#EditorStylesPage.on_linenumbersFontButton_clicked">on_linenumbersFontButton_clicked</a></td> 108 <td><a href="#EditorStylesPage.on_linenumbersFontButton_clicked">on_linenumbersFontButton_clicked</a></td>
88 <td>Private method used to select the font for the editor margins.</td> 109 <td>Private method used to select the font for the editor margins.</td>
89 </tr><tr> 110 </tr>
111 <tr>
90 <td><a href="#EditorStylesPage.on_monospacedFontButton_clicked">on_monospacedFontButton_clicked</a></td> 112 <td><a href="#EditorStylesPage.on_monospacedFontButton_clicked">on_monospacedFontButton_clicked</a></td>
91 <td>Private method used to select the font to be used as the monospaced font.</td> 113 <td>Private method used to select the font to be used as the monospaced font.</td>
92 </tr><tr> 114 </tr>
115 <tr>
93 <td><a href="#EditorStylesPage.polishPage">polishPage</a></td> 116 <td><a href="#EditorStylesPage.polishPage">polishPage</a></td>
94 <td>Public slot to perform some polishing actions.</td> 117 <td>Public slot to perform some polishing actions.</td>
95 </tr><tr> 118 </tr>
119 <tr>
96 <td><a href="#EditorStylesPage.save">save</a></td> 120 <td><a href="#EditorStylesPage.save">save</a></td>
97 <td>Public slot to save the Editor Styles configuration.</td> 121 <td>Public slot to save the Editor Styles configuration.</td>
98 </tr> 122 </tr>
99 </table> 123 </table>
100 <h3>Static Methods</h3> 124 <h3>Static Methods</h3>
101 <table> 125
102 <tr><td>None</td></tr> 126 <table>
103 </table> 127 <tr><td>None</td></tr>
128 </table>
129
104 <a NAME="EditorStylesPage.__init__" ID="EditorStylesPage.__init__"></a> 130 <a NAME="EditorStylesPage.__init__" ID="EditorStylesPage.__init__"></a>
105 <h4>EditorStylesPage (Constructor)</h4> 131 <h4>EditorStylesPage (Constructor)</h4>
106 <b>EditorStylesPage</b>(<i></i>) 132 <b>EditorStylesPage</b>(<i></i>)
133
107 <p> 134 <p>
108 Constructor 135 Constructor
109 </p><a NAME="EditorStylesPage.on_annotationsErrorBgButton_clicked" ID="EditorStylesPage.on_annotationsErrorBgButton_clicked"></a> 136 </p>
137 <a NAME="EditorStylesPage.on_annotationsErrorBgButton_clicked" ID="EditorStylesPage.on_annotationsErrorBgButton_clicked"></a>
110 <h4>EditorStylesPage.on_annotationsErrorBgButton_clicked</h4> 138 <h4>EditorStylesPage.on_annotationsErrorBgButton_clicked</h4>
111 <b>on_annotationsErrorBgButton_clicked</b>(<i></i>) 139 <b>on_annotationsErrorBgButton_clicked</b>(<i></i>)
140
112 <p> 141 <p>
113 Private slot to set the background colour of the error annotations. 142 Private slot to set the background colour of the error annotations.
114 </p><a NAME="EditorStylesPage.on_annotationsErrorFgButton_clicked" ID="EditorStylesPage.on_annotationsErrorFgButton_clicked"></a> 143 </p>
144 <a NAME="EditorStylesPage.on_annotationsErrorFgButton_clicked" ID="EditorStylesPage.on_annotationsErrorFgButton_clicked"></a>
115 <h4>EditorStylesPage.on_annotationsErrorFgButton_clicked</h4> 145 <h4>EditorStylesPage.on_annotationsErrorFgButton_clicked</h4>
116 <b>on_annotationsErrorFgButton_clicked</b>(<i></i>) 146 <b>on_annotationsErrorFgButton_clicked</b>(<i></i>)
147
117 <p> 148 <p>
118 Private slot to set the foreground colour of the error annotations. 149 Private slot to set the foreground colour of the error annotations.
119 </p><a NAME="EditorStylesPage.on_annotationsStyleWarningBgButton_clicked" ID="EditorStylesPage.on_annotationsStyleWarningBgButton_clicked"></a> 150 </p>
151 <a NAME="EditorStylesPage.on_annotationsStyleWarningBgButton_clicked" ID="EditorStylesPage.on_annotationsStyleWarningBgButton_clicked"></a>
120 <h4>EditorStylesPage.on_annotationsStyleWarningBgButton_clicked</h4> 152 <h4>EditorStylesPage.on_annotationsStyleWarningBgButton_clicked</h4>
121 <b>on_annotationsStyleWarningBgButton_clicked</b>(<i></i>) 153 <b>on_annotationsStyleWarningBgButton_clicked</b>(<i></i>)
154
122 <p> 155 <p>
123 Private slot to set the background colour of the style annotations. 156 Private slot to set the background colour of the style annotations.
124 </p><a NAME="EditorStylesPage.on_annotationsStyleWarningFgButton_clicked" ID="EditorStylesPage.on_annotationsStyleWarningFgButton_clicked"></a> 157 </p>
158 <a NAME="EditorStylesPage.on_annotationsStyleWarningFgButton_clicked" ID="EditorStylesPage.on_annotationsStyleWarningFgButton_clicked"></a>
125 <h4>EditorStylesPage.on_annotationsStyleWarningFgButton_clicked</h4> 159 <h4>EditorStylesPage.on_annotationsStyleWarningFgButton_clicked</h4>
126 <b>on_annotationsStyleWarningFgButton_clicked</b>(<i></i>) 160 <b>on_annotationsStyleWarningFgButton_clicked</b>(<i></i>)
161
127 <p> 162 <p>
128 Private slot to set the foreground colour of the style annotations. 163 Private slot to set the foreground colour of the style annotations.
129 </p><a NAME="EditorStylesPage.on_annotationsWarningBgButton_clicked" ID="EditorStylesPage.on_annotationsWarningBgButton_clicked"></a> 164 </p>
165 <a NAME="EditorStylesPage.on_annotationsWarningBgButton_clicked" ID="EditorStylesPage.on_annotationsWarningBgButton_clicked"></a>
130 <h4>EditorStylesPage.on_annotationsWarningBgButton_clicked</h4> 166 <h4>EditorStylesPage.on_annotationsWarningBgButton_clicked</h4>
131 <b>on_annotationsWarningBgButton_clicked</b>(<i></i>) 167 <b>on_annotationsWarningBgButton_clicked</b>(<i></i>)
168
132 <p> 169 <p>
133 Private slot to set the background colour of the warning annotations. 170 Private slot to set the background colour of the warning annotations.
134 </p><a NAME="EditorStylesPage.on_annotationsWarningFgButton_clicked" ID="EditorStylesPage.on_annotationsWarningFgButton_clicked"></a> 171 </p>
172 <a NAME="EditorStylesPage.on_annotationsWarningFgButton_clicked" ID="EditorStylesPage.on_annotationsWarningFgButton_clicked"></a>
135 <h4>EditorStylesPage.on_annotationsWarningFgButton_clicked</h4> 173 <h4>EditorStylesPage.on_annotationsWarningFgButton_clicked</h4>
136 <b>on_annotationsWarningFgButton_clicked</b>(<i></i>) 174 <b>on_annotationsWarningFgButton_clicked</b>(<i></i>)
175
137 <p> 176 <p>
138 Private slot to set the foreground colour of the warning annotations. 177 Private slot to set the foreground colour of the warning annotations.
139 </p><a NAME="EditorStylesPage.on_defaultFontButton_clicked" ID="EditorStylesPage.on_defaultFontButton_clicked"></a> 178 </p>
179 <a NAME="EditorStylesPage.on_defaultFontButton_clicked" ID="EditorStylesPage.on_defaultFontButton_clicked"></a>
140 <h4>EditorStylesPage.on_defaultFontButton_clicked</h4> 180 <h4>EditorStylesPage.on_defaultFontButton_clicked</h4>
141 <b>on_defaultFontButton_clicked</b>(<i></i>) 181 <b>on_defaultFontButton_clicked</b>(<i></i>)
182
142 <p> 183 <p>
143 Private method used to select the default font for the editor. 184 Private method used to select the default font for the editor.
144 </p><a NAME="EditorStylesPage.on_linenumbersFontButton_clicked" ID="EditorStylesPage.on_linenumbersFontButton_clicked"></a> 185 </p>
186 <a NAME="EditorStylesPage.on_linenumbersFontButton_clicked" ID="EditorStylesPage.on_linenumbersFontButton_clicked"></a>
145 <h4>EditorStylesPage.on_linenumbersFontButton_clicked</h4> 187 <h4>EditorStylesPage.on_linenumbersFontButton_clicked</h4>
146 <b>on_linenumbersFontButton_clicked</b>(<i></i>) 188 <b>on_linenumbersFontButton_clicked</b>(<i></i>)
189
147 <p> 190 <p>
148 Private method used to select the font for the editor margins. 191 Private method used to select the font for the editor margins.
149 </p><a NAME="EditorStylesPage.on_monospacedFontButton_clicked" ID="EditorStylesPage.on_monospacedFontButton_clicked"></a> 192 </p>
193 <a NAME="EditorStylesPage.on_monospacedFontButton_clicked" ID="EditorStylesPage.on_monospacedFontButton_clicked"></a>
150 <h4>EditorStylesPage.on_monospacedFontButton_clicked</h4> 194 <h4>EditorStylesPage.on_monospacedFontButton_clicked</h4>
151 <b>on_monospacedFontButton_clicked</b>(<i></i>) 195 <b>on_monospacedFontButton_clicked</b>(<i></i>)
196
152 <p> 197 <p>
153 Private method used to select the font to be used as the monospaced 198 Private method used to select the font to be used as the monospaced
154 font. 199 font.
155 </p><a NAME="EditorStylesPage.polishPage" ID="EditorStylesPage.polishPage"></a> 200 </p>
201 <a NAME="EditorStylesPage.polishPage" ID="EditorStylesPage.polishPage"></a>
156 <h4>EditorStylesPage.polishPage</h4> 202 <h4>EditorStylesPage.polishPage</h4>
157 <b>polishPage</b>(<i></i>) 203 <b>polishPage</b>(<i></i>)
204
158 <p> 205 <p>
159 Public slot to perform some polishing actions. 206 Public slot to perform some polishing actions.
160 </p><a NAME="EditorStylesPage.save" ID="EditorStylesPage.save"></a> 207 </p>
208 <a NAME="EditorStylesPage.save" ID="EditorStylesPage.save"></a>
161 <h4>EditorStylesPage.save</h4> 209 <h4>EditorStylesPage.save</h4>
162 <b>save</b>(<i></i>) 210 <b>save</b>(<i></i>)
211
163 <p> 212 <p>
164 Public slot to save the Editor Styles configuration. 213 Public slot to save the Editor Styles configuration.
165 </p> 214 </p>
166 <div align="right"><a href="#top">Up</a></div> 215 <div align="right"><a href="#top">Up</a></div>
167 <hr /><hr /> 216 <hr />
217 <hr />
168 <a NAME="create" ID="create"></a> 218 <a NAME="create" ID="create"></a>
169 <h2>create</h2> 219 <h2>create</h2>
170 <b>create</b>(<i>dlg</i>) 220 <b>create</b>(<i>dlg</i>)
221
171 <p> 222 <p>
172 Module function to create the configuration page. 223 Module function to create the configuration page.
173 </p><dl> 224 </p>
225 <dl>
226
174 <dt><i>dlg</i></dt> 227 <dt><i>dlg</i></dt>
175 <dd> 228 <dd>
176 reference to the configuration dialog 229 reference to the configuration dialog
177 </dd> 230 </dd>
178 </dl><dl> 231 </dl>
232 <dl>
179 <dt>Returns:</dt> 233 <dt>Returns:</dt>
180 <dd> 234 <dd>
181 reference to the instantiated page (ConfigurationPageBase) 235 reference to the instantiated page (ConfigurationPageBase)
182 </dd> 236 </dd>
183 </dl> 237 </dl>

eric ide

mercurial