61 <tr> |
61 <tr> |
62 <td><a href="#EditorStylesPage.__init__">EditorStylesPage</a></td> |
62 <td><a href="#EditorStylesPage.__init__">EditorStylesPage</a></td> |
63 <td>Constructor</td> |
63 <td>Constructor</td> |
64 </tr> |
64 </tr> |
65 <tr> |
65 <tr> |
|
66 <td><a href="#EditorStylesPage.__selectAnnotationColor">__selectAnnotationColor</a></td> |
|
67 <td>Private method to select an annotation color and update the sample.</td> |
|
68 </tr> |
|
69 <tr> |
66 <td><a href="#EditorStylesPage.__setSampleStyleSheet">__setSampleStyleSheet</a></td> |
70 <td><a href="#EditorStylesPage.__setSampleStyleSheet">__setSampleStyleSheet</a></td> |
67 <td>Private method to colorize a sample with given foreground and background colors.</td> |
71 <td>Private method to colorize a sample with given foreground and background colors.</td> |
68 </tr> |
72 </tr> |
69 <tr> |
73 <tr> |
70 <td><a href="#EditorStylesPage.on_annotationsErrorBgButton_clicked">on_annotationsErrorBgButton_clicked</a></td> |
74 <td><a href="#EditorStylesPage.on_annotationsErrorBgButton_clicked">on_annotationsErrorBgButton_clicked</a></td> |
71 <td>Private slot to set the background colour of the error annotations.</td> |
75 <td>Private slot to set the background colour of the error annotations.</td> |
72 </tr> |
76 </tr> |
73 <tr> |
77 <tr> |
74 <td><a href="#EditorStylesPage.on_annotationsErrorFgButton_clicked">on_annotationsErrorFgButton_clicked</a></td> |
78 <td><a href="#EditorStylesPage.on_annotationsErrorFgButton_clicked">on_annotationsErrorFgButton_clicked</a></td> |
75 <td>Private slot to set the foreground colour of the error annotations.</td> |
79 <td>Private slot to set the foreground colour of the error annotations.</td> |
|
80 </tr> |
|
81 <tr> |
|
82 <td><a href="#EditorStylesPage.on_annotationsInformationBgButton_clicked">on_annotationsInformationBgButton_clicked</a></td> |
|
83 <td>Private slot to set the background colour of the information annotations.</td> |
|
84 </tr> |
|
85 <tr> |
|
86 <td><a href="#EditorStylesPage.on_annotationsInformationFgButton_clicked">on_annotationsInformationFgButton_clicked</a></td> |
|
87 <td>Private slot to set the foreground colour of the information annotations.</td> |
76 </tr> |
88 </tr> |
77 <tr> |
89 <tr> |
78 <td><a href="#EditorStylesPage.on_annotationsStyleWarningBgButton_clicked">on_annotationsStyleWarningBgButton_clicked</a></td> |
90 <td><a href="#EditorStylesPage.on_annotationsStyleWarningBgButton_clicked">on_annotationsStyleWarningBgButton_clicked</a></td> |
79 <td>Private slot to set the background colour of the style annotations.</td> |
91 <td>Private slot to set the background colour of the style annotations.</td> |
80 </tr> |
92 </tr> |
126 <b>EditorStylesPage</b>(<i></i>) |
138 <b>EditorStylesPage</b>(<i></i>) |
127 |
139 |
128 <p> |
140 <p> |
129 Constructor |
141 Constructor |
130 </p> |
142 </p> |
|
143 <a NAME="EditorStylesPage.__selectAnnotationColor" ID="EditorStylesPage.__selectAnnotationColor"></a> |
|
144 <h4>EditorStylesPage.__selectAnnotationColor</h4> |
|
145 <b>__selectAnnotationColor</b>(<i>annotationType, isBackground, annotationSample</i>) |
|
146 |
|
147 <p> |
|
148 Private method to select an annotation color and update the sample. |
|
149 </p> |
|
150 <dl> |
|
151 |
|
152 <dt><i>annotationType</i> (str)</dt> |
|
153 <dd> |
|
154 type of the annotation |
|
155 </dd> |
|
156 <dt><i>isBackground</i> (bool)</dt> |
|
157 <dd> |
|
158 flag indicating the background color |
|
159 </dd> |
|
160 <dt><i>annotationSample</i> (QLineEdit)</dt> |
|
161 <dd> |
|
162 reference to the annotation sample widget |
|
163 </dd> |
|
164 </dl> |
131 <a NAME="EditorStylesPage.__setSampleStyleSheet" ID="EditorStylesPage.__setSampleStyleSheet"></a> |
165 <a NAME="EditorStylesPage.__setSampleStyleSheet" ID="EditorStylesPage.__setSampleStyleSheet"></a> |
132 <h4>EditorStylesPage.__setSampleStyleSheet</h4> |
166 <h4>EditorStylesPage.__setSampleStyleSheet</h4> |
133 <b>__setSampleStyleSheet</b>(<i>sampleLineEdit, color, background</i>) |
167 <b>__setSampleStyleSheet</b>(<i>sampleLineEdit, color, background</i>) |
134 |
168 |
135 <p> |
169 <p> |
163 <b>on_annotationsErrorFgButton_clicked</b>(<i></i>) |
197 <b>on_annotationsErrorFgButton_clicked</b>(<i></i>) |
164 |
198 |
165 <p> |
199 <p> |
166 Private slot to set the foreground colour of the error annotations. |
200 Private slot to set the foreground colour of the error annotations. |
167 </p> |
201 </p> |
|
202 <a NAME="EditorStylesPage.on_annotationsInformationBgButton_clicked" ID="EditorStylesPage.on_annotationsInformationBgButton_clicked"></a> |
|
203 <h4>EditorStylesPage.on_annotationsInformationBgButton_clicked</h4> |
|
204 <b>on_annotationsInformationBgButton_clicked</b>(<i></i>) |
|
205 |
|
206 <p> |
|
207 Private slot to set the background colour of the information annotations. |
|
208 </p> |
|
209 <a NAME="EditorStylesPage.on_annotationsInformationFgButton_clicked" ID="EditorStylesPage.on_annotationsInformationFgButton_clicked"></a> |
|
210 <h4>EditorStylesPage.on_annotationsInformationFgButton_clicked</h4> |
|
211 <b>on_annotationsInformationFgButton_clicked</b>(<i></i>) |
|
212 |
|
213 <p> |
|
214 Private slot to set the foreground colour of the information annotations. |
|
215 </p> |
168 <a NAME="EditorStylesPage.on_annotationsStyleWarningBgButton_clicked" ID="EditorStylesPage.on_annotationsStyleWarningBgButton_clicked"></a> |
216 <a NAME="EditorStylesPage.on_annotationsStyleWarningBgButton_clicked" ID="EditorStylesPage.on_annotationsStyleWarningBgButton_clicked"></a> |
169 <h4>EditorStylesPage.on_annotationsStyleWarningBgButton_clicked</h4> |
217 <h4>EditorStylesPage.on_annotationsStyleWarningBgButton_clicked</h4> |
170 <b>on_annotationsStyleWarningBgButton_clicked</b>(<i></i>) |
218 <b>on_annotationsStyleWarningBgButton_clicked</b>(<i></i>) |
171 |
219 |
172 <p> |
220 <p> |