|
1 <!DOCTYPE html> |
|
2 <html><head> |
|
3 <title>eric7.Preferences.ConfigurationPages.LogViewerPage</title> |
|
4 <meta charset="UTF-8"> |
|
5 <link rel="stylesheet" href="styles.css"> |
|
6 </head> |
|
7 <body> |
|
8 <a NAME="top" ID="top"></a> |
|
9 <h1>eric7.Preferences.ConfigurationPages.LogViewerPage</h1> |
|
10 |
|
11 <p> |
|
12 Module implementing the Log Viewer configuration page. |
|
13 </p> |
|
14 <h3>Global Attributes</h3> |
|
15 |
|
16 <table> |
|
17 <tr><td>None</td></tr> |
|
18 </table> |
|
19 <h3>Classes</h3> |
|
20 |
|
21 <table> |
|
22 |
|
23 <tr> |
|
24 <td><a href="#LogViewerPage">LogViewerPage</a></td> |
|
25 <td>Class implementing the Log Viewer configuration page.</td> |
|
26 </tr> |
|
27 </table> |
|
28 <h3>Functions</h3> |
|
29 |
|
30 <table> |
|
31 |
|
32 <tr> |
|
33 <td><a href="#create">create</a></td> |
|
34 <td>Module function to create the configuration page.</td> |
|
35 </tr> |
|
36 </table> |
|
37 <hr /> |
|
38 <hr /> |
|
39 <a NAME="LogViewerPage" ID="LogViewerPage"></a> |
|
40 <h2>LogViewerPage</h2> |
|
41 |
|
42 <p> |
|
43 Class implementing the Log Viewer configuration page. |
|
44 </p> |
|
45 <h3>Derived from</h3> |
|
46 ConfigurationPageBase, Ui_LogViewerPage |
|
47 <h3>Class Attributes</h3> |
|
48 |
|
49 <table> |
|
50 <tr><td>None</td></tr> |
|
51 </table> |
|
52 <h3>Class Methods</h3> |
|
53 |
|
54 <table> |
|
55 <tr><td>None</td></tr> |
|
56 </table> |
|
57 <h3>Methods</h3> |
|
58 |
|
59 <table> |
|
60 |
|
61 <tr> |
|
62 <td><a href="#LogViewerPage.__init__">LogViewerPage</a></td> |
|
63 <td>Constructor</td> |
|
64 </tr> |
|
65 <tr> |
|
66 <td><a href="#LogViewerPage.__colorChanged">__colorChanged</a></td> |
|
67 <td>Private slot handling the selection of a color.</td> |
|
68 </tr> |
|
69 <tr> |
|
70 <td><a href="#LogViewerPage.save">save</a></td> |
|
71 <td>Public slot to save the Interface configuration.</td> |
|
72 </tr> |
|
73 </table> |
|
74 <h3>Static Methods</h3> |
|
75 |
|
76 <table> |
|
77 <tr><td>None</td></tr> |
|
78 </table> |
|
79 |
|
80 <a NAME="LogViewerPage.__init__" ID="LogViewerPage.__init__"></a> |
|
81 <h4>LogViewerPage (Constructor)</h4> |
|
82 <b>LogViewerPage</b>(<i>parent=None</i>) |
|
83 |
|
84 <p> |
|
85 Constructor |
|
86 </p> |
|
87 <dl> |
|
88 |
|
89 <dt><i>parent</i></dt> |
|
90 <dd> |
|
91 reference to the parent widget (QWidget) |
|
92 </dd> |
|
93 </dl> |
|
94 <a NAME="LogViewerPage.__colorChanged" ID="LogViewerPage.__colorChanged"></a> |
|
95 <h4>LogViewerPage.__colorChanged</h4> |
|
96 <b>__colorChanged</b>(<i>colorKey, color</i>) |
|
97 |
|
98 <p> |
|
99 Private slot handling the selection of a color. |
|
100 </p> |
|
101 <dl> |
|
102 |
|
103 <dt><i>colorKey</i> (str)</dt> |
|
104 <dd> |
|
105 key of the color entry |
|
106 </dd> |
|
107 <dt><i>color</i> (QColor)</dt> |
|
108 <dd> |
|
109 selected color |
|
110 </dd> |
|
111 </dl> |
|
112 <a NAME="LogViewerPage.save" ID="LogViewerPage.save"></a> |
|
113 <h4>LogViewerPage.save</h4> |
|
114 <b>save</b>(<i></i>) |
|
115 |
|
116 <p> |
|
117 Public slot to save the Interface configuration. |
|
118 </p> |
|
119 <div align="right"><a href="#top">Up</a></div> |
|
120 <hr /> |
|
121 <hr /> |
|
122 <a NAME="create" ID="create"></a> |
|
123 <h2>create</h2> |
|
124 <b>create</b>(<i>dlg</i>) |
|
125 |
|
126 <p> |
|
127 Module function to create the configuration page. |
|
128 </p> |
|
129 <dl> |
|
130 |
|
131 <dt><i>dlg</i></dt> |
|
132 <dd> |
|
133 reference to the configuration dialog |
|
134 </dd> |
|
135 </dl> |
|
136 <dl> |
|
137 <dt>Return:</dt> |
|
138 <dd> |
|
139 reference to the instantiated page (ConfigurationPageBase) |
|
140 </dd> |
|
141 </dl> |
|
142 <div align="right"><a href="#top">Up</a></div> |
|
143 <hr /> |
|
144 </body></html> |