53 </table> |
53 </table> |
54 <h3>Methods</h3> |
54 <h3>Methods</h3> |
55 <table> |
55 <table> |
56 <tr> |
56 <tr> |
57 <td><a href="#VcsProjectBrowserHelper.__init__">VcsProjectBrowserHelper</a></td> |
57 <td><a href="#VcsProjectBrowserHelper.__init__">VcsProjectBrowserHelper</a></td> |
58 <td>Constructor</td> |
58 <td>Constructor</td> |
59 </tr><tr> |
59 </tr><tr> |
60 <td><a href="#VcsProjectBrowserHelper._VCSAdd">_VCSAdd</a></td> |
60 <td><a href="#VcsProjectBrowserHelper._VCSAdd">_VCSAdd</a></td> |
61 <td>Protected slot called by the context menu to add the selected file to the VCS repository.</td> |
61 <td>Protected slot called by the context menu to add the selected file to the VCS repository.</td> |
62 </tr><tr> |
62 </tr><tr> |
63 <td><a href="#VcsProjectBrowserHelper._VCSAddTree">_VCSAddTree</a></td> |
63 <td><a href="#VcsProjectBrowserHelper._VCSAddTree">_VCSAddTree</a></td> |
64 <td>Protected slot called by the context menu.</td> |
64 <td>Protected slot called by the context menu.</td> |
65 </tr><tr> |
65 </tr><tr> |
66 <td><a href="#VcsProjectBrowserHelper._VCSCommit">_VCSCommit</a></td> |
66 <td><a href="#VcsProjectBrowserHelper._VCSCommit">_VCSCommit</a></td> |
67 <td>Protected slot called by the context menu to commit the changes to the VCS repository.</td> |
67 <td>Protected slot called by the context menu to commit the changes to the VCS repository.</td> |
68 </tr><tr> |
68 </tr><tr> |
69 <td><a href="#VcsProjectBrowserHelper._VCSDiff">_VCSDiff</a></td> |
69 <td><a href="#VcsProjectBrowserHelper._VCSDiff">_VCSDiff</a></td> |
70 <td>Protected slot called by the context menu to show the difference of a file/directory to the repository.</td> |
70 <td>Protected slot called by the context menu to show the difference of a file/directory to the repository.</td> |
71 </tr><tr> |
71 </tr><tr> |
72 <td><a href="#VcsProjectBrowserHelper._VCSInfoDisplay">_VCSInfoDisplay</a></td> |
72 <td><a href="#VcsProjectBrowserHelper._VCSInfoDisplay">_VCSInfoDisplay</a></td> |
73 <td>Protected slot called to show some vcs information.</td> |
73 <td>Protected slot called to show some vcs information.</td> |
74 </tr><tr> |
74 </tr><tr> |
75 <td><a href="#VcsProjectBrowserHelper._VCSLog">_VCSLog</a></td> |
75 <td><a href="#VcsProjectBrowserHelper._VCSLog">_VCSLog</a></td> |
76 <td>Protected slot called by the context menu to show the VCS log of a file/directory.</td> |
76 <td>Protected slot called by the context menu to show the VCS log of a file/directory.</td> |
77 </tr><tr> |
77 </tr><tr> |
78 <td><a href="#VcsProjectBrowserHelper._VCSMerge">_VCSMerge</a></td> |
78 <td><a href="#VcsProjectBrowserHelper._VCSMerge">_VCSMerge</a></td> |
79 <td>Protected slot called by the context menu to merge changes into to a file.</td> |
79 <td>Protected slot called by the context menu to merge changes into to a file.</td> |
80 </tr><tr> |
80 </tr><tr> |
81 <td><a href="#VcsProjectBrowserHelper._VCSRemove">_VCSRemove</a></td> |
81 <td><a href="#VcsProjectBrowserHelper._VCSRemove">_VCSRemove</a></td> |
82 <td>Protected slot called by the context menu to remove the selected file from the VCS repository.</td> |
82 <td>Protected slot called by the context menu to remove the selected file from the VCS repository.</td> |
83 </tr><tr> |
83 </tr><tr> |
84 <td><a href="#VcsProjectBrowserHelper._VCSRevert">_VCSRevert</a></td> |
84 <td><a href="#VcsProjectBrowserHelper._VCSRevert">_VCSRevert</a></td> |
85 <td>Protected slot called by the context menu to revert changes made to a file.</td> |
85 <td>Protected slot called by the context menu to revert changes made to a file.</td> |
86 </tr><tr> |
86 </tr><tr> |
87 <td><a href="#VcsProjectBrowserHelper._VCSStatus">_VCSStatus</a></td> |
87 <td><a href="#VcsProjectBrowserHelper._VCSStatus">_VCSStatus</a></td> |
88 <td>Protected slot called by the context menu to show the status of a file.</td> |
88 <td>Protected slot called by the context menu to show the status of a file.</td> |
89 </tr><tr> |
89 </tr><tr> |
90 <td><a href="#VcsProjectBrowserHelper._VCSUpdate">_VCSUpdate</a></td> |
90 <td><a href="#VcsProjectBrowserHelper._VCSUpdate">_VCSUpdate</a></td> |
91 <td>Protected slot called by the context menu to update a file from the VCS repository.</td> |
91 <td>Protected slot called by the context menu to update a file from the VCS repository.</td> |
92 </tr><tr> |
92 </tr><tr> |
93 <td><a href="#VcsProjectBrowserHelper._updateVCSStatus">_updateVCSStatus</a></td> |
93 <td><a href="#VcsProjectBrowserHelper._updateVCSStatus">_updateVCSStatus</a></td> |
94 <td>Protected method to update the VCS status of an item.</td> |
94 <td>Protected method to update the VCS status of an item.</td> |
95 </tr><tr> |
95 </tr><tr> |
96 <td><a href="#VcsProjectBrowserHelper.addVCSMenus">addVCSMenus</a></td> |
96 <td><a href="#VcsProjectBrowserHelper.addVCSMenus">addVCSMenus</a></td> |
97 <td>Public method to add the VCS entries to the various project browser menus.</td> |
97 <td>Public method to add the VCS entries to the various project browser menus.</td> |
98 </tr><tr> |
98 </tr><tr> |
99 <td><a href="#VcsProjectBrowserHelper.showContextMenu">showContextMenu</a></td> |
99 <td><a href="#VcsProjectBrowserHelper.showContextMenu">showContextMenu</a></td> |
100 <td>Slot called before the context menu is shown.</td> |
100 <td>Slot called before the context menu is shown.</td> |
101 </tr><tr> |
101 </tr><tr> |
102 <td><a href="#VcsProjectBrowserHelper.showContextMenuDir">showContextMenuDir</a></td> |
102 <td><a href="#VcsProjectBrowserHelper.showContextMenuDir">showContextMenuDir</a></td> |
103 <td>Slot called before the context menu is shown.</td> |
103 <td>Slot called before the context menu is shown.</td> |
104 </tr><tr> |
104 </tr><tr> |
105 <td><a href="#VcsProjectBrowserHelper.showContextMenuDirMulti">showContextMenuDirMulti</a></td> |
105 <td><a href="#VcsProjectBrowserHelper.showContextMenuDirMulti">showContextMenuDirMulti</a></td> |
106 <td>Slot called before the context menu is shown.</td> |
106 <td>Slot called before the context menu is shown.</td> |
107 </tr><tr> |
107 </tr><tr> |
108 <td><a href="#VcsProjectBrowserHelper.showContextMenuMulti">showContextMenuMulti</a></td> |
108 <td><a href="#VcsProjectBrowserHelper.showContextMenuMulti">showContextMenuMulti</a></td> |
109 <td>Slot called before the context menu (multiple selections) is shown.</td> |
109 <td>Slot called before the context menu (multiple selections) is shown.</td> |
110 </tr> |
110 </tr> |
111 </table> |
111 </table> |
112 <a NAME="VcsProjectBrowserHelper.__init__" ID="VcsProjectBrowserHelper.__init__"></a> |
112 <a NAME="VcsProjectBrowserHelper.__init__" ID="VcsProjectBrowserHelper.__init__"></a> |
113 <h4>VcsProjectBrowserHelper (Constructor)</h4> |
113 <h4>VcsProjectBrowserHelper (Constructor)</h4> |
114 <b>VcsProjectBrowserHelper</b>(<i>vcsObject, browserObject, projectObject, isTranslationsBrowser, parent = None, name = None</i>) |
114 <b>VcsProjectBrowserHelper</b>(<i>vcsObject, browserObject, projectObject, isTranslationsBrowser, parent = None, name = None</i>) |
115 <p> |
115 <p> |
116 Constructor |
116 Constructor |
117 </p><dl> |
117 </p><dl> |
118 <dt><i>vcsObject</i></dt> |
118 <dt><i>vcsObject</i></dt> |
119 <dd> |
119 <dd> |
120 reference to the vcs object |
120 reference to the vcs object |
121 </dd><dt><i>browserObject</i></dt> |
121 </dd><dt><i>browserObject</i></dt> |
122 <dd> |
122 <dd> |
123 reference to the project browser object |
123 reference to the project browser object |
124 </dd><dt><i>projectObject</i></dt> |
124 </dd><dt><i>projectObject</i></dt> |
125 <dd> |
125 <dd> |
126 reference to the project object |
126 reference to the project object |
127 </dd><dt><i>isTranslationsBrowser</i></dt> |
127 </dd><dt><i>isTranslationsBrowser</i></dt> |
128 <dd> |
128 <dd> |
129 flag indicating, the helper is requested for the |
129 flag indicating, the helper is requested for the |
130 translations browser (this needs some special treatment) |
130 translations browser (this needs some special treatment) |
131 </dd><dt><i>parent</i></dt> |
131 </dd><dt><i>parent</i></dt> |
132 <dd> |
132 <dd> |
133 parent widget (QWidget) |
133 parent widget (QWidget) |
134 </dd><dt><i>name</i></dt> |
134 </dd><dt><i>name</i></dt> |
135 <dd> |
135 <dd> |
136 name of this object (string) |
136 name of this object (string) |
137 </dd> |
137 </dd> |
138 </dl><a NAME="VcsProjectBrowserHelper._VCSAdd" ID="VcsProjectBrowserHelper._VCSAdd"></a> |
138 </dl><a NAME="VcsProjectBrowserHelper._VCSAdd" ID="VcsProjectBrowserHelper._VCSAdd"></a> |
139 <h4>VcsProjectBrowserHelper._VCSAdd</h4> |
139 <h4>VcsProjectBrowserHelper._VCSAdd</h4> |
140 <b>_VCSAdd</b>(<i></i>) |
140 <b>_VCSAdd</b>(<i></i>) |
141 <p> |
141 <p> |
142 Protected slot called by the context menu to add the selected file to the |
142 Protected slot called by the context menu to add the selected file to the |
143 VCS repository. |
143 VCS repository. |
144 </p><a NAME="VcsProjectBrowserHelper._VCSAddTree" ID="VcsProjectBrowserHelper._VCSAddTree"></a> |
144 </p><a NAME="VcsProjectBrowserHelper._VCSAddTree" ID="VcsProjectBrowserHelper._VCSAddTree"></a> |
145 <h4>VcsProjectBrowserHelper._VCSAddTree</h4> |
145 <h4>VcsProjectBrowserHelper._VCSAddTree</h4> |
146 <b>_VCSAddTree</b>(<i></i>) |
146 <b>_VCSAddTree</b>(<i></i>) |
147 <p> |
147 <p> |
148 Protected slot called by the context menu. |
148 Protected slot called by the context menu. |
149 </p><p> |
149 </p><p> |
150 It is used to add the selected |
150 It is used to add the selected |
151 directory tree to the VCS repository. |
151 directory tree to the VCS repository. |
152 </p><a NAME="VcsProjectBrowserHelper._VCSCommit" ID="VcsProjectBrowserHelper._VCSCommit"></a> |
152 </p><a NAME="VcsProjectBrowserHelper._VCSCommit" ID="VcsProjectBrowserHelper._VCSCommit"></a> |
153 <h4>VcsProjectBrowserHelper._VCSCommit</h4> |
153 <h4>VcsProjectBrowserHelper._VCSCommit</h4> |
154 <b>_VCSCommit</b>(<i></i>) |
154 <b>_VCSCommit</b>(<i></i>) |
155 <p> |
155 <p> |
156 Protected slot called by the context menu to commit the changes to the |
156 Protected slot called by the context menu to commit the changes to the |
157 VCS repository. |
157 VCS repository. |
158 </p><a NAME="VcsProjectBrowserHelper._VCSDiff" ID="VcsProjectBrowserHelper._VCSDiff"></a> |
158 </p><a NAME="VcsProjectBrowserHelper._VCSDiff" ID="VcsProjectBrowserHelper._VCSDiff"></a> |
159 <h4>VcsProjectBrowserHelper._VCSDiff</h4> |
159 <h4>VcsProjectBrowserHelper._VCSDiff</h4> |
160 <b>_VCSDiff</b>(<i></i>) |
160 <b>_VCSDiff</b>(<i></i>) |
161 <p> |
161 <p> |
162 Protected slot called by the context menu to show the difference of a |
162 Protected slot called by the context menu to show the difference of a |
163 file/directory to the repository. |
163 file/directory to the repository. |
164 </p><a NAME="VcsProjectBrowserHelper._VCSInfoDisplay" ID="VcsProjectBrowserHelper._VCSInfoDisplay"></a> |
164 </p><a NAME="VcsProjectBrowserHelper._VCSInfoDisplay" ID="VcsProjectBrowserHelper._VCSInfoDisplay"></a> |
165 <h4>VcsProjectBrowserHelper._VCSInfoDisplay</h4> |
165 <h4>VcsProjectBrowserHelper._VCSInfoDisplay</h4> |
166 <b>_VCSInfoDisplay</b>(<i></i>) |
166 <b>_VCSInfoDisplay</b>(<i></i>) |
167 <p> |
167 <p> |
168 Protected slot called to show some vcs information. |
168 Protected slot called to show some vcs information. |
169 </p><a NAME="VcsProjectBrowserHelper._VCSLog" ID="VcsProjectBrowserHelper._VCSLog"></a> |
169 </p><a NAME="VcsProjectBrowserHelper._VCSLog" ID="VcsProjectBrowserHelper._VCSLog"></a> |
170 <h4>VcsProjectBrowserHelper._VCSLog</h4> |
170 <h4>VcsProjectBrowserHelper._VCSLog</h4> |
171 <b>_VCSLog</b>(<i></i>) |
171 <b>_VCSLog</b>(<i></i>) |
172 <p> |
172 <p> |
173 Protected slot called by the context menu to show the VCS log of a file/directory. |
173 Protected slot called by the context menu to show the VCS log of a file/directory. |
174 </p><a NAME="VcsProjectBrowserHelper._VCSMerge" ID="VcsProjectBrowserHelper._VCSMerge"></a> |
174 </p><a NAME="VcsProjectBrowserHelper._VCSMerge" ID="VcsProjectBrowserHelper._VCSMerge"></a> |
175 <h4>VcsProjectBrowserHelper._VCSMerge</h4> |
175 <h4>VcsProjectBrowserHelper._VCSMerge</h4> |
176 <b>_VCSMerge</b>(<i></i>) |
176 <b>_VCSMerge</b>(<i></i>) |
177 <p> |
177 <p> |
178 Protected slot called by the context menu to merge changes into to a file. |
178 Protected slot called by the context menu to merge changes into to a file. |
179 </p><a NAME="VcsProjectBrowserHelper._VCSRemove" ID="VcsProjectBrowserHelper._VCSRemove"></a> |
179 </p><a NAME="VcsProjectBrowserHelper._VCSRemove" ID="VcsProjectBrowserHelper._VCSRemove"></a> |
180 <h4>VcsProjectBrowserHelper._VCSRemove</h4> |
180 <h4>VcsProjectBrowserHelper._VCSRemove</h4> |
181 <b>_VCSRemove</b>(<i></i>) |
181 <b>_VCSRemove</b>(<i></i>) |
182 <p> |
182 <p> |
183 Protected slot called by the context menu to remove the selected file from the |
183 Protected slot called by the context menu to remove the selected file from the |
184 VCS repository. |
184 VCS repository. |
185 </p><a NAME="VcsProjectBrowserHelper._VCSRevert" ID="VcsProjectBrowserHelper._VCSRevert"></a> |
185 </p><a NAME="VcsProjectBrowserHelper._VCSRevert" ID="VcsProjectBrowserHelper._VCSRevert"></a> |
186 <h4>VcsProjectBrowserHelper._VCSRevert</h4> |
186 <h4>VcsProjectBrowserHelper._VCSRevert</h4> |
187 <b>_VCSRevert</b>(<i></i>) |
187 <b>_VCSRevert</b>(<i></i>) |
188 <p> |
188 <p> |
189 Protected slot called by the context menu to revert changes made to a file. |
189 Protected slot called by the context menu to revert changes made to a file. |
190 </p><a NAME="VcsProjectBrowserHelper._VCSStatus" ID="VcsProjectBrowserHelper._VCSStatus"></a> |
190 </p><a NAME="VcsProjectBrowserHelper._VCSStatus" ID="VcsProjectBrowserHelper._VCSStatus"></a> |
191 <h4>VcsProjectBrowserHelper._VCSStatus</h4> |
191 <h4>VcsProjectBrowserHelper._VCSStatus</h4> |
192 <b>_VCSStatus</b>(<i></i>) |
192 <b>_VCSStatus</b>(<i></i>) |
193 <p> |
193 <p> |
194 Protected slot called by the context menu to show the status of a file. |
194 Protected slot called by the context menu to show the status of a file. |
195 </p><a NAME="VcsProjectBrowserHelper._VCSUpdate" ID="VcsProjectBrowserHelper._VCSUpdate"></a> |
195 </p><a NAME="VcsProjectBrowserHelper._VCSUpdate" ID="VcsProjectBrowserHelper._VCSUpdate"></a> |
196 <h4>VcsProjectBrowserHelper._VCSUpdate</h4> |
196 <h4>VcsProjectBrowserHelper._VCSUpdate</h4> |
197 <b>_VCSUpdate</b>(<i></i>) |
197 <b>_VCSUpdate</b>(<i></i>) |
198 <p> |
198 <p> |
199 Protected slot called by the context menu to update a file from the |
199 Protected slot called by the context menu to update a file from the |
200 VCS repository. |
200 VCS repository. |
201 </p><a NAME="VcsProjectBrowserHelper._updateVCSStatus" ID="VcsProjectBrowserHelper._updateVCSStatus"></a> |
201 </p><a NAME="VcsProjectBrowserHelper._updateVCSStatus" ID="VcsProjectBrowserHelper._updateVCSStatus"></a> |
202 <h4>VcsProjectBrowserHelper._updateVCSStatus</h4> |
202 <h4>VcsProjectBrowserHelper._updateVCSStatus</h4> |
203 <b>_updateVCSStatus</b>(<i>name</i>) |
203 <b>_updateVCSStatus</b>(<i>name</i>) |
204 <p> |
204 <p> |
205 Protected method to update the VCS status of an item. |
205 Protected method to update the VCS status of an item. |
206 </p><dl> |
206 </p><dl> |
207 <dt><i>name</i></dt> |
207 <dt><i>name</i></dt> |
208 <dd> |
208 <dd> |
209 filename or directoryname of the item to be updated (string) |
209 filename or directoryname of the item to be updated (string) |
210 </dd> |
210 </dd> |
211 </dl><a NAME="VcsProjectBrowserHelper.addVCSMenus" ID="VcsProjectBrowserHelper.addVCSMenus"></a> |
211 </dl><a NAME="VcsProjectBrowserHelper.addVCSMenus" ID="VcsProjectBrowserHelper.addVCSMenus"></a> |
212 <h4>VcsProjectBrowserHelper.addVCSMenus</h4> |
212 <h4>VcsProjectBrowserHelper.addVCSMenus</h4> |
213 <b>addVCSMenus</b>(<i>mainMenu, multiMenu, backMenu, dirMenu, dirMultiMenu</i>) |
213 <b>addVCSMenus</b>(<i>mainMenu, multiMenu, backMenu, dirMenu, dirMultiMenu</i>) |
214 <p> |
214 <p> |
215 Public method to add the VCS entries to the various project browser menus. |
215 Public method to add the VCS entries to the various project browser menus. |
216 </p><dl> |
216 </p><dl> |
217 <dt><i>mainMenu</i></dt> |
217 <dt><i>mainMenu</i></dt> |
218 <dd> |
218 <dd> |
219 reference to the main menu (QPopupMenu) |
219 reference to the main menu (QPopupMenu) |
220 </dd><dt><i>multiMenu</i></dt> |
220 </dd><dt><i>multiMenu</i></dt> |
221 <dd> |
221 <dd> |
222 reference to the multiple selection menu (QPopupMenu) |
222 reference to the multiple selection menu (QPopupMenu) |
223 </dd><dt><i>backMenu</i></dt> |
223 </dd><dt><i>backMenu</i></dt> |
224 <dd> |
224 <dd> |
225 reference to the background menu (QPopupMenu) |
225 reference to the background menu (QPopupMenu) |
226 </dd><dt><i>dirMenu</i></dt> |
226 </dd><dt><i>dirMenu</i></dt> |
227 <dd> |
227 <dd> |
228 reference to the directory menu (QPopupMenu) |
228 reference to the directory menu (QPopupMenu) |
229 </dd><dt><i>dirMultiMenu</i></dt> |
229 </dd><dt><i>dirMultiMenu</i></dt> |
230 <dd> |
230 <dd> |
231 reference to the multiple selection directory |
231 reference to the multiple selection directory |
232 menu (QPopupMenu) |
232 menu (QPopupMenu) |
233 </dd> |
233 </dd> |
234 </dl><a NAME="VcsProjectBrowserHelper.showContextMenu" ID="VcsProjectBrowserHelper.showContextMenu"></a> |
234 </dl><a NAME="VcsProjectBrowserHelper.showContextMenu" ID="VcsProjectBrowserHelper.showContextMenu"></a> |
235 <h4>VcsProjectBrowserHelper.showContextMenu</h4> |
235 <h4>VcsProjectBrowserHelper.showContextMenu</h4> |
236 <b>showContextMenu</b>(<i>menu, standardItems</i>) |
236 <b>showContextMenu</b>(<i>menu, standardItems</i>) |
237 <p> |
237 <p> |
238 Slot called before the context menu is shown. |
238 Slot called before the context menu is shown. |
239 </p><p> |
239 </p><p> |
240 It enables/disables the VCS menu entries depending on the overall |
240 It enables/disables the VCS menu entries depending on the overall |
241 VCS status and the file status. |
241 VCS status and the file status. |
242 </p><dl> |
242 </p><dl> |
243 <dt><i>menu</i></dt> |
243 <dt><i>menu</i></dt> |
244 <dd> |
244 <dd> |
245 reference to the menu to be shown |
245 reference to the menu to be shown |
246 </dd><dt><i>standardItems</i></dt> |
246 </dd><dt><i>standardItems</i></dt> |
247 <dd> |
247 <dd> |
248 array of standard items that need activation/deactivation |
248 array of standard items that need activation/deactivation |
249 depending on the overall VCS status |
249 depending on the overall VCS status |
250 </dd> |
250 </dd> |
251 </dl><a NAME="VcsProjectBrowserHelper.showContextMenuDir" ID="VcsProjectBrowserHelper.showContextMenuDir"></a> |
251 </dl><a NAME="VcsProjectBrowserHelper.showContextMenuDir" ID="VcsProjectBrowserHelper.showContextMenuDir"></a> |
252 <h4>VcsProjectBrowserHelper.showContextMenuDir</h4> |
252 <h4>VcsProjectBrowserHelper.showContextMenuDir</h4> |
253 <b>showContextMenuDir</b>(<i>menu, standardItems</i>) |
253 <b>showContextMenuDir</b>(<i>menu, standardItems</i>) |
254 <p> |
254 <p> |
255 Slot called before the context menu is shown. |
255 Slot called before the context menu is shown. |
256 </p><p> |
256 </p><p> |
257 It enables/disables the VCS menu entries depending on the overall |
257 It enables/disables the VCS menu entries depending on the overall |
258 VCS status and the directory status. |
258 VCS status and the directory status. |
259 </p><dl> |
259 </p><dl> |
260 <dt><i>menu</i></dt> |
260 <dt><i>menu</i></dt> |
261 <dd> |
261 <dd> |
262 reference to the menu to be shown |
262 reference to the menu to be shown |
263 </dd><dt><i>standardItems</i></dt> |
263 </dd><dt><i>standardItems</i></dt> |
264 <dd> |
264 <dd> |
265 array of standard items that need activation/deactivation |
265 array of standard items that need activation/deactivation |
266 depending on the overall VCS status |
266 depending on the overall VCS status |
267 </dd> |
267 </dd> |
268 </dl><a NAME="VcsProjectBrowserHelper.showContextMenuDirMulti" ID="VcsProjectBrowserHelper.showContextMenuDirMulti"></a> |
268 </dl><a NAME="VcsProjectBrowserHelper.showContextMenuDirMulti" ID="VcsProjectBrowserHelper.showContextMenuDirMulti"></a> |
269 <h4>VcsProjectBrowserHelper.showContextMenuDirMulti</h4> |
269 <h4>VcsProjectBrowserHelper.showContextMenuDirMulti</h4> |
270 <b>showContextMenuDirMulti</b>(<i>menu, standardItems</i>) |
270 <b>showContextMenuDirMulti</b>(<i>menu, standardItems</i>) |
271 <p> |
271 <p> |
272 Slot called before the context menu is shown. |
272 Slot called before the context menu is shown. |
273 </p><p> |
273 </p><p> |
274 It enables/disables the VCS menu entries depending on the overall |
274 It enables/disables the VCS menu entries depending on the overall |
275 VCS status and the directory status. |
275 VCS status and the directory status. |
276 </p><dl> |
276 </p><dl> |
277 <dt><i>menu</i></dt> |
277 <dt><i>menu</i></dt> |
278 <dd> |
278 <dd> |
279 reference to the menu to be shown |
279 reference to the menu to be shown |
280 </dd><dt><i>standardItems</i></dt> |
280 </dd><dt><i>standardItems</i></dt> |
281 <dd> |
281 <dd> |
282 array of standard items that need activation/deactivation |
282 array of standard items that need activation/deactivation |
283 depending on the overall VCS status |
283 depending on the overall VCS status |
284 </dd> |
284 </dd> |
285 </dl><a NAME="VcsProjectBrowserHelper.showContextMenuMulti" ID="VcsProjectBrowserHelper.showContextMenuMulti"></a> |
285 </dl><a NAME="VcsProjectBrowserHelper.showContextMenuMulti" ID="VcsProjectBrowserHelper.showContextMenuMulti"></a> |
286 <h4>VcsProjectBrowserHelper.showContextMenuMulti</h4> |
286 <h4>VcsProjectBrowserHelper.showContextMenuMulti</h4> |
287 <b>showContextMenuMulti</b>(<i>menu, standardItems</i>) |
287 <b>showContextMenuMulti</b>(<i>menu, standardItems</i>) |
288 <p> |
288 <p> |
289 Slot called before the context menu (multiple selections) is shown. |
289 Slot called before the context menu (multiple selections) is shown. |
290 </p><p> |
290 </p><p> |
291 It enables/disables the VCS menu entries depending on the overall |
291 It enables/disables the VCS menu entries depending on the overall |
292 VCS status and the files status. |
292 VCS status and the files status. |
293 </p><dl> |
293 </p><dl> |
294 <dt><i>menu</i></dt> |
294 <dt><i>menu</i></dt> |
295 <dd> |
295 <dd> |
296 reference to the menu to be shown |
296 reference to the menu to be shown |
297 </dd><dt><i>standardItems</i></dt> |
297 </dd><dt><i>standardItems</i></dt> |
298 <dd> |
298 <dd> |
299 array of standard items that need activation/deactivation |
299 array of standard items that need activation/deactivation |
300 depending on the overall VCS status |
300 depending on the overall VCS status |
301 </dd> |
301 </dd> |
302 </dl> |
302 </dl> |
303 <div align="right"><a href="#top">Up</a></div> |
303 <div align="right"><a href="#top">Up</a></div> |
304 <hr /> |
304 <hr /> |
305 </body></html> |
305 </body></html> |