19 <h3>Classes</h3> |
19 <h3>Classes</h3> |
20 |
20 |
21 <table> |
21 <table> |
22 |
22 |
23 <tr> |
23 <tr> |
|
24 <td><a href="#FindLocationDialog">FindLocationDialog</a></td> |
|
25 <td>Class implementing a dialog to search for files.</td> |
|
26 </tr> |
|
27 <tr> |
24 <td><a href="#FindLocationWidget">FindLocationWidget</a></td> |
28 <td><a href="#FindLocationWidget">FindLocationWidget</a></td> |
25 <td>Class implementing a widget to search for files.</td> |
29 <td>Class implementing a widget to search for files.</td> |
26 </tr> |
30 </tr> |
27 </table> |
31 </table> |
28 <h3>Functions</h3> |
32 <h3>Functions</h3> |
29 |
33 |
30 <table> |
34 <table> |
31 <tr><td>None</td></tr> |
35 <tr><td>None</td></tr> |
32 </table> |
36 </table> |
|
37 <hr /> |
|
38 <hr /> |
|
39 <a NAME="FindLocationDialog" ID="FindLocationDialog"></a> |
|
40 <h2>FindLocationDialog</h2> |
|
41 |
|
42 <p> |
|
43 Class implementing a dialog to search for files. |
|
44 </p> |
|
45 <p> |
|
46 The occurrences found are displayed in a QTreeWidget showing the |
|
47 filename and the pathname. The file will be opened upon a double click |
|
48 onto the respective entry of the list or by pressing the open button. |
|
49 </p> |
|
50 <h3>Signals</h3> |
|
51 <dl> |
|
52 |
|
53 <dt>designerFile(str)</dt> |
|
54 <dd> |
|
55 emitted to open a Qt-Designer file |
|
56 </dd> |
|
57 <dt>linguistFile(str)</dt> |
|
58 <dd> |
|
59 emitted to open a Qt-Linguist (*.ts) file |
|
60 </dd> |
|
61 <dt>pixmapFile(str)</dt> |
|
62 <dd> |
|
63 emitted to open a pixmap file |
|
64 </dd> |
|
65 <dt>sourceFile(str)</dt> |
|
66 <dd> |
|
67 emitted to open a file in the editor |
|
68 </dd> |
|
69 <dt>svgFile(str)</dt> |
|
70 <dd> |
|
71 emitted to open a SVG file |
|
72 </dd> |
|
73 <dt>trpreview([str])</dt> |
|
74 <dd> |
|
75 emitted to preview Qt-Linguist (*.qm) files |
|
76 </dd> |
|
77 <dt>umlFile(str)</dt> |
|
78 <dd> |
|
79 emitted to open an eric UML file |
|
80 </dd> |
|
81 </dl> |
|
82 <h3>Derived from</h3> |
|
83 QDialog |
|
84 <h3>Class Attributes</h3> |
|
85 |
|
86 <table> |
|
87 <tr><td>None</td></tr> |
|
88 </table> |
|
89 <h3>Class Methods</h3> |
|
90 |
|
91 <table> |
|
92 <tr><td>None</td></tr> |
|
93 </table> |
|
94 <h3>Methods</h3> |
|
95 |
|
96 <table> |
|
97 |
|
98 <tr> |
|
99 <td><a href="#FindLocationDialog.__init__">FindLocationDialog</a></td> |
|
100 <td>Constructor</td> |
|
101 </tr> |
|
102 <tr> |
|
103 <td><a href="#FindLocationDialog.activate">activate</a></td> |
|
104 <td>Public method to activate the dialog.</td> |
|
105 </tr> |
|
106 </table> |
|
107 <h3>Static Methods</h3> |
|
108 |
|
109 <table> |
|
110 <tr><td>None</td></tr> |
|
111 </table> |
|
112 |
|
113 <a NAME="FindLocationDialog.__init__" ID="FindLocationDialog.__init__"></a> |
|
114 <h4>FindLocationDialog (Constructor)</h4> |
|
115 <b>FindLocationDialog</b>(<i>project, parent=None</i>) |
|
116 |
|
117 <p> |
|
118 Constructor |
|
119 </p> |
|
120 <dl> |
|
121 |
|
122 <dt><i>project</i> (Project)</dt> |
|
123 <dd> |
|
124 reference to the project object |
|
125 </dd> |
|
126 <dt><i>parent</i> (QWidget (optional))</dt> |
|
127 <dd> |
|
128 parent widget of this dialog (defaults to None) |
|
129 </dd> |
|
130 </dl> |
|
131 <a NAME="FindLocationDialog.activate" ID="FindLocationDialog.activate"></a> |
|
132 <h4>FindLocationDialog.activate</h4> |
|
133 <b>activate</b>(<i></i>) |
|
134 |
|
135 <p> |
|
136 Public method to activate the dialog. |
|
137 </p> |
|
138 <div align="right"><a href="#top">Up</a></div> |
33 <hr /> |
139 <hr /> |
34 <hr /> |
140 <hr /> |
35 <a NAME="FindLocationWidget" ID="FindLocationWidget"></a> |
141 <a NAME="FindLocationWidget" ID="FindLocationWidget"></a> |
36 <h2>FindLocationWidget</h2> |
142 <h2>FindLocationWidget</h2> |
37 |
143 |
119 <td><a href="#FindLocationWidget.__stopSearch">__stopSearch</a></td> |
225 <td><a href="#FindLocationWidget.__stopSearch">__stopSearch</a></td> |
120 <td>Private slot to handle the stop button being pressed.</td> |
226 <td>Private slot to handle the stop button being pressed.</td> |
121 </tr> |
227 </tr> |
122 <tr> |
228 <tr> |
123 <td><a href="#FindLocationWidget.activate">activate</a></td> |
229 <td><a href="#FindLocationWidget.activate">activate</a></td> |
124 <td>Public slot to enable/disable the project checkbox.</td> |
230 <td>Public slot to activate this widget.</td> |
125 </tr> |
231 </tr> |
126 <tr> |
232 <tr> |
127 <td><a href="#FindLocationWidget.checkStop">checkStop</a></td> |
233 <td><a href="#FindLocationWidget.checkStop">checkStop</a></td> |
128 <td>Public method to check, if the search should be stopped.</td> |
234 <td>Public method to check, if the search should be stopped.</td> |
129 </tr> |
235 </tr> |
219 <a NAME="FindLocationWidget.activate" ID="FindLocationWidget.activate"></a> |
325 <a NAME="FindLocationWidget.activate" ID="FindLocationWidget.activate"></a> |
220 <h4>FindLocationWidget.activate</h4> |
326 <h4>FindLocationWidget.activate</h4> |
221 <b>activate</b>(<i></i>) |
327 <b>activate</b>(<i></i>) |
222 |
328 |
223 <p> |
329 <p> |
224 Public slot to enable/disable the project checkbox. |
330 Public slot to activate this widget. |
225 </p> |
331 </p> |
226 <a NAME="FindLocationWidget.checkStop" ID="FindLocationWidget.checkStop"></a> |
332 <a NAME="FindLocationWidget.checkStop" ID="FindLocationWidget.checkStop"></a> |
227 <h4>FindLocationWidget.checkStop</h4> |
333 <h4>FindLocationWidget.checkStop</h4> |
228 <b>checkStop</b>(<i></i>) |
334 <b>checkStop</b>(<i></i>) |
229 |
335 |