140 <p> |
140 <p> |
141 Constructor |
141 Constructor |
142 </p> |
142 </p> |
143 <dl> |
143 <dl> |
144 |
144 |
145 <dt><i>vcsObject</i></dt> |
145 <dt><i>vcsObject</i> (VersionControl)</dt> |
146 <dd> |
146 <dd> |
147 reference to the vcs object |
147 reference to the vcs object |
148 </dd> |
148 </dd> |
149 <dt><i>browserObject</i></dt> |
149 <dt><i>browserObject</i> (ProjectBaseBrowser)</dt> |
150 <dd> |
150 <dd> |
151 reference to the project browser object |
151 reference to the project browser object |
152 </dd> |
152 </dd> |
153 <dt><i>projectObject</i></dt> |
153 <dt><i>projectObject</i> (Project)</dt> |
154 <dd> |
154 <dd> |
155 reference to the project object |
155 reference to the project object |
156 </dd> |
156 </dd> |
157 <dt><i>isTranslationsBrowser</i></dt> |
157 <dt><i>isTranslationsBrowser</i> (bool)</dt> |
158 <dd> |
158 <dd> |
159 flag indicating, the helper is requested |
159 flag indicating, the helper is requested |
160 for the translations browser (this needs some special treatment) |
160 for the translations browser (this needs some special treatment) |
161 </dd> |
161 </dd> |
162 <dt><i>parent</i></dt> |
162 <dt><i>parent</i> (QWidget)</dt> |
163 <dd> |
163 <dd> |
164 parent widget (QWidget) |
164 parent widget |
165 </dd> |
165 </dd> |
166 <dt><i>name</i></dt> |
166 <dt><i>name</i> (str)</dt> |
167 <dd> |
167 <dd> |
168 name of this object (string) |
168 name of this object |
169 </dd> |
169 </dd> |
170 </dl> |
170 </dl> |
171 <a NAME="VcsProjectBrowserHelper._VCSAdd" ID="VcsProjectBrowserHelper._VCSAdd"></a> |
171 <a NAME="VcsProjectBrowserHelper._VCSAdd" ID="VcsProjectBrowserHelper._VCSAdd"></a> |
172 <h4>VcsProjectBrowserHelper._VCSAdd</h4> |
172 <h4>VcsProjectBrowserHelper._VCSAdd</h4> |
173 <b>_VCSAdd</b>(<i></i>) |
173 <b>_VCSAdd</b>(<i></i>) |
264 <p> |
264 <p> |
265 Protected method to update the VCS status of an item. |
265 Protected method to update the VCS status of an item. |
266 </p> |
266 </p> |
267 <dl> |
267 <dl> |
268 |
268 |
269 <dt><i>name</i></dt> |
269 <dt><i>name</i> (str)</dt> |
270 <dd> |
270 <dd> |
271 filename or directoryname of the item to be updated |
271 filename or directoryname of the item to be updated |
272 (string) |
|
273 </dd> |
272 </dd> |
274 </dl> |
273 </dl> |
275 <a NAME="VcsProjectBrowserHelper.addVCSMenus" ID="VcsProjectBrowserHelper.addVCSMenus"></a> |
274 <a NAME="VcsProjectBrowserHelper.addVCSMenus" ID="VcsProjectBrowserHelper.addVCSMenus"></a> |
276 <h4>VcsProjectBrowserHelper.addVCSMenus</h4> |
275 <h4>VcsProjectBrowserHelper.addVCSMenus</h4> |
277 <b>addVCSMenus</b>(<i>mainMenu, multiMenu, backMenu, dirMenu, dirMultiMenu</i>) |
276 <b>addVCSMenus</b>(<i>mainMenu, multiMenu, backMenu, dirMenu, dirMultiMenu</i>) |
280 Public method to add the VCS entries to the various project browser |
279 Public method to add the VCS entries to the various project browser |
281 menus. |
280 menus. |
282 </p> |
281 </p> |
283 <dl> |
282 <dl> |
284 |
283 |
285 <dt><i>mainMenu</i></dt> |
284 <dt><i>mainMenu</i> (QMenu)</dt> |
286 <dd> |
285 <dd> |
287 reference to the main menu (QPopupMenu) |
286 reference to the main menu |
288 </dd> |
287 </dd> |
289 <dt><i>multiMenu</i></dt> |
288 <dt><i>multiMenu</i> (QMenu)</dt> |
290 <dd> |
289 <dd> |
291 reference to the multiple selection menu (QPopupMenu) |
290 reference to the multiple selection menu |
292 </dd> |
291 </dd> |
293 <dt><i>backMenu</i></dt> |
292 <dt><i>backMenu</i> (QMenu)</dt> |
294 <dd> |
293 <dd> |
295 reference to the background menu (QPopupMenu) |
294 reference to the background menu |
296 </dd> |
295 </dd> |
297 <dt><i>dirMenu</i></dt> |
296 <dt><i>dirMenu</i> (QMenu)</dt> |
298 <dd> |
297 <dd> |
299 reference to the directory menu (QPopupMenu) |
298 reference to the directory menu |
300 </dd> |
299 </dd> |
301 <dt><i>dirMultiMenu</i></dt> |
300 <dt><i>dirMultiMenu</i> (QMenu)</dt> |
302 <dd> |
301 <dd> |
303 reference to the multiple selection directory |
302 reference to the multiple selection directory menu |
304 menu (QPopupMenu) |
|
305 </dd> |
303 </dd> |
306 </dl> |
304 </dl> |
307 <a NAME="VcsProjectBrowserHelper.showContextMenu" ID="VcsProjectBrowserHelper.showContextMenu"></a> |
305 <a NAME="VcsProjectBrowserHelper.showContextMenu" ID="VcsProjectBrowserHelper.showContextMenu"></a> |
308 <h4>VcsProjectBrowserHelper.showContextMenu</h4> |
306 <h4>VcsProjectBrowserHelper.showContextMenu</h4> |
309 <b>showContextMenu</b>(<i>menu, standardItems</i>) |
307 <b>showContextMenu</b>(<i>menu, standardItems</i>) |
315 It enables/disables the VCS menu entries depending on the overall |
313 It enables/disables the VCS menu entries depending on the overall |
316 VCS status and the file status. |
314 VCS status and the file status. |
317 </p> |
315 </p> |
318 <dl> |
316 <dl> |
319 |
317 |
320 <dt><i>menu</i></dt> |
318 <dt><i>menu</i> (QMenu)</dt> |
321 <dd> |
319 <dd> |
322 reference to the menu to be shown |
320 reference to the menu to be shown |
323 </dd> |
321 </dd> |
324 <dt><i>standardItems</i></dt> |
322 <dt><i>standardItems</i> (list of BrowserItem)</dt> |
325 <dd> |
323 <dd> |
326 array of standard items that need |
324 array of standard items that need |
327 activation/deactivation depending on the overall VCS status |
325 activation/deactivation depending on the overall VCS status |
328 </dd> |
326 </dd> |
329 </dl> |
327 </dl> |
346 It enables/disables the VCS menu entries depending on the overall |
344 It enables/disables the VCS menu entries depending on the overall |
347 VCS status and the directory status. |
345 VCS status and the directory status. |
348 </p> |
346 </p> |
349 <dl> |
347 <dl> |
350 |
348 |
351 <dt><i>menu</i></dt> |
349 <dt><i>menu</i> (QMenu)</dt> |
352 <dd> |
350 <dd> |
353 reference to the menu to be shown |
351 reference to the menu to be shown |
354 </dd> |
352 </dd> |
355 <dt><i>standardItems</i></dt> |
353 <dt><i>standardItems</i> (list of BrowserItem)</dt> |
356 <dd> |
354 <dd> |
357 array of standard items that |
355 array of standard items that |
358 need activation/deactivation depending on the overall VCS status |
356 need activation/deactivation depending on the overall VCS status |
359 </dd> |
357 </dd> |
360 </dl> |
358 </dl> |
377 It enables/disables the VCS menu entries depending on the overall |
375 It enables/disables the VCS menu entries depending on the overall |
378 VCS status and the directory status. |
376 VCS status and the directory status. |
379 </p> |
377 </p> |
380 <dl> |
378 <dl> |
381 |
379 |
382 <dt><i>menu</i></dt> |
380 <dt><i>menu</i> (QMenu)</dt> |
383 <dd> |
381 <dd> |
384 reference to the menu to be shown |
382 reference to the menu to be shown |
385 </dd> |
383 </dd> |
386 <dt><i>standardItems</i></dt> |
384 <dt><i>standardItems</i> (list of BrowserItem)</dt> |
387 <dd> |
385 <dd> |
388 array of standard items that need |
386 array of standard items that need |
389 activation/deactivation depending on the overall VCS status |
387 activation/deactivation depending on the overall VCS status |
390 </dd> |
388 </dd> |
391 </dl> |
389 </dl> |
409 It enables/disables the VCS menu entries depending on the overall |
407 It enables/disables the VCS menu entries depending on the overall |
410 VCS status and the files status. |
408 VCS status and the files status. |
411 </p> |
409 </p> |
412 <dl> |
410 <dl> |
413 |
411 |
414 <dt><i>menu</i></dt> |
412 <dt><i>menu</i> (QMenu)</dt> |
415 <dd> |
413 <dd> |
416 reference to the menu to be shown |
414 reference to the menu to be shown |
417 </dd> |
415 </dd> |
418 <dt><i>standardItems</i></dt> |
416 <dt><i>standardItems</i> (list of BrowserItem)</dt> |
419 <dd> |
417 <dd> |
420 array of standard items that need |
418 array of standard items that need |
421 activation/deactivation depending on the overall VCS status |
419 activation/deactivation depending on the overall VCS status |
422 </dd> |
420 </dd> |
423 </dl> |
421 </dl> |