src/eric7/Documentation/Source/eric7.MicroPython.AddEditDevicesDialog.html

branch
eric7
changeset 10479
856476537696
parent 9209
b99e7fd55fd3
child 10690
fab36645aa7d
equal deleted inserted replaced
10478:de9106c55c3d 10479:856476537696
5 <link rel="stylesheet" href="styles.css"> 5 <link rel="stylesheet" href="styles.css">
6 </head> 6 </head>
7 <body> 7 <body>
8 <a NAME="top" ID="top"></a> 8 <a NAME="top" ID="top"></a>
9 <h1>eric7.MicroPython.AddEditDevicesDialog</h1> 9 <h1>eric7.MicroPython.AddEditDevicesDialog</h1>
10
11 <p> 10 <p>
12 Module implementing a dialog to add or edit data of unknown MicroPython 11 Module implementing a dialog to add or edit data of unknown MicroPython
13 devices. 12 devices.
14 </p> 13 </p>
14
15 <h3>Global Attributes</h3> 15 <h3>Global Attributes</h3>
16
17 <table> 16 <table>
18 <tr><td>None</td></tr> 17 <tr><td>None</td></tr>
19 </table> 18 </table>
19
20 <h3>Classes</h3> 20 <h3>Classes</h3>
21
22 <table> 21 <table>
23
24 <tr> 22 <tr>
25 <td><a href="#AddEditDevicesDialog">AddEditDevicesDialog</a></td> 23 <td><a href="#AddEditDevicesDialog">AddEditDevicesDialog</a></td>
26 <td>Class implementing a dialog to add or edit data of unknown MicroPython devices.</td> 24 <td>Class implementing a dialog to add or edit data of unknown MicroPython devices.</td>
27 </tr> 25 </tr>
28 </table> 26 </table>
27
29 <h3>Functions</h3> 28 <h3>Functions</h3>
30
31 <table> 29 <table>
32 <tr><td>None</td></tr> 30 <tr><td>None</td></tr>
33 </table> 31 </table>
32
34 <hr /> 33 <hr />
35 <hr /> 34 <hr />
36 <a NAME="AddEditDevicesDialog" ID="AddEditDevicesDialog"></a> 35 <a NAME="AddEditDevicesDialog" ID="AddEditDevicesDialog"></a>
37 <h2>AddEditDevicesDialog</h2> 36 <h2>AddEditDevicesDialog</h2>
38
39 <p> 37 <p>
40 Class implementing a dialog to add or edit data of unknown MicroPython 38 Class implementing a dialog to add or edit data of unknown MicroPython
41 devices. 39 devices.
42 </p> 40 </p>
41
43 <h3>Derived from</h3> 42 <h3>Derived from</h3>
44 QDialog, Ui_AddEditDevicesDialog 43 QDialog, Ui_AddEditDevicesDialog
45 <h3>Class Attributes</h3> 44 <h3>Class Attributes</h3>
46
47 <table> 45 <table>
48 <tr><td>None</td></tr> 46 <tr><td>None</td></tr>
49 </table> 47 </table>
48
50 <h3>Class Methods</h3> 49 <h3>Class Methods</h3>
51
52 <table> 50 <table>
53 <tr><td>None</td></tr> 51 <tr><td>None</td></tr>
54 </table> 52 </table>
53
55 <h3>Methods</h3> 54 <h3>Methods</h3>
56
57 <table> 55 <table>
58
59 <tr> 56 <tr>
60 <td><a href="#AddEditDevicesDialog.__init__">AddEditDevicesDialog</a></td> 57 <td><a href="#AddEditDevicesDialog.__init__">AddEditDevicesDialog</a></td>
61 <td>Constructor</td> 58 <td>Constructor</td>
62 </tr> 59 </tr>
63 <tr> 60 <tr>
71 <tr> 68 <tr>
72 <td><a href="#AddEditDevicesDialog.on_reportButton_clicked">on_reportButton_clicked</a></td> 69 <td><a href="#AddEditDevicesDialog.on_reportButton_clicked">on_reportButton_clicked</a></td>
73 <td>Private slot to report the entered data to the eric-bugs email address.</td> 70 <td>Private slot to report the entered data to the eric-bugs email address.</td>
74 </tr> 71 </tr>
75 </table> 72 </table>
73
76 <h3>Static Methods</h3> 74 <h3>Static Methods</h3>
77
78 <table> 75 <table>
79 <tr><td>None</td></tr> 76 <tr><td>None</td></tr>
80 </table> 77 </table>
81 78
79
82 <a NAME="AddEditDevicesDialog.__init__" ID="AddEditDevicesDialog.__init__"></a> 80 <a NAME="AddEditDevicesDialog.__init__" ID="AddEditDevicesDialog.__init__"></a>
83 <h4>AddEditDevicesDialog (Constructor)</h4> 81 <h4>AddEditDevicesDialog (Constructor)</h4>
84 <b>AddEditDevicesDialog</b>(<i>vid=0, pid=0, description=0, deviceData=None, parent=None</i>) 82 <b>AddEditDevicesDialog</b>(<i>vid=0, pid=0, description=0, deviceData=None, parent=None</i>)
85
86 <p> 83 <p>
87 Constructor 84 Constructor
88 </p> 85 </p>
89 <p> 86 <p>
90 Note: Either vid and pid and description or deviceData dictionary 87 Note: Either vid and pid and description or deviceData dictionary
91 must be given. 88 must be given.
92 </p> 89 </p>
90
93 <dl> 91 <dl>
94 92
95 <dt><i>vid</i> (int (optional))</dt> 93 <dt><i>vid</i> (int (optional))</dt>
96 <dd> 94 <dd>
97 vendor ID of the device (defaults to 0) 95 vendor ID of the device (defaults to 0)
114 </dd> 112 </dd>
115 </dl> 113 </dl>
116 <a NAME="AddEditDevicesDialog.getDeviceDict" ID="AddEditDevicesDialog.getDeviceDict"></a> 114 <a NAME="AddEditDevicesDialog.getDeviceDict" ID="AddEditDevicesDialog.getDeviceDict"></a>
117 <h4>AddEditDevicesDialog.getDeviceDict</h4> 115 <h4>AddEditDevicesDialog.getDeviceDict</h4>
118 <b>getDeviceDict</b>(<i></i>) 116 <b>getDeviceDict</b>(<i></i>)
119
120 <p> 117 <p>
121 Public method to get the entered data as a dictionary. 118 Public method to get the entered data as a dictionary.
122 </p> 119 </p>
120
123 <dl> 121 <dl>
124 <dt>Return:</dt> 122 <dt>Return:</dt>
125 <dd> 123 <dd>
126 dictionary containing the entered data 124 dictionary containing the entered data
127 </dd> 125 </dd>
133 </dd> 131 </dd>
134 </dl> 132 </dl>
135 <a NAME="AddEditDevicesDialog.on_deviceTypeComboBox_currentIndexChanged" ID="AddEditDevicesDialog.on_deviceTypeComboBox_currentIndexChanged"></a> 133 <a NAME="AddEditDevicesDialog.on_deviceTypeComboBox_currentIndexChanged" ID="AddEditDevicesDialog.on_deviceTypeComboBox_currentIndexChanged"></a>
136 <h4>AddEditDevicesDialog.on_deviceTypeComboBox_currentIndexChanged</h4> 134 <h4>AddEditDevicesDialog.on_deviceTypeComboBox_currentIndexChanged</h4>
137 <b>on_deviceTypeComboBox_currentIndexChanged</b>(<i>index</i>) 135 <b>on_deviceTypeComboBox_currentIndexChanged</b>(<i>index</i>)
138
139 <p> 136 <p>
140 Private slot to handle the selection of a device type. 137 Private slot to handle the selection of a device type.
141 </p> 138 </p>
139
142 <dl> 140 <dl>
143 141
144 <dt><i>index</i> (int)</dt> 142 <dt><i>index</i> (int)</dt>
145 <dd> 143 <dd>
146 index of the current item 144 index of the current item
147 </dd> 145 </dd>
148 </dl> 146 </dl>
149 <a NAME="AddEditDevicesDialog.on_reportButton_clicked" ID="AddEditDevicesDialog.on_reportButton_clicked"></a> 147 <a NAME="AddEditDevicesDialog.on_reportButton_clicked" ID="AddEditDevicesDialog.on_reportButton_clicked"></a>
150 <h4>AddEditDevicesDialog.on_reportButton_clicked</h4> 148 <h4>AddEditDevicesDialog.on_reportButton_clicked</h4>
151 <b>on_reportButton_clicked</b>(<i></i>) 149 <b>on_reportButton_clicked</b>(<i></i>)
152
153 <p> 150 <p>
154 Private slot to report the entered data to the eric-bugs email address. 151 Private slot to report the entered data to the eric-bugs email address.
155 </p> 152 </p>
153
156 <div align="right"><a href="#top">Up</a></div> 154 <div align="right"><a href="#top">Up</a></div>
157 <hr /> 155 <hr />
158 </body></html> 156 </body></html>

eric ide

mercurial