|
1 <!DOCTYPE html> |
|
2 <html><head> |
|
3 <title>eric7.UI.ErrorLogDialog</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> |
|
22 <a NAME="top" ID="top"></a> |
|
23 <h1>eric7.UI.ErrorLogDialog</h1> |
|
24 |
|
25 <p> |
|
26 Module implementing a dialog to display an error log. |
|
27 </p> |
|
28 <h3>Global Attributes</h3> |
|
29 |
|
30 <table> |
|
31 <tr><td>None</td></tr> |
|
32 </table> |
|
33 <h3>Classes</h3> |
|
34 |
|
35 <table> |
|
36 |
|
37 <tr> |
|
38 <td><a href="#ErrorLogDialog">ErrorLogDialog</a></td> |
|
39 <td>Class implementing a dialog to display an error log.</td> |
|
40 </tr> |
|
41 </table> |
|
42 <h3>Functions</h3> |
|
43 |
|
44 <table> |
|
45 <tr><td>None</td></tr> |
|
46 </table> |
|
47 <hr /> |
|
48 <hr /> |
|
49 <a NAME="ErrorLogDialog" ID="ErrorLogDialog"></a> |
|
50 <h2>ErrorLogDialog</h2> |
|
51 |
|
52 <p> |
|
53 Class implementing a dialog to display an error log. |
|
54 </p> |
|
55 <h3>Derived from</h3> |
|
56 QDialog, Ui_ErrorLogDialog |
|
57 <h3>Class Attributes</h3> |
|
58 |
|
59 <table> |
|
60 <tr><td>None</td></tr> |
|
61 </table> |
|
62 <h3>Class Methods</h3> |
|
63 |
|
64 <table> |
|
65 <tr><td>None</td></tr> |
|
66 </table> |
|
67 <h3>Methods</h3> |
|
68 |
|
69 <table> |
|
70 |
|
71 <tr> |
|
72 <td><a href="#ErrorLogDialog.__init__">ErrorLogDialog</a></td> |
|
73 <td>Constructor</td> |
|
74 </tr> |
|
75 <tr> |
|
76 <td><a href="#ErrorLogDialog.on_deleteButton_clicked">on_deleteButton_clicked</a></td> |
|
77 <td>Private slot to delete the log file.</td> |
|
78 </tr> |
|
79 <tr> |
|
80 <td><a href="#ErrorLogDialog.on_emailButton_clicked">on_emailButton_clicked</a></td> |
|
81 <td>Private slot to send an email.</td> |
|
82 </tr> |
|
83 <tr> |
|
84 <td><a href="#ErrorLogDialog.on_keepButton_clicked">on_keepButton_clicked</a></td> |
|
85 <td>Private slot to just do nothing.</td> |
|
86 </tr> |
|
87 </table> |
|
88 <h3>Static Methods</h3> |
|
89 |
|
90 <table> |
|
91 <tr><td>None</td></tr> |
|
92 </table> |
|
93 |
|
94 <a NAME="ErrorLogDialog.__init__" ID="ErrorLogDialog.__init__"></a> |
|
95 <h4>ErrorLogDialog (Constructor)</h4> |
|
96 <b>ErrorLogDialog</b>(<i>logFile, showMode, parent=None</i>) |
|
97 |
|
98 <p> |
|
99 Constructor |
|
100 </p> |
|
101 <dl> |
|
102 |
|
103 <dt><i>logFile</i></dt> |
|
104 <dd> |
|
105 name of the log file containing the error info (string) |
|
106 </dd> |
|
107 <dt><i>showMode</i></dt> |
|
108 <dd> |
|
109 flag indicating to just show the error log message |
|
110 (boolean) |
|
111 </dd> |
|
112 <dt><i>parent</i></dt> |
|
113 <dd> |
|
114 reference to the parent widget (QWidget) |
|
115 </dd> |
|
116 </dl> |
|
117 <a NAME="ErrorLogDialog.on_deleteButton_clicked" ID="ErrorLogDialog.on_deleteButton_clicked"></a> |
|
118 <h4>ErrorLogDialog.on_deleteButton_clicked</h4> |
|
119 <b>on_deleteButton_clicked</b>(<i></i>) |
|
120 |
|
121 <p> |
|
122 Private slot to delete the log file. |
|
123 </p> |
|
124 <a NAME="ErrorLogDialog.on_emailButton_clicked" ID="ErrorLogDialog.on_emailButton_clicked"></a> |
|
125 <h4>ErrorLogDialog.on_emailButton_clicked</h4> |
|
126 <b>on_emailButton_clicked</b>(<i></i>) |
|
127 |
|
128 <p> |
|
129 Private slot to send an email. |
|
130 </p> |
|
131 <a NAME="ErrorLogDialog.on_keepButton_clicked" ID="ErrorLogDialog.on_keepButton_clicked"></a> |
|
132 <h4>ErrorLogDialog.on_keepButton_clicked</h4> |
|
133 <b>on_keepButton_clicked</b>(<i></i>) |
|
134 |
|
135 <p> |
|
136 Private slot to just do nothing. |
|
137 </p> |
|
138 <div align="right"><a href="#top">Up</a></div> |
|
139 <hr /> |
|
140 </body></html> |