eric6/Documentation/Source/eric6.Project.UicLoadUi.html

changeset 7273
391d6b7b1eff
parent 7232
0b840f7ed593
equal deleted inserted replaced
7272:1779dc278077 7273:391d6b7b1eff
16 16
17 a { color: #BA6D36; } 17 a { color: #BA6D36; }
18 18
19 </style> 19 </style>
20 </head> 20 </head>
21 <body><a NAME="top" ID="top"></a> 21 <body>
22 <a NAME="top" ID="top"></a>
22 <h1>eric6.Project.UicLoadUi</h1> 23 <h1>eric6.Project.UicLoadUi</h1>
24
23 <p> 25 <p>
24 Module to get the object name, class name or signatures of a Qt form (*.ui). 26 Module to get the object name, class name or signatures of a Qt form (*.ui).
25 </p> 27 </p>
26 <h3>Global Attributes</h3> 28 <h3>Global Attributes</h3>
29
27 <table> 30 <table>
28 <tr><td>None</td></tr> 31 <tr><td>None</td></tr>
29 </table> 32 </table>
30 <h3>Classes</h3> 33 <h3>Classes</h3>
34
31 <table> 35 <table>
32 <tr><td>None</td></tr> 36 <tr><td>None</td></tr>
33 </table> 37 </table>
34 <h3>Functions</h3> 38 <h3>Functions</h3>
39
35 <table> 40 <table>
41
36 <tr> 42 <tr>
37 <td><a href="#__mapType">__mapType</a></td> 43 <td><a href="#__mapType">__mapType</a></td>
38 <td>Private function to map a type as reported by Qt's meta object to the correct Python type.</td> 44 <td>Private function to map a type as reported by Qt's meta object to the correct Python type.</td>
39 </tr><tr> 45 </tr>
46 <tr>
40 <td><a href="#className">className</a></td> 47 <td><a href="#className">className</a></td>
41 <td>Function to get the class name of a form.</td> 48 <td>Function to get the class name of a form.</td>
42 </tr><tr> 49 </tr>
50 <tr>
43 <td><a href="#objectName">objectName</a></td> 51 <td><a href="#objectName">objectName</a></td>
44 <td>Function to get the object name of a form.</td> 52 <td>Function to get the object name of a form.</td>
45 </tr><tr> 53 </tr>
54 <tr>
46 <td><a href="#signatures">signatures</a></td> 55 <td><a href="#signatures">signatures</a></td>
47 <td>Function to get the signatures of form elements.</td> 56 <td>Function to get the signatures of form elements.</td>
48 </tr> 57 </tr>
49 </table> 58 </table>
50 <hr /><hr /> 59 <hr />
60 <hr />
51 <a NAME="__mapType" ID="__mapType"></a> 61 <a NAME="__mapType" ID="__mapType"></a>
52 <h2>__mapType</h2> 62 <h2>__mapType</h2>
53 <b>__mapType</b>(<i>type_</i>) 63 <b>__mapType</b>(<i>type_</i>)
64
54 <p> 65 <p>
55 Private function to map a type as reported by Qt's meta object to the 66 Private function to map a type as reported by Qt's meta object to the
56 correct Python type. 67 correct Python type.
57 </p><dl> 68 </p>
69 <dl>
70
58 <dt><i>type_</i> (QByteArray or bytes)</dt> 71 <dt><i>type_</i> (QByteArray or bytes)</dt>
59 <dd> 72 <dd>
60 type as reported by Qt 73 type as reported by Qt
61 </dd> 74 </dd>
62 </dl><dl> 75 </dl>
76 <dl>
63 <dt>Returns:</dt> 77 <dt>Returns:</dt>
64 <dd> 78 <dd>
65 mapped Python type 79 mapped Python type
66 </dd> 80 </dd>
67 </dl><dl> 81 </dl>
82 <dl>
68 <dt>Return Type:</dt> 83 <dt>Return Type:</dt>
69 <dd> 84 <dd>
70 str 85 str
71 </dd> 86 </dd>
72 </dl> 87 </dl>
73 <div align="right"><a href="#top">Up</a></div> 88 <div align="right"><a href="#top">Up</a></div>
74 <hr /><hr /> 89 <hr />
90 <hr />
75 <a NAME="className" ID="className"></a> 91 <a NAME="className" ID="className"></a>
76 <h2>className</h2> 92 <h2>className</h2>
77 <b>className</b>(<i>formFile, projectPath</i>) 93 <b>className</b>(<i>formFile, projectPath</i>)
94
78 <p> 95 <p>
79 Function to get the class name of a form. 96 Function to get the class name of a form.
80 </p><dl> 97 </p>
98 <dl>
99
81 <dt><i>formFile</i> (str)</dt> 100 <dt><i>formFile</i> (str)</dt>
82 <dd> 101 <dd>
83 file name of the form 102 file name of the form
84 </dd><dt><i>projectPath</i> (str)</dt> 103 </dd>
104 <dt><i>projectPath</i> (str)</dt>
85 <dd> 105 <dd>
86 directory name of the project 106 directory name of the project
87 </dd> 107 </dd>
88 </dl> 108 </dl>
89 <div align="right"><a href="#top">Up</a></div> 109 <div align="right"><a href="#top">Up</a></div>
90 <hr /><hr /> 110 <hr />
111 <hr />
91 <a NAME="objectName" ID="objectName"></a> 112 <a NAME="objectName" ID="objectName"></a>
92 <h2>objectName</h2> 113 <h2>objectName</h2>
93 <b>objectName</b>(<i>formFile, projectPath</i>) 114 <b>objectName</b>(<i>formFile, projectPath</i>)
115
94 <p> 116 <p>
95 Function to get the object name of a form. 117 Function to get the object name of a form.
96 </p><dl> 118 </p>
119 <dl>
120
97 <dt><i>formFile</i> (str)</dt> 121 <dt><i>formFile</i> (str)</dt>
98 <dd> 122 <dd>
99 file name of the form 123 file name of the form
100 </dd><dt><i>projectPath</i> (str)</dt> 124 </dd>
125 <dt><i>projectPath</i> (str)</dt>
101 <dd> 126 <dd>
102 directory name of the project 127 directory name of the project
103 </dd> 128 </dd>
104 </dl> 129 </dl>
105 <div align="right"><a href="#top">Up</a></div> 130 <div align="right"><a href="#top">Up</a></div>
106 <hr /><hr /> 131 <hr />
132 <hr />
107 <a NAME="signatures" ID="signatures"></a> 133 <a NAME="signatures" ID="signatures"></a>
108 <h2>signatures</h2> 134 <h2>signatures</h2>
109 <b>signatures</b>(<i>formFile, projectPath</i>) 135 <b>signatures</b>(<i>formFile, projectPath</i>)
136
110 <p> 137 <p>
111 Function to get the signatures of form elements. 138 Function to get the signatures of form elements.
112 </p><dl> 139 </p>
140 <dl>
141
113 <dt><i>formFile</i> (str)</dt> 142 <dt><i>formFile</i> (str)</dt>
114 <dd> 143 <dd>
115 file name of the form 144 file name of the form
116 </dd><dt><i>projectPath</i> (str)</dt> 145 </dd>
146 <dt><i>projectPath</i> (str)</dt>
117 <dd> 147 <dd>
118 directory name of the project 148 directory name of the project
119 </dd> 149 </dd>
120 </dl> 150 </dl>
121 <div align="right"><a href="#top">Up</a></div> 151 <div align="right"><a href="#top">Up</a></div>

eric ide

mercurial