Documentation/Source/eric6.Project.Project.html

changeset 5972
8499df251632
parent 5899
0516f6548ca6
child 6260
581b0ed6ac47
equal deleted inserted replaced
5971:768aef1ec205 5972:8499df251632
137 OTHERS project data area 137 OTHERS project data area
138 </dd><dt>projectPropertiesChanged()</dt> 138 </dd><dt>projectPropertiesChanged()</dt>
139 <dd> 139 <dd>
140 emitted after the project properties 140 emitted after the project properties
141 were changed 141 were changed
142 </dd><dt>projectProtocolAdded(str)</dt>
143 <dd>
144 emitted after a new proto file was added
145 </dd><dt>projectProtocolRemoved(str)</dt>
146 <dd>
147 emitted after a proto file was removed
142 </dd><dt>projectResourceAdded(str)</dt> 148 </dd><dt>projectResourceAdded(str)</dt>
143 <dd> 149 <dd>
144 emitted after a new resource file was 150 emitted after a new resource file was
145 added 151 added
146 </dd><dt>projectResourceRemoved(str)</dt> 152 </dd><dt>projectResourceRemoved(str)</dt>
378 <td>Public slot to add a directory to the OTHERS project data.</td> 384 <td>Public slot to add a directory to the OTHERS project data.</td>
379 </tr><tr> 385 </tr><tr>
380 <td><a href="#Project.addOthersFiles">addOthersFiles</a></td> 386 <td><a href="#Project.addOthersFiles">addOthersFiles</a></td>
381 <td>Public slot to add files to the OTHERS project data.</td> 387 <td>Public slot to add files to the OTHERS project data.</td>
382 </tr><tr> 388 </tr><tr>
389 <td><a href="#Project.addProtoDir">addProtoDir</a></td>
390 <td>Public slot to add all protocol files of a directory to the current project.</td>
391 </tr><tr>
392 <td><a href="#Project.addProtoFiles">addProtoFiles</a></td>
393 <td>Public slot to add protocol files to the current project.</td>
394 </tr><tr>
383 <td><a href="#Project.addResourceDir">addResourceDir</a></td> 395 <td><a href="#Project.addResourceDir">addResourceDir</a></td>
384 <td>Public slot to add all Qt resource files of a directory to the current project.</td> 396 <td>Public slot to add all Qt resource files of a directory to the current project.</td>
385 </tr><tr> 397 </tr><tr>
386 <td><a href="#Project.addResourceFiles">addResourceFiles</a></td> 398 <td><a href="#Project.addResourceFiles">addResourceFiles</a></td>
387 <td>Public slot to add Qt resources to the current project.</td> 399 <td>Public slot to add Qt resources to the current project.</td>
605 <td><a href="#Project.isProjectForm">isProjectForm</a></td> 617 <td><a href="#Project.isProjectForm">isProjectForm</a></td>
606 <td>Public method used to check, if the passed in filename belongs to the project forms.</td> 618 <td>Public method used to check, if the passed in filename belongs to the project forms.</td>
607 </tr><tr> 619 </tr><tr>
608 <td><a href="#Project.isProjectInterface">isProjectInterface</a></td> 620 <td><a href="#Project.isProjectInterface">isProjectInterface</a></td>
609 <td>Public method used to check, if the passed in filename belongs to the project interfaces.</td> 621 <td>Public method used to check, if the passed in filename belongs to the project interfaces.</td>
622 </tr><tr>
623 <td><a href="#Project.isProjectProtocol">isProjectProtocol</a></td>
624 <td>Public method used to check, if the passed in filename belongs to the project protocols.</td>
610 </tr><tr> 625 </tr><tr>
611 <td><a href="#Project.isProjectResource">isProjectResource</a></td> 626 <td><a href="#Project.isProjectResource">isProjectResource</a></td>
612 <td>Public method used to check, if the passed in filename belongs to the project resources.</td> 627 <td>Public method used to check, if the passed in filename belongs to the project resources.</td>
613 </tr><tr> 628 </tr><tr>
614 <td><a href="#Project.isProjectSource">isProjectSource</a></td> 629 <td><a href="#Project.isProjectSource">isProjectSource</a></td>
1239 <h4>Project.addDirectory</h4> 1254 <h4>Project.addDirectory</h4>
1240 <b>addDirectory</b>(<i>fileTypeFilter=None, startdir=None</i>) 1255 <b>addDirectory</b>(<i>fileTypeFilter=None, startdir=None</i>)
1241 <p> 1256 <p>
1242 Public method used to add all files of a directory to the project. 1257 Public method used to add all files of a directory to the project.
1243 </p><dl> 1258 </p><dl>
1244 <dt><i>fileTypeFilter</i></dt> 1259 <dt><i>fileTypeFilter</i> (str out of source, form, resource, interface, protocol, others)</dt>
1245 <dd> 1260 <dd>
1246 filter to be used by the add directory dialog 1261 filter to be used by the add directory dialog
1247 (string out of source, form, resource, interface, others) 1262 </dd><dt><i>startdir</i> (str)</dt>
1248 </dd><dt><i>startdir</i></dt> 1263 <dd>
1249 <dd> 1264 start directory for the selection dialog
1250 start directory for the selection dialog (string)
1251 </dd> 1265 </dd>
1252 </dl><a NAME="Project.addE5Actions" ID="Project.addE5Actions"></a> 1266 </dl><a NAME="Project.addE5Actions" ID="Project.addE5Actions"></a>
1253 <h4>Project.addE5Actions</h4> 1267 <h4>Project.addE5Actions</h4>
1254 <b>addE5Actions</b>(<i>actions</i>) 1268 <b>addE5Actions</b>(<i>actions</i>)
1255 <p> 1269 <p>
1263 <h4>Project.addFiles</h4> 1277 <h4>Project.addFiles</h4>
1264 <b>addFiles</b>(<i>fileTypeFilter=None, startdir=None</i>) 1278 <b>addFiles</b>(<i>fileTypeFilter=None, startdir=None</i>)
1265 <p> 1279 <p>
1266 Public slot used to add files to the project. 1280 Public slot used to add files to the project.
1267 </p><dl> 1281 </p><dl>
1268 <dt><i>fileTypeFilter</i></dt> 1282 <dt><i>fileTypeFilter</i> (str out of source, form, resource, interface, protocol, others)</dt>
1269 <dd> 1283 <dd>
1270 filter to be used by the add file dialog 1284 filter to be used by the add file dialog
1271 (string out of source, form, resource, interface, others) 1285 </dd><dt><i>startdir</i> (str)</dt>
1272 </dd><dt><i>startdir</i></dt>
1273 <dd> 1286 <dd>
1274 start directory for the selection dialog 1287 start directory for the selection dialog
1275 </dd> 1288 </dd>
1276 </dl><a NAME="Project.addIdlDir" ID="Project.addIdlDir"></a> 1289 </dl><a NAME="Project.addIdlDir" ID="Project.addIdlDir"></a>
1277 <h4>Project.addIdlDir</h4> 1290 <h4>Project.addIdlDir</h4>
1297 </p><a NAME="Project.addOthersFiles" ID="Project.addOthersFiles"></a> 1310 </p><a NAME="Project.addOthersFiles" ID="Project.addOthersFiles"></a>
1298 <h4>Project.addOthersFiles</h4> 1311 <h4>Project.addOthersFiles</h4>
1299 <b>addOthersFiles</b>(<i></i>) 1312 <b>addOthersFiles</b>(<i></i>)
1300 <p> 1313 <p>
1301 Public slot to add files to the OTHERS project data. 1314 Public slot to add files to the OTHERS project data.
1315 </p><a NAME="Project.addProtoDir" ID="Project.addProtoDir"></a>
1316 <h4>Project.addProtoDir</h4>
1317 <b>addProtoDir</b>(<i></i>)
1318 <p>
1319 Public slot to add all protocol files of a directory to the current
1320 project.
1321 </p><a NAME="Project.addProtoFiles" ID="Project.addProtoFiles"></a>
1322 <h4>Project.addProtoFiles</h4>
1323 <b>addProtoFiles</b>(<i></i>)
1324 <p>
1325 Public slot to add protocol files to the current project.
1302 </p><a NAME="Project.addResourceDir" ID="Project.addResourceDir"></a> 1326 </p><a NAME="Project.addResourceDir" ID="Project.addResourceDir"></a>
1303 <h4>Project.addResourceDir</h4> 1327 <h4>Project.addResourceDir</h4>
1304 <b>addResourceDir</b>(<i></i>) 1328 <b>addResourceDir</b>(<i></i>)
1305 <p> 1329 <p>
1306 Public slot to add all Qt resource files of a directory to the current 1330 Public slot to add all Qt resource files of a directory to the current
1795 Public method to get the file entries of the given type. 1819 Public method to get the file entries of the given type.
1796 </p><dl> 1820 </p><dl>
1797 <dt><i>fileType</i> (str)</dt> 1821 <dt><i>fileType</i> (str)</dt>
1798 <dd> 1822 <dd>
1799 project file type (one of SOURCES, FORMS, RESOURCES, 1823 project file type (one of SOURCES, FORMS, RESOURCES,
1800 INTERFACES, OTHERS, TRANSLATIONS) 1824 INTERFACES, PROTOCOLS, OTHERS, TRANSLATIONS)
1801 </dd><dt><i>normalized</i> (boolean)</dt> 1825 </dd><dt><i>normalized</i> (boolean)</dt>
1802 <dd> 1826 <dd>
1803 flag indicating normalized file names are wanted 1827 flag indicating normalized file names are wanted
1804 </dd> 1828 </dd>
1805 </dl><dl> 1829 </dl><dl>
2201 </dl><dl> 2225 </dl><dl>
2202 <dt>Returns:</dt> 2226 <dt>Returns:</dt>
2203 <dd> 2227 <dd>
2204 flag indicating membership (boolean) 2228 flag indicating membership (boolean)
2205 </dd> 2229 </dd>
2230 </dl><a NAME="Project.isProjectProtocol" ID="Project.isProjectProtocol"></a>
2231 <h4>Project.isProjectProtocol</h4>
2232 <b>isProjectProtocol</b>(<i>fn</i>)
2233 <p>
2234 Public method used to check, if the passed in filename belongs to the
2235 project protocols.
2236 </p><dl>
2237 <dt><i>fn</i> (str)</dt>
2238 <dd>
2239 filename to be checked
2240 </dd>
2241 </dl><dl>
2242 <dt>Returns:</dt>
2243 <dd>
2244 flag indicating membership
2245 </dd>
2246 </dl><dl>
2247 <dt>Return Type:</dt>
2248 <dd>
2249 bool
2250 </dd>
2206 </dl><a NAME="Project.isProjectResource" ID="Project.isProjectResource"></a> 2251 </dl><a NAME="Project.isProjectResource" ID="Project.isProjectResource"></a>
2207 <h4>Project.isProjectResource</h4> 2252 <h4>Project.isProjectResource</h4>
2208 <b>isProjectResource</b>(<i>fn</i>) 2253 <b>isProjectResource</b>(<i>fn</i>)
2209 <p> 2254 <p>
2210 Public method used to check, if the passed in filename belongs to the 2255 Public method used to check, if the passed in filename belongs to the

eric ide

mercurial