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

changeset 3673
e26d7d0c1088
equal deleted inserted replaced
3670:f0cb7579c0b4 3673:e26d7d0c1088
1 <!DOCTYPE html>
2 <html><head>
3 <title>eric6.Preferences.ConfigurationPages.EditorStylesPage</title>
4 <meta charset="UTF-8">
5 <style>
6 body {
7 background: #EDECE6;
8 margin: 0em 1em 10em 1em;
9 color: black;
10 }
11
12 h1 { color: white; background: #85774A; }
13 h2 { color: white; background: #85774A; }
14 h3 { color: white; background: #9D936E; }
15 h4 { color: white; background: #9D936E; }
16
17 a { color: #BA6D36; }
18
19 </style>
20 </head>
21 <body><a NAME="top" ID="top"></a>
22 <h1>eric6.Preferences.ConfigurationPages.EditorStylesPage</h1>
23 <p>
24 Module implementing the Editor Styles configuration page.
25 </p>
26 <h3>Global Attributes</h3>
27 <table>
28 <tr><td>None</td></tr>
29 </table>
30 <h3>Classes</h3>
31 <table>
32 <tr>
33 <td><a href="#EditorStylesPage">EditorStylesPage</a></td>
34 <td>Class implementing the Editor Styles configuration page.</td>
35 </tr>
36 </table>
37 <h3>Functions</h3>
38 <table>
39 <tr>
40 <td><a href="#create">create</a></td>
41 <td>Module function to create the configuration page.</td>
42 </tr>
43 </table>
44 <hr /><hr />
45 <a NAME="EditorStylesPage" ID="EditorStylesPage"></a>
46 <h2>EditorStylesPage</h2>
47 <p>
48 Class implementing the Editor Styles configuration page.
49 </p>
50 <h3>Derived from</h3>
51 ConfigurationPageBase, Ui_EditorStylesPage
52 <h3>Class Attributes</h3>
53 <table>
54 <tr><td>None</td></tr>
55 </table>
56 <h3>Class Methods</h3>
57 <table>
58 <tr><td>None</td></tr>
59 </table>
60 <h3>Methods</h3>
61 <table>
62 <tr>
63 <td><a href="#EditorStylesPage.__init__">EditorStylesPage</a></td>
64 <td>Constructor</td>
65 </tr><tr>
66 <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>
68 </tr><tr>
69 <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>
71 </tr><tr>
72 <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>
74 </tr><tr>
75 <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>
77 </tr><tr>
78 <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>
80 </tr><tr>
81 <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>
83 </tr><tr>
84 <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>
86 </tr><tr>
87 <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>
89 </tr><tr>
90 <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>
92 </tr><tr>
93 <td><a href="#EditorStylesPage.polishPage">polishPage</a></td>
94 <td>Public slot to perform some polishing actions.</td>
95 </tr><tr>
96 <td><a href="#EditorStylesPage.save">save</a></td>
97 <td>Public slot to save the Editor Styles configuration.</td>
98 </tr>
99 </table>
100 <h3>Static Methods</h3>
101 <table>
102 <tr><td>None</td></tr>
103 </table>
104 <a NAME="EditorStylesPage.__init__" ID="EditorStylesPage.__init__"></a>
105 <h4>EditorStylesPage (Constructor)</h4>
106 <b>EditorStylesPage</b>(<i></i>)
107 <p>
108 Constructor
109 </p><a NAME="EditorStylesPage.on_annotationsErrorBgButton_clicked" ID="EditorStylesPage.on_annotationsErrorBgButton_clicked"></a>
110 <h4>EditorStylesPage.on_annotationsErrorBgButton_clicked</h4>
111 <b>on_annotationsErrorBgButton_clicked</b>(<i></i>)
112 <p>
113 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>
115 <h4>EditorStylesPage.on_annotationsErrorFgButton_clicked</h4>
116 <b>on_annotationsErrorFgButton_clicked</b>(<i></i>)
117 <p>
118 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>
120 <h4>EditorStylesPage.on_annotationsStyleWarningBgButton_clicked</h4>
121 <b>on_annotationsStyleWarningBgButton_clicked</b>(<i></i>)
122 <p>
123 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>
125 <h4>EditorStylesPage.on_annotationsStyleWarningFgButton_clicked</h4>
126 <b>on_annotationsStyleWarningFgButton_clicked</b>(<i></i>)
127 <p>
128 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>
130 <h4>EditorStylesPage.on_annotationsWarningBgButton_clicked</h4>
131 <b>on_annotationsWarningBgButton_clicked</b>(<i></i>)
132 <p>
133 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>
135 <h4>EditorStylesPage.on_annotationsWarningFgButton_clicked</h4>
136 <b>on_annotationsWarningFgButton_clicked</b>(<i></i>)
137 <p>
138 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>
140 <h4>EditorStylesPage.on_defaultFontButton_clicked</h4>
141 <b>on_defaultFontButton_clicked</b>(<i></i>)
142 <p>
143 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>
145 <h4>EditorStylesPage.on_linenumbersFontButton_clicked</h4>
146 <b>on_linenumbersFontButton_clicked</b>(<i></i>)
147 <p>
148 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>
150 <h4>EditorStylesPage.on_monospacedFontButton_clicked</h4>
151 <b>on_monospacedFontButton_clicked</b>(<i></i>)
152 <p>
153 Private method used to select the font to be used as the monospaced
154 font.
155 </p><a NAME="EditorStylesPage.polishPage" ID="EditorStylesPage.polishPage"></a>
156 <h4>EditorStylesPage.polishPage</h4>
157 <b>polishPage</b>(<i></i>)
158 <p>
159 Public slot to perform some polishing actions.
160 </p><a NAME="EditorStylesPage.save" ID="EditorStylesPage.save"></a>
161 <h4>EditorStylesPage.save</h4>
162 <b>save</b>(<i></i>)
163 <p>
164 Public slot to save the Editor Styles configuration.
165 </p>
166 <div align="right"><a href="#top">Up</a></div>
167 <hr /><hr />
168 <a NAME="create" ID="create"></a>
169 <h2>create</h2>
170 <b>create</b>(<i>dlg</i>)
171 <p>
172 Module function to create the configuration page.
173 </p><dl>
174 <dt><i>dlg</i></dt>
175 <dd>
176 reference to the configuration dialog
177 </dd>
178 </dl><dl>
179 <dt>Returns:</dt>
180 <dd>
181 reference to the instantiated page (ConfigurationPageBase)
182 </dd>
183 </dl>
184 <div align="right"><a href="#top">Up</a></div>
185 <hr />
186 </body></html>

eric ide

mercurial