|
1 <!DOCTYPE html> |
|
2 <html><head> |
|
3 <title>eric7.MicroPython.BoardDataDialog</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.MicroPython.BoardDataDialog</h1> |
|
10 |
|
11 <p> |
|
12 Module implementing a dialog to show information about a connected board. |
|
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="#BoardDataDialog">BoardDataDialog</a></td> |
|
25 <td>Class implementing a dialog to show information about a connected board.</td> |
|
26 </tr> |
|
27 </table> |
|
28 <h3>Functions</h3> |
|
29 |
|
30 <table> |
|
31 <tr><td>None</td></tr> |
|
32 </table> |
|
33 <hr /> |
|
34 <hr /> |
|
35 <a NAME="BoardDataDialog" ID="BoardDataDialog"></a> |
|
36 <h2>BoardDataDialog</h2> |
|
37 |
|
38 <p> |
|
39 Class implementing a dialog to show information about a connected board. |
|
40 </p> |
|
41 <h3>Derived from</h3> |
|
42 QDialog, Ui_BoardDataDialog |
|
43 <h3>Class Attributes</h3> |
|
44 |
|
45 <table> |
|
46 <tr><td>None</td></tr> |
|
47 </table> |
|
48 <h3>Class Methods</h3> |
|
49 |
|
50 <table> |
|
51 <tr><td>None</td></tr> |
|
52 </table> |
|
53 <h3>Methods</h3> |
|
54 |
|
55 <table> |
|
56 |
|
57 <tr> |
|
58 <td><a href="#BoardDataDialog.__init__">BoardDataDialog</a></td> |
|
59 <td>Constructor</td> |
|
60 </tr> |
|
61 <tr> |
|
62 <td><a href="#BoardDataDialog.__createHeader">__createHeader</a></td> |
|
63 <td>Private method to create a header item.</td> |
|
64 </tr> |
|
65 </table> |
|
66 <h3>Static Methods</h3> |
|
67 |
|
68 <table> |
|
69 <tr><td>None</td></tr> |
|
70 </table> |
|
71 |
|
72 <a NAME="BoardDataDialog.__init__" ID="BoardDataDialog.__init__"></a> |
|
73 <h4>BoardDataDialog (Constructor)</h4> |
|
74 <b>BoardDataDialog</b>(<i>data, parent=None</i>) |
|
75 |
|
76 <p> |
|
77 Constructor |
|
78 </p> |
|
79 <dl> |
|
80 |
|
81 <dt><i>data</i> (dict)</dt> |
|
82 <dd> |
|
83 dictionary containing the data to be shown |
|
84 </dd> |
|
85 <dt><i>parent</i> (QWidget (optional))</dt> |
|
86 <dd> |
|
87 reference to the parent widget (defaults to None) |
|
88 </dd> |
|
89 </dl> |
|
90 <a NAME="BoardDataDialog.__createHeader" ID="BoardDataDialog.__createHeader"></a> |
|
91 <h4>BoardDataDialog.__createHeader</h4> |
|
92 <b>__createHeader</b>(<i>headerText</i>) |
|
93 |
|
94 <p> |
|
95 Private method to create a header item. |
|
96 </p> |
|
97 <dl> |
|
98 |
|
99 <dt><i>headerText</i> (str)</dt> |
|
100 <dd> |
|
101 text for the header item |
|
102 </dd> |
|
103 </dl> |
|
104 <dl> |
|
105 <dt>Return:</dt> |
|
106 <dd> |
|
107 reference to the created header item |
|
108 </dd> |
|
109 </dl> |
|
110 <dl> |
|
111 <dt>Return Type:</dt> |
|
112 <dd> |
|
113 QTreeWidgetItem |
|
114 </dd> |
|
115 </dl> |
|
116 <div align="right"><a href="#top">Up</a></div> |
|
117 <hr /> |
|
118 </body></html> |