71 </table> |
71 </table> |
72 <h3>Methods</h3> |
72 <h3>Methods</h3> |
73 <table> |
73 <table> |
74 <tr> |
74 <tr> |
75 <td><a href="#ProjectResourcesBrowser.__init__">ProjectResourcesBrowser</a></td> |
75 <td><a href="#ProjectResourcesBrowser.__init__">ProjectResourcesBrowser</a></td> |
76 <td>Constructor</td> |
76 <td>Constructor</td> |
77 </tr><tr> |
77 </tr><tr> |
78 <td><a href="#ProjectResourcesBrowser.__addResourceFiles">__addResourceFiles</a></td> |
78 <td><a href="#ProjectResourcesBrowser.__addResourceFiles">__addResourceFiles</a></td> |
79 <td>Private method to add resource files to the project.</td> |
79 <td>Private method to add resource files to the project.</td> |
80 </tr><tr> |
80 </tr><tr> |
81 <td><a href="#ProjectResourcesBrowser.__addResourcesDirectory">__addResourcesDirectory</a></td> |
81 <td><a href="#ProjectResourcesBrowser.__addResourcesDirectory">__addResourcesDirectory</a></td> |
82 <td>Private method to add resource files of a directory to the project.</td> |
82 <td>Private method to add resource files of a directory to the project.</td> |
83 </tr><tr> |
83 </tr><tr> |
84 <td><a href="#ProjectResourcesBrowser.__checkResourcesNewer">__checkResourcesNewer</a></td> |
84 <td><a href="#ProjectResourcesBrowser.__checkResourcesNewer">__checkResourcesNewer</a></td> |
85 <td>Private method to check, if any file referenced in a resource file is newer than a given time.</td> |
85 <td>Private method to check, if any file referenced in a resource file is newer than a given time.</td> |
86 </tr><tr> |
86 </tr><tr> |
87 <td><a href="#ProjectResourcesBrowser.__compileAllResources">__compileAllResources</a></td> |
87 <td><a href="#ProjectResourcesBrowser.__compileAllResources">__compileAllResources</a></td> |
88 <td>Private method to compile all resources to source files.</td> |
88 <td>Private method to compile all resources to source files.</td> |
89 </tr><tr> |
89 </tr><tr> |
90 <td><a href="#ProjectResourcesBrowser.__compileQRC">__compileQRC</a></td> |
90 <td><a href="#ProjectResourcesBrowser.__compileQRC">__compileQRC</a></td> |
91 <td>Privat method to compile a .qrc file to a .py file.</td> |
91 <td>Privat method to compile a .qrc file to a .py file.</td> |
92 </tr><tr> |
92 </tr><tr> |
93 <td><a href="#ProjectResourcesBrowser.__compileQRCDone">__compileQRCDone</a></td> |
93 <td><a href="#ProjectResourcesBrowser.__compileQRCDone">__compileQRCDone</a></td> |
94 <td>Private slot to handle the finished signal of the compile process.</td> |
94 <td>Private slot to handle the finished signal of the compile process.</td> |
95 </tr><tr> |
95 </tr><tr> |
96 <td><a href="#ProjectResourcesBrowser.__compileResource">__compileResource</a></td> |
96 <td><a href="#ProjectResourcesBrowser.__compileResource">__compileResource</a></td> |
97 <td>Private method to compile a resource to a source file.</td> |
97 <td>Private method to compile a resource to a source file.</td> |
98 </tr><tr> |
98 </tr><tr> |
99 <td><a href="#ProjectResourcesBrowser.__compileSelectedResources">__compileSelectedResources</a></td> |
99 <td><a href="#ProjectResourcesBrowser.__compileSelectedResources">__compileSelectedResources</a></td> |
100 <td>Private method to compile selected resources to source files.</td> |
100 <td>Private method to compile selected resources to source files.</td> |
101 </tr><tr> |
101 </tr><tr> |
102 <td><a href="#ProjectResourcesBrowser.__deleteFile">__deleteFile</a></td> |
102 <td><a href="#ProjectResourcesBrowser.__deleteFile">__deleteFile</a></td> |
103 <td>Private method to delete a resource file from the project.</td> |
103 <td>Private method to delete a resource file from the project.</td> |
104 </tr><tr> |
104 </tr><tr> |
105 <td><a href="#ProjectResourcesBrowser.__newResource">__newResource</a></td> |
105 <td><a href="#ProjectResourcesBrowser.__newResource">__newResource</a></td> |
106 <td>Private slot to handle the New Resource menu action.</td> |
106 <td>Private slot to handle the New Resource menu action.</td> |
107 </tr><tr> |
107 </tr><tr> |
108 <td><a href="#ProjectResourcesBrowser.__openFile">__openFile</a></td> |
108 <td><a href="#ProjectResourcesBrowser.__openFile">__openFile</a></td> |
109 <td>Private slot to handle the Open menu action.</td> |
109 <td>Private slot to handle the Open menu action.</td> |
110 </tr><tr> |
110 </tr><tr> |
111 <td><a href="#ProjectResourcesBrowser.__readStderr">__readStderr</a></td> |
111 <td><a href="#ProjectResourcesBrowser.__readStderr">__readStderr</a></td> |
112 <td>Private slot to handle the readyReadStandardError signal of the pyrcc4/rbrcc process.</td> |
112 <td>Private slot to handle the readyReadStandardError signal of the pyrcc4/rbrcc process.</td> |
113 </tr><tr> |
113 </tr><tr> |
114 <td><a href="#ProjectResourcesBrowser.__readStdout">__readStdout</a></td> |
114 <td><a href="#ProjectResourcesBrowser.__readStdout">__readStdout</a></td> |
115 <td>Private slot to handle the readyReadStandardOutput signal of the pyrcc4/rbrcc process.</td> |
115 <td>Private slot to handle the readyReadStandardOutput signal of the pyrcc4/rbrcc process.</td> |
116 </tr><tr> |
116 </tr><tr> |
117 <td><a href="#ProjectResourcesBrowser.__showContextMenu">__showContextMenu</a></td> |
117 <td><a href="#ProjectResourcesBrowser.__showContextMenu">__showContextMenu</a></td> |
118 <td>Private slot called by the menu aboutToShow signal.</td> |
118 <td>Private slot called by the menu aboutToShow signal.</td> |
119 </tr><tr> |
119 </tr><tr> |
120 <td><a href="#ProjectResourcesBrowser.__showContextMenuBack">__showContextMenuBack</a></td> |
120 <td><a href="#ProjectResourcesBrowser.__showContextMenuBack">__showContextMenuBack</a></td> |
121 <td>Private slot called by the backMenu aboutToShow signal.</td> |
121 <td>Private slot called by the backMenu aboutToShow signal.</td> |
122 </tr><tr> |
122 </tr><tr> |
123 <td><a href="#ProjectResourcesBrowser.__showContextMenuDir">__showContextMenuDir</a></td> |
123 <td><a href="#ProjectResourcesBrowser.__showContextMenuDir">__showContextMenuDir</a></td> |
124 <td>Private slot called by the dirMenu aboutToShow signal.</td> |
124 <td>Private slot called by the dirMenu aboutToShow signal.</td> |
125 </tr><tr> |
125 </tr><tr> |
126 <td><a href="#ProjectResourcesBrowser.__showContextMenuDirMulti">__showContextMenuDirMulti</a></td> |
126 <td><a href="#ProjectResourcesBrowser.__showContextMenuDirMulti">__showContextMenuDirMulti</a></td> |
127 <td>Private slot called by the dirMultiMenu aboutToShow signal.</td> |
127 <td>Private slot called by the dirMultiMenu aboutToShow signal.</td> |
128 </tr><tr> |
128 </tr><tr> |
129 <td><a href="#ProjectResourcesBrowser.__showContextMenuMulti">__showContextMenuMulti</a></td> |
129 <td><a href="#ProjectResourcesBrowser.__showContextMenuMulti">__showContextMenuMulti</a></td> |
130 <td>Private slot called by the multiMenu aboutToShow signal.</td> |
130 <td>Private slot called by the multiMenu aboutToShow signal.</td> |
131 </tr><tr> |
131 </tr><tr> |
132 <td><a href="#ProjectResourcesBrowser._contextMenuRequested">_contextMenuRequested</a></td> |
132 <td><a href="#ProjectResourcesBrowser._contextMenuRequested">_contextMenuRequested</a></td> |
133 <td>Protected slot to show the context menu.</td> |
133 <td>Protected slot to show the context menu.</td> |
134 </tr><tr> |
134 </tr><tr> |
135 <td><a href="#ProjectResourcesBrowser._createPopupMenus">_createPopupMenus</a></td> |
135 <td><a href="#ProjectResourcesBrowser._createPopupMenus">_createPopupMenus</a></td> |
136 <td>Protected overloaded method to generate the popup menu.</td> |
136 <td>Protected overloaded method to generate the popup menu.</td> |
137 </tr><tr> |
137 </tr><tr> |
138 <td><a href="#ProjectResourcesBrowser._initHookMethods">_initHookMethods</a></td> |
138 <td><a href="#ProjectResourcesBrowser._initHookMethods">_initHookMethods</a></td> |
139 <td>Protected method to initialize the hooks dictionary.</td> |
139 <td>Protected method to initialize the hooks dictionary.</td> |
140 </tr><tr> |
140 </tr><tr> |
141 <td><a href="#ProjectResourcesBrowser._openItem">_openItem</a></td> |
141 <td><a href="#ProjectResourcesBrowser._openItem">_openItem</a></td> |
142 <td>Protected slot to handle the open popup menu entry.</td> |
142 <td>Protected slot to handle the open popup menu entry.</td> |
143 </tr><tr> |
143 </tr><tr> |
144 <td><a href="#ProjectResourcesBrowser.compileChangedResources">compileChangedResources</a></td> |
144 <td><a href="#ProjectResourcesBrowser.compileChangedResources">compileChangedResources</a></td> |
145 <td>Public method to compile all changed resources to source files.</td> |
145 <td>Public method to compile all changed resources to source files.</td> |
146 </tr><tr> |
146 </tr><tr> |
147 <td><a href="#ProjectResourcesBrowser.handlePreferencesChanged">handlePreferencesChanged</a></td> |
147 <td><a href="#ProjectResourcesBrowser.handlePreferencesChanged">handlePreferencesChanged</a></td> |
148 <td>Public slot used to handle the preferencesChanged signal.</td> |
148 <td>Public slot used to handle the preferencesChanged signal.</td> |
149 </tr> |
149 </tr> |
150 </table> |
150 </table> |
151 <a NAME="ProjectResourcesBrowser.__init__" ID="ProjectResourcesBrowser.__init__"></a> |
151 <a NAME="ProjectResourcesBrowser.__init__" ID="ProjectResourcesBrowser.__init__"></a> |
152 <h4>ProjectResourcesBrowser (Constructor)</h4> |
152 <h4>ProjectResourcesBrowser (Constructor)</h4> |
153 <b>ProjectResourcesBrowser</b>(<i>project, parent = None</i>) |
153 <b>ProjectResourcesBrowser</b>(<i>project, parent = None</i>) |
154 <p> |
154 <p> |
155 Constructor |
155 Constructor |
156 </p><dl> |
156 </p><dl> |
157 <dt><i>project</i></dt> |
157 <dt><i>project</i></dt> |
158 <dd> |
158 <dd> |
159 reference to the project object |
159 reference to the project object |
160 </dd><dt><i>parent</i></dt> |
160 </dd><dt><i>parent</i></dt> |
161 <dd> |
161 <dd> |
162 parent widget of this browser (QWidget) |
162 parent widget of this browser (QWidget) |
163 </dd> |
163 </dd> |
164 </dl><a NAME="ProjectResourcesBrowser.__addResourceFiles" ID="ProjectResourcesBrowser.__addResourceFiles"></a> |
164 </dl><a NAME="ProjectResourcesBrowser.__addResourceFiles" ID="ProjectResourcesBrowser.__addResourceFiles"></a> |
165 <h4>ProjectResourcesBrowser.__addResourceFiles</h4> |
165 <h4>ProjectResourcesBrowser.__addResourceFiles</h4> |
166 <b>__addResourceFiles</b>(<i></i>) |
166 <b>__addResourceFiles</b>(<i></i>) |
167 <p> |
167 <p> |
168 Private method to add resource files to the project. |
168 Private method to add resource files to the project. |
169 </p><a NAME="ProjectResourcesBrowser.__addResourcesDirectory" ID="ProjectResourcesBrowser.__addResourcesDirectory"></a> |
169 </p><a NAME="ProjectResourcesBrowser.__addResourcesDirectory" ID="ProjectResourcesBrowser.__addResourcesDirectory"></a> |
170 <h4>ProjectResourcesBrowser.__addResourcesDirectory</h4> |
170 <h4>ProjectResourcesBrowser.__addResourcesDirectory</h4> |
171 <b>__addResourcesDirectory</b>(<i></i>) |
171 <b>__addResourcesDirectory</b>(<i></i>) |
172 <p> |
172 <p> |
173 Private method to add resource files of a directory to the project. |
173 Private method to add resource files of a directory to the project. |
174 </p><a NAME="ProjectResourcesBrowser.__checkResourcesNewer" ID="ProjectResourcesBrowser.__checkResourcesNewer"></a> |
174 </p><a NAME="ProjectResourcesBrowser.__checkResourcesNewer" ID="ProjectResourcesBrowser.__checkResourcesNewer"></a> |
175 <h4>ProjectResourcesBrowser.__checkResourcesNewer</h4> |
175 <h4>ProjectResourcesBrowser.__checkResourcesNewer</h4> |
176 <b>__checkResourcesNewer</b>(<i>filename, mtime</i>) |
176 <b>__checkResourcesNewer</b>(<i>filename, mtime</i>) |
177 <p> |
177 <p> |
178 Private method to check, if any file referenced in a resource |
178 Private method to check, if any file referenced in a resource |
179 file is newer than a given time. |
179 file is newer than a given time. |
180 </p><dl> |
180 </p><dl> |
181 <dt><i>filename</i></dt> |
181 <dt><i>filename</i></dt> |
182 <dd> |
182 <dd> |
183 filename of the resource file (string) |
183 filename of the resource file (string) |
184 </dd><dt><i>mtime</i></dt> |
184 </dd><dt><i>mtime</i></dt> |
185 <dd> |
185 <dd> |
186 modification time to check against |
186 modification time to check against |
187 </dd> |
187 </dd> |
188 </dl><dl> |
188 </dl><dl> |
189 <dt>Returns:</dt> |
189 <dt>Returns:</dt> |
190 <dd> |
190 <dd> |
191 flag indicating some file is newer (boolean) |
191 flag indicating some file is newer (boolean) |
192 </dd> |
192 </dd> |
193 </dl><a NAME="ProjectResourcesBrowser.__compileAllResources" ID="ProjectResourcesBrowser.__compileAllResources"></a> |
193 </dl><a NAME="ProjectResourcesBrowser.__compileAllResources" ID="ProjectResourcesBrowser.__compileAllResources"></a> |
194 <h4>ProjectResourcesBrowser.__compileAllResources</h4> |
194 <h4>ProjectResourcesBrowser.__compileAllResources</h4> |
195 <b>__compileAllResources</b>(<i></i>) |
195 <b>__compileAllResources</b>(<i></i>) |
196 <p> |
196 <p> |
197 Private method to compile all resources to source files. |
197 Private method to compile all resources to source files. |
198 </p><a NAME="ProjectResourcesBrowser.__compileQRC" ID="ProjectResourcesBrowser.__compileQRC"></a> |
198 </p><a NAME="ProjectResourcesBrowser.__compileQRC" ID="ProjectResourcesBrowser.__compileQRC"></a> |
199 <h4>ProjectResourcesBrowser.__compileQRC</h4> |
199 <h4>ProjectResourcesBrowser.__compileQRC</h4> |
200 <b>__compileQRC</b>(<i>fn, noDialog = False, progress = None</i>) |
200 <b>__compileQRC</b>(<i>fn, noDialog = False, progress = None</i>) |
201 <p> |
201 <p> |
202 Privat method to compile a .qrc file to a .py file. |
202 Privat method to compile a .qrc file to a .py file. |
203 </p><dl> |
203 </p><dl> |
204 <dt><i>fn</i></dt> |
204 <dt><i>fn</i></dt> |
205 <dd> |
205 <dd> |
206 filename of the .ui file to be compiled |
206 filename of the .ui file to be compiled |
207 </dd><dt><i>noDialog</i></dt> |
207 </dd><dt><i>noDialog</i></dt> |
208 <dd> |
208 <dd> |
209 flag indicating silent operations |
209 flag indicating silent operations |
210 </dd><dt><i>progress</i></dt> |
210 </dd><dt><i>progress</i></dt> |
211 <dd> |
211 <dd> |
212 reference to the progress dialog |
212 reference to the progress dialog |
213 </dd> |
213 </dd> |
214 </dl><dl> |
214 </dl><dl> |
215 <dt>Returns:</dt> |
215 <dt>Returns:</dt> |
216 <dd> |
216 <dd> |
217 reference to the compile process (QProcess) |
217 reference to the compile process (QProcess) |
218 </dd> |
218 </dd> |
219 </dl><a NAME="ProjectResourcesBrowser.__compileQRCDone" ID="ProjectResourcesBrowser.__compileQRCDone"></a> |
219 </dl><a NAME="ProjectResourcesBrowser.__compileQRCDone" ID="ProjectResourcesBrowser.__compileQRCDone"></a> |
220 <h4>ProjectResourcesBrowser.__compileQRCDone</h4> |
220 <h4>ProjectResourcesBrowser.__compileQRCDone</h4> |
221 <b>__compileQRCDone</b>(<i>exitCode, exitStatus</i>) |
221 <b>__compileQRCDone</b>(<i>exitCode, exitStatus</i>) |
222 <p> |
222 <p> |
223 Private slot to handle the finished signal of the compile process. |
223 Private slot to handle the finished signal of the compile process. |
224 </p><dl> |
224 </p><dl> |
225 <dt><i>exitCode</i></dt> |
225 <dt><i>exitCode</i></dt> |
226 <dd> |
226 <dd> |
227 exit code of the process (integer) |
227 exit code of the process (integer) |
228 </dd><dt><i>exitStatus</i></dt> |
228 </dd><dt><i>exitStatus</i></dt> |
229 <dd> |
229 <dd> |
230 exit status of the process (QProcess.ExitStatus) |
230 exit status of the process (QProcess.ExitStatus) |
231 </dd> |
231 </dd> |
232 </dl><a NAME="ProjectResourcesBrowser.__compileResource" ID="ProjectResourcesBrowser.__compileResource"></a> |
232 </dl><a NAME="ProjectResourcesBrowser.__compileResource" ID="ProjectResourcesBrowser.__compileResource"></a> |
233 <h4>ProjectResourcesBrowser.__compileResource</h4> |
233 <h4>ProjectResourcesBrowser.__compileResource</h4> |
234 <b>__compileResource</b>(<i></i>) |
234 <b>__compileResource</b>(<i></i>) |
235 <p> |
235 <p> |
236 Private method to compile a resource to a source file. |
236 Private method to compile a resource to a source file. |
237 </p><a NAME="ProjectResourcesBrowser.__compileSelectedResources" ID="ProjectResourcesBrowser.__compileSelectedResources"></a> |
237 </p><a NAME="ProjectResourcesBrowser.__compileSelectedResources" ID="ProjectResourcesBrowser.__compileSelectedResources"></a> |
238 <h4>ProjectResourcesBrowser.__compileSelectedResources</h4> |
238 <h4>ProjectResourcesBrowser.__compileSelectedResources</h4> |
239 <b>__compileSelectedResources</b>(<i></i>) |
239 <b>__compileSelectedResources</b>(<i></i>) |
240 <p> |
240 <p> |
241 Private method to compile selected resources to source files. |
241 Private method to compile selected resources to source files. |
242 </p><a NAME="ProjectResourcesBrowser.__deleteFile" ID="ProjectResourcesBrowser.__deleteFile"></a> |
242 </p><a NAME="ProjectResourcesBrowser.__deleteFile" ID="ProjectResourcesBrowser.__deleteFile"></a> |
243 <h4>ProjectResourcesBrowser.__deleteFile</h4> |
243 <h4>ProjectResourcesBrowser.__deleteFile</h4> |
244 <b>__deleteFile</b>(<i></i>) |
244 <b>__deleteFile</b>(<i></i>) |
245 <p> |
245 <p> |
246 Private method to delete a resource file from the project. |
246 Private method to delete a resource file from the project. |
247 </p><a NAME="ProjectResourcesBrowser.__newResource" ID="ProjectResourcesBrowser.__newResource"></a> |
247 </p><a NAME="ProjectResourcesBrowser.__newResource" ID="ProjectResourcesBrowser.__newResource"></a> |
248 <h4>ProjectResourcesBrowser.__newResource</h4> |
248 <h4>ProjectResourcesBrowser.__newResource</h4> |
249 <b>__newResource</b>(<i></i>) |
249 <b>__newResource</b>(<i></i>) |
250 <p> |
250 <p> |
251 Private slot to handle the New Resource menu action. |
251 Private slot to handle the New Resource menu action. |
252 </p><a NAME="ProjectResourcesBrowser.__openFile" ID="ProjectResourcesBrowser.__openFile"></a> |
252 </p><a NAME="ProjectResourcesBrowser.__openFile" ID="ProjectResourcesBrowser.__openFile"></a> |
253 <h4>ProjectResourcesBrowser.__openFile</h4> |
253 <h4>ProjectResourcesBrowser.__openFile</h4> |
254 <b>__openFile</b>(<i></i>) |
254 <b>__openFile</b>(<i></i>) |
255 <p> |
255 <p> |
256 Private slot to handle the Open menu action. |
256 Private slot to handle the Open menu action. |
257 </p><a NAME="ProjectResourcesBrowser.__readStderr" ID="ProjectResourcesBrowser.__readStderr"></a> |
257 </p><a NAME="ProjectResourcesBrowser.__readStderr" ID="ProjectResourcesBrowser.__readStderr"></a> |
258 <h4>ProjectResourcesBrowser.__readStderr</h4> |
258 <h4>ProjectResourcesBrowser.__readStderr</h4> |
259 <b>__readStderr</b>(<i></i>) |
259 <b>__readStderr</b>(<i></i>) |
260 <p> |
260 <p> |
261 Private slot to handle the readyReadStandardError signal of the |
261 Private slot to handle the readyReadStandardError signal of the |
262 pyrcc4/rbrcc process. |
262 pyrcc4/rbrcc process. |
263 </p><a NAME="ProjectResourcesBrowser.__readStdout" ID="ProjectResourcesBrowser.__readStdout"></a> |
263 </p><a NAME="ProjectResourcesBrowser.__readStdout" ID="ProjectResourcesBrowser.__readStdout"></a> |
264 <h4>ProjectResourcesBrowser.__readStdout</h4> |
264 <h4>ProjectResourcesBrowser.__readStdout</h4> |
265 <b>__readStdout</b>(<i></i>) |
265 <b>__readStdout</b>(<i></i>) |
266 <p> |
266 <p> |
267 Private slot to handle the readyReadStandardOutput signal of the |
267 Private slot to handle the readyReadStandardOutput signal of the |
268 pyrcc4/rbrcc process. |
268 pyrcc4/rbrcc process. |
269 </p><a NAME="ProjectResourcesBrowser.__showContextMenu" ID="ProjectResourcesBrowser.__showContextMenu"></a> |
269 </p><a NAME="ProjectResourcesBrowser.__showContextMenu" ID="ProjectResourcesBrowser.__showContextMenu"></a> |
270 <h4>ProjectResourcesBrowser.__showContextMenu</h4> |
270 <h4>ProjectResourcesBrowser.__showContextMenu</h4> |
271 <b>__showContextMenu</b>(<i></i>) |
271 <b>__showContextMenu</b>(<i></i>) |
272 <p> |
272 <p> |
273 Private slot called by the menu aboutToShow signal. |
273 Private slot called by the menu aboutToShow signal. |
274 </p><a NAME="ProjectResourcesBrowser.__showContextMenuBack" ID="ProjectResourcesBrowser.__showContextMenuBack"></a> |
274 </p><a NAME="ProjectResourcesBrowser.__showContextMenuBack" ID="ProjectResourcesBrowser.__showContextMenuBack"></a> |
275 <h4>ProjectResourcesBrowser.__showContextMenuBack</h4> |
275 <h4>ProjectResourcesBrowser.__showContextMenuBack</h4> |
276 <b>__showContextMenuBack</b>(<i></i>) |
276 <b>__showContextMenuBack</b>(<i></i>) |
277 <p> |
277 <p> |
278 Private slot called by the backMenu aboutToShow signal. |
278 Private slot called by the backMenu aboutToShow signal. |
279 </p><a NAME="ProjectResourcesBrowser.__showContextMenuDir" ID="ProjectResourcesBrowser.__showContextMenuDir"></a> |
279 </p><a NAME="ProjectResourcesBrowser.__showContextMenuDir" ID="ProjectResourcesBrowser.__showContextMenuDir"></a> |
280 <h4>ProjectResourcesBrowser.__showContextMenuDir</h4> |
280 <h4>ProjectResourcesBrowser.__showContextMenuDir</h4> |
281 <b>__showContextMenuDir</b>(<i></i>) |
281 <b>__showContextMenuDir</b>(<i></i>) |
282 <p> |
282 <p> |
283 Private slot called by the dirMenu aboutToShow signal. |
283 Private slot called by the dirMenu aboutToShow signal. |
284 </p><a NAME="ProjectResourcesBrowser.__showContextMenuDirMulti" ID="ProjectResourcesBrowser.__showContextMenuDirMulti"></a> |
284 </p><a NAME="ProjectResourcesBrowser.__showContextMenuDirMulti" ID="ProjectResourcesBrowser.__showContextMenuDirMulti"></a> |
285 <h4>ProjectResourcesBrowser.__showContextMenuDirMulti</h4> |
285 <h4>ProjectResourcesBrowser.__showContextMenuDirMulti</h4> |
286 <b>__showContextMenuDirMulti</b>(<i></i>) |
286 <b>__showContextMenuDirMulti</b>(<i></i>) |
287 <p> |
287 <p> |
288 Private slot called by the dirMultiMenu aboutToShow signal. |
288 Private slot called by the dirMultiMenu aboutToShow signal. |
289 </p><a NAME="ProjectResourcesBrowser.__showContextMenuMulti" ID="ProjectResourcesBrowser.__showContextMenuMulti"></a> |
289 </p><a NAME="ProjectResourcesBrowser.__showContextMenuMulti" ID="ProjectResourcesBrowser.__showContextMenuMulti"></a> |
290 <h4>ProjectResourcesBrowser.__showContextMenuMulti</h4> |
290 <h4>ProjectResourcesBrowser.__showContextMenuMulti</h4> |
291 <b>__showContextMenuMulti</b>(<i></i>) |
291 <b>__showContextMenuMulti</b>(<i></i>) |
292 <p> |
292 <p> |
293 Private slot called by the multiMenu aboutToShow signal. |
293 Private slot called by the multiMenu aboutToShow signal. |
294 </p><a NAME="ProjectResourcesBrowser._contextMenuRequested" ID="ProjectResourcesBrowser._contextMenuRequested"></a> |
294 </p><a NAME="ProjectResourcesBrowser._contextMenuRequested" ID="ProjectResourcesBrowser._contextMenuRequested"></a> |
295 <h4>ProjectResourcesBrowser._contextMenuRequested</h4> |
295 <h4>ProjectResourcesBrowser._contextMenuRequested</h4> |
296 <b>_contextMenuRequested</b>(<i>coord</i>) |
296 <b>_contextMenuRequested</b>(<i>coord</i>) |
297 <p> |
297 <p> |
298 Protected slot to show the context menu. |
298 Protected slot to show the context menu. |
299 </p><dl> |
299 </p><dl> |
300 <dt><i>coord</i></dt> |
300 <dt><i>coord</i></dt> |
301 <dd> |
301 <dd> |
302 the position of the mouse pointer (QPoint) |
302 the position of the mouse pointer (QPoint) |
303 </dd> |
303 </dd> |
304 </dl><a NAME="ProjectResourcesBrowser._createPopupMenus" ID="ProjectResourcesBrowser._createPopupMenus"></a> |
304 </dl><a NAME="ProjectResourcesBrowser._createPopupMenus" ID="ProjectResourcesBrowser._createPopupMenus"></a> |
305 <h4>ProjectResourcesBrowser._createPopupMenus</h4> |
305 <h4>ProjectResourcesBrowser._createPopupMenus</h4> |
306 <b>_createPopupMenus</b>(<i></i>) |
306 <b>_createPopupMenus</b>(<i></i>) |
307 <p> |
307 <p> |
308 Protected overloaded method to generate the popup menu. |
308 Protected overloaded method to generate the popup menu. |
309 </p><a NAME="ProjectResourcesBrowser._initHookMethods" ID="ProjectResourcesBrowser._initHookMethods"></a> |
309 </p><a NAME="ProjectResourcesBrowser._initHookMethods" ID="ProjectResourcesBrowser._initHookMethods"></a> |
310 <h4>ProjectResourcesBrowser._initHookMethods</h4> |
310 <h4>ProjectResourcesBrowser._initHookMethods</h4> |
311 <b>_initHookMethods</b>(<i></i>) |
311 <b>_initHookMethods</b>(<i></i>) |
312 <p> |
312 <p> |
313 Protected method to initialize the hooks dictionary. |
313 Protected method to initialize the hooks dictionary. |
314 </p><p> |
314 </p><p> |
315 Supported hook methods are: |
315 Supported hook methods are: |
316 <ul> |
316 <ul> |
317 <li>compileResource: takes filename as parameter</li> |
317 <li>compileResource: takes filename as parameter</li> |
318 <li>compileAllResources: takes list of filenames as parameter</li> |
318 <li>compileAllResources: takes list of filenames as parameter</li> |
319 <li>compileChangedResources: takes list of filenames as parameter</li> |
319 <li>compileChangedResources: takes list of filenames as parameter</li> |
320 <li>compileSelectedResources: takes list of all form filenames as parameter</li> |
320 <li>compileSelectedResources: takes list of all form filenames as parameter</li> |
321 <li>newResource: takes full directory path of new file as parameter</li> |
321 <li>newResource: takes full directory path of new file as parameter</li> |
322 </ul> |
322 </ul> |
323 </p><p> |
323 </p><p> |
324 <b>Note</b>: Filenames are relative to the project directory, if not |
324 <b>Note</b>: Filenames are relative to the project directory, if not |
325 specified differently. |
325 specified differently. |
326 </p><a NAME="ProjectResourcesBrowser._openItem" ID="ProjectResourcesBrowser._openItem"></a> |
326 </p><a NAME="ProjectResourcesBrowser._openItem" ID="ProjectResourcesBrowser._openItem"></a> |
327 <h4>ProjectResourcesBrowser._openItem</h4> |
327 <h4>ProjectResourcesBrowser._openItem</h4> |
328 <b>_openItem</b>(<i></i>) |
328 <b>_openItem</b>(<i></i>) |
329 <p> |
329 <p> |
330 Protected slot to handle the open popup menu entry. |
330 Protected slot to handle the open popup menu entry. |
331 </p><a NAME="ProjectResourcesBrowser.compileChangedResources" ID="ProjectResourcesBrowser.compileChangedResources"></a> |
331 </p><a NAME="ProjectResourcesBrowser.compileChangedResources" ID="ProjectResourcesBrowser.compileChangedResources"></a> |
332 <h4>ProjectResourcesBrowser.compileChangedResources</h4> |
332 <h4>ProjectResourcesBrowser.compileChangedResources</h4> |
333 <b>compileChangedResources</b>(<i></i>) |
333 <b>compileChangedResources</b>(<i></i>) |
334 <p> |
334 <p> |
335 Public method to compile all changed resources to source files. |
335 Public method to compile all changed resources to source files. |
336 </p><a NAME="ProjectResourcesBrowser.handlePreferencesChanged" ID="ProjectResourcesBrowser.handlePreferencesChanged"></a> |
336 </p><a NAME="ProjectResourcesBrowser.handlePreferencesChanged" ID="ProjectResourcesBrowser.handlePreferencesChanged"></a> |
337 <h4>ProjectResourcesBrowser.handlePreferencesChanged</h4> |
337 <h4>ProjectResourcesBrowser.handlePreferencesChanged</h4> |
338 <b>handlePreferencesChanged</b>(<i></i>) |
338 <b>handlePreferencesChanged</b>(<i></i>) |
339 <p> |
339 <p> |
340 Public slot used to handle the preferencesChanged signal. |
340 Public slot used to handle the preferencesChanged signal. |
341 </p> |
341 </p> |
342 <div align="right"><a href="#top">Up</a></div> |
342 <div align="right"><a href="#top">Up</a></div> |
343 <hr /> |
343 <hr /> |
344 </body></html> |
344 </body></html> |