src/eric7/Documentation/Source/eric7.Project.UicLoadUi6.html

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

eric ide

mercurial