1 <?xml version="1.0" encoding="utf-8"?> |
|
2 <!DOCTYPE html PUBLIC '-//W3C//DTD XHTML 1.0 Strict//EN' |
|
3 'http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd'> |
|
4 <html><head> |
|
5 <title>eric5.E5XML.XMLMessageDialog</title> |
|
6 <style> |
|
7 body { |
|
8 background: #EDECE6; |
|
9 margin: 0em 1em 10em 1em; |
|
10 color: black; |
|
11 } |
|
12 |
|
13 h1 { color: white; background: #85774A; } |
|
14 h2 { color: white; background: #85774A; } |
|
15 h3 { color: white; background: #9D936E; } |
|
16 h4 { color: white; background: #9D936E; } |
|
17 |
|
18 a { color: #BA6D36; } |
|
19 |
|
20 </style> |
|
21 </head> |
|
22 <body><a NAME="top" ID="top"></a> |
|
23 <h1>eric5.E5XML.XMLMessageDialog</h1> |
|
24 <p> |
|
25 Module implementing a dialog to display XML parse messages. |
|
26 </p> |
|
27 <h3>Global Attributes</h3> |
|
28 <table> |
|
29 <tr><td>None</td></tr> |
|
30 </table> |
|
31 <h3>Classes</h3> |
|
32 <table> |
|
33 <tr> |
|
34 <td><a href="#XMLMessageDialog">XMLMessageDialog</a></td> |
|
35 <td>Class implementing a dialog to display XML parse messages.</td> |
|
36 </tr> |
|
37 </table> |
|
38 <h3>Functions</h3> |
|
39 <table> |
|
40 <tr><td>None</td></tr> |
|
41 </table> |
|
42 <hr /><hr /> |
|
43 <a NAME="XMLMessageDialog" ID="XMLMessageDialog"></a> |
|
44 <h2>XMLMessageDialog</h2> |
|
45 <p> |
|
46 Class implementing a dialog to display XML parse messages. |
|
47 </p> |
|
48 <h3>Derived from</h3> |
|
49 QDialog, Ui_XMLMessageDialog |
|
50 <h3>Class Attributes</h3> |
|
51 <table> |
|
52 <tr><td>None</td></tr> |
|
53 </table> |
|
54 <h3>Methods</h3> |
|
55 <table> |
|
56 <tr> |
|
57 <td><a href="#XMLMessageDialog.__init__">XMLMessageDialog</a></td> |
|
58 <td>Constructor</td> |
|
59 </tr><tr> |
|
60 <td><a href="#XMLMessageDialog.__appendText">__appendText</a></td> |
|
61 <td>Private method to append text to the end of the messages pane.</td> |
|
62 </tr> |
|
63 </table> |
|
64 <a NAME="XMLMessageDialog.__init__" ID="XMLMessageDialog.__init__"></a> |
|
65 <h4>XMLMessageDialog (Constructor)</h4> |
|
66 <b>XMLMessageDialog</b>(<i>msgs, parent = None</i>) |
|
67 <p> |
|
68 Constructor |
|
69 </p><dl> |
|
70 <dt><i>msgs</i></dt> |
|
71 <dd> |
|
72 list of tuples of (message type, system id, |
|
73 line no, column no, message) |
|
74 </dd><dt><i>parent</i></dt> |
|
75 <dd> |
|
76 parent object of the dialog (QWidget) |
|
77 </dd> |
|
78 </dl><a NAME="XMLMessageDialog.__appendText" ID="XMLMessageDialog.__appendText"></a> |
|
79 <h4>XMLMessageDialog.__appendText</h4> |
|
80 <b>__appendText</b>(<i>txt, color</i>) |
|
81 <p> |
|
82 Private method to append text to the end of the messages pane. |
|
83 </p><dl> |
|
84 <dt><i>txt</i></dt> |
|
85 <dd> |
|
86 text to insert (string) |
|
87 </dd><dt><i>color</i></dt> |
|
88 <dd> |
|
89 text color to be used (QColor) |
|
90 </dd> |
|
91 </dl> |
|
92 <div align="right"><a href="#top">Up</a></div> |
|
93 <hr /> |
|
94 </body></html> |
|