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

branch
eric7
changeset 8877
548d45c3f571
parent 8596
d64760b2da50
diff -r 2001accf55b3 -r 548d45c3f571 eric7/Documentation/Source/eric7.Preferences.ConfigurationPages.EditorStylesPage.html
--- a/eric7/Documentation/Source/eric7.Preferences.ConfigurationPages.EditorStylesPage.html	Wed Dec 29 16:53:04 2021 +0100
+++ b/eric7/Documentation/Source/eric7.Preferences.ConfigurationPages.EditorStylesPage.html	Wed Dec 29 16:54:36 2021 +0100
@@ -63,6 +63,10 @@
 <td>Constructor</td>
 </tr>
 <tr>
+<td><a href="#EditorStylesPage.__setSampleStyleSheet">__setSampleStyleSheet</a></td>
+<td>Private method to colorize a sample with given foreground and background colors.</td>
+</tr>
+<tr>
 <td><a href="#EditorStylesPage.on_annotationsErrorBgButton_clicked">on_annotationsErrorBgButton_clicked</a></td>
 <td>Private slot to set the background colour of the error annotations.</td>
 </tr>
@@ -120,6 +124,29 @@
 <p>
         Constructor
 </p>
+<a NAME="EditorStylesPage.__setSampleStyleSheet" ID="EditorStylesPage.__setSampleStyleSheet"></a>
+<h4>EditorStylesPage.__setSampleStyleSheet</h4>
+<b>__setSampleStyleSheet</b>(<i>sampleLineEdit, color, background</i>)
+
+<p>
+        Private method to colorize a sample with given foreground and
+        background colors.
+</p>
+<dl>
+
+<dt><i>sampleLineEdit</i> (QLineEdit)</dt>
+<dd>
+line edit element to be colorized
+</dd>
+<dt><i>color</i> (QColor)</dt>
+<dd>
+text color to be shown
+</dd>
+<dt><i>background</i> (QColor)</dt>
+<dd>
+background color to be shown
+</dd>
+</dl>
 <a NAME="EditorStylesPage.on_annotationsErrorBgButton_clicked" ID="EditorStylesPage.on_annotationsErrorBgButton_clicked"></a>
 <h4>EditorStylesPage.on_annotationsErrorBgButton_clicked</h4>
 <b>on_annotationsErrorBgButton_clicked</b>(<i></i>)

eric ide

mercurial