|
1 <!DOCTYPE html> |
|
2 <html><head> |
|
3 <title>eric6.Project.UicLoadUi6</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>eric6.Project.UicLoadUi6</h1> |
|
24 |
|
25 <p> |
|
26 Module to get the object name, class name or signatures of a Qt form (*.ui). |
|
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 <tr><td>None</td></tr> |
|
37 </table> |
|
38 <h3>Functions</h3> |
|
39 |
|
40 <table> |
|
41 |
|
42 <tr> |
|
43 <td><a href="#__mapType">__mapType</a></td> |
|
44 <td>Private function to map a type as reported by Qt's meta object to the correct Python type.</td> |
|
45 </tr> |
|
46 <tr> |
|
47 <td><a href="#className">className</a></td> |
|
48 <td>Function to get the class name of a form.</td> |
|
49 </tr> |
|
50 <tr> |
|
51 <td><a href="#objectName">objectName</a></td> |
|
52 <td>Function to get the object name of a form.</td> |
|
53 </tr> |
|
54 <tr> |
|
55 <td><a href="#signatures">signatures</a></td> |
|
56 <td>Function to get the signatures of form elements.</td> |
|
57 </tr> |
|
58 </table> |
|
59 <hr /> |
|
60 <hr /> |
|
61 <a NAME="__mapType" ID="__mapType"></a> |
|
62 <h2>__mapType</h2> |
|
63 <b>__mapType</b>(<i>type_</i>) |
|
64 |
|
65 <p> |
|
66 Private function to map a type as reported by Qt's meta object to the |
|
67 correct Python type. |
|
68 </p> |
|
69 <dl> |
|
70 |
|
71 <dt><i>type_</i> (QByteArray or bytes)</dt> |
|
72 <dd> |
|
73 type as reported by Qt |
|
74 </dd> |
|
75 </dl> |
|
76 <dl> |
|
77 <dt>Return:</dt> |
|
78 <dd> |
|
79 mapped Python type |
|
80 </dd> |
|
81 </dl> |
|
82 <dl> |
|
83 <dt>Return Type:</dt> |
|
84 <dd> |
|
85 str |
|
86 </dd> |
|
87 </dl> |
|
88 <div align="right"><a href="#top">Up</a></div> |
|
89 <hr /> |
|
90 <hr /> |
|
91 <a NAME="className" ID="className"></a> |
|
92 <h2>className</h2> |
|
93 <b>className</b>(<i>formFile, projectPath</i>) |
|
94 |
|
95 <p> |
|
96 Function to get the class name of a form. |
|
97 </p> |
|
98 <dl> |
|
99 |
|
100 <dt><i>formFile</i> (str)</dt> |
|
101 <dd> |
|
102 file name of the form |
|
103 </dd> |
|
104 <dt><i>projectPath</i> (str)</dt> |
|
105 <dd> |
|
106 directory name of the project |
|
107 </dd> |
|
108 </dl> |
|
109 <div align="right"><a href="#top">Up</a></div> |
|
110 <hr /> |
|
111 <hr /> |
|
112 <a NAME="objectName" ID="objectName"></a> |
|
113 <h2>objectName</h2> |
|
114 <b>objectName</b>(<i>formFile, projectPath</i>) |
|
115 |
|
116 <p> |
|
117 Function to get the object name of a form. |
|
118 </p> |
|
119 <dl> |
|
120 |
|
121 <dt><i>formFile</i> (str)</dt> |
|
122 <dd> |
|
123 file name of the form |
|
124 </dd> |
|
125 <dt><i>projectPath</i> (str)</dt> |
|
126 <dd> |
|
127 directory name of the project |
|
128 </dd> |
|
129 </dl> |
|
130 <div align="right"><a href="#top">Up</a></div> |
|
131 <hr /> |
|
132 <hr /> |
|
133 <a NAME="signatures" ID="signatures"></a> |
|
134 <h2>signatures</h2> |
|
135 <b>signatures</b>(<i>formFile, projectPath</i>) |
|
136 |
|
137 <p> |
|
138 Function to get the signatures of form elements. |
|
139 </p> |
|
140 <dl> |
|
141 |
|
142 <dt><i>formFile</i> (str)</dt> |
|
143 <dd> |
|
144 file name of the form |
|
145 </dd> |
|
146 <dt><i>projectPath</i> (str)</dt> |
|
147 <dd> |
|
148 directory name of the project |
|
149 </dd> |
|
150 </dl> |
|
151 <div align="right"><a href="#top">Up</a></div> |
|
152 <hr /> |
|
153 </body></html> |