Documentation/Source/eric5.VCS.ProjectBrowserHelper.html

changeset 3018
70924c0bdaf1
parent 2966
f85f686981ad
child 3349
2a034a7f1f54
equal deleted inserted replaced
3017:6a8cb7632448 3018:70924c0bdaf1
131 </dd><dt><i>projectObject</i></dt> 131 </dd><dt><i>projectObject</i></dt>
132 <dd> 132 <dd>
133 reference to the project object 133 reference to the project object
134 </dd><dt><i>isTranslationsBrowser</i></dt> 134 </dd><dt><i>isTranslationsBrowser</i></dt>
135 <dd> 135 <dd>
136 flag indicating, the helper is requested for the 136 flag indicating, the helper is requested
137 translations browser (this needs some special treatment) 137 for the translations browser (this needs some special treatment)
138 </dd><dt><i>parent</i></dt> 138 </dd><dt><i>parent</i></dt>
139 <dd> 139 <dd>
140 parent widget (QWidget) 140 parent widget (QWidget)
141 </dd><dt><i>name</i></dt> 141 </dd><dt><i>name</i></dt>
142 <dd> 142 <dd>
144 </dd> 144 </dd>
145 </dl><a NAME="VcsProjectBrowserHelper._VCSAdd" ID="VcsProjectBrowserHelper._VCSAdd"></a> 145 </dl><a NAME="VcsProjectBrowserHelper._VCSAdd" ID="VcsProjectBrowserHelper._VCSAdd"></a>
146 <h4>VcsProjectBrowserHelper._VCSAdd</h4> 146 <h4>VcsProjectBrowserHelper._VCSAdd</h4>
147 <b>_VCSAdd</b>(<i></i>) 147 <b>_VCSAdd</b>(<i></i>)
148 <p> 148 <p>
149 Protected slot called by the context menu to add the selected file to the 149 Protected slot called by the context menu to add the selected file to
150 VCS repository. 150 the VCS repository.
151 </p><a NAME="VcsProjectBrowserHelper._VCSAddTree" ID="VcsProjectBrowserHelper._VCSAddTree"></a> 151 </p><a NAME="VcsProjectBrowserHelper._VCSAddTree" ID="VcsProjectBrowserHelper._VCSAddTree"></a>
152 <h4>VcsProjectBrowserHelper._VCSAddTree</h4> 152 <h4>VcsProjectBrowserHelper._VCSAddTree</h4>
153 <b>_VCSAddTree</b>(<i></i>) 153 <b>_VCSAddTree</b>(<i></i>)
154 <p> 154 <p>
155 Protected slot called by the context menu. 155 Protected slot called by the context menu.
175 Protected slot called to show some vcs information. 175 Protected slot called to show some vcs information.
176 </p><a NAME="VcsProjectBrowserHelper._VCSLog" ID="VcsProjectBrowserHelper._VCSLog"></a> 176 </p><a NAME="VcsProjectBrowserHelper._VCSLog" ID="VcsProjectBrowserHelper._VCSLog"></a>
177 <h4>VcsProjectBrowserHelper._VCSLog</h4> 177 <h4>VcsProjectBrowserHelper._VCSLog</h4>
178 <b>_VCSLog</b>(<i></i>) 178 <b>_VCSLog</b>(<i></i>)
179 <p> 179 <p>
180 Protected slot called by the context menu to show the VCS log of a file/directory. 180 Protected slot called by the context menu to show the VCS log of a
181 file/directory.
181 </p><a NAME="VcsProjectBrowserHelper._VCSMerge" ID="VcsProjectBrowserHelper._VCSMerge"></a> 182 </p><a NAME="VcsProjectBrowserHelper._VCSMerge" ID="VcsProjectBrowserHelper._VCSMerge"></a>
182 <h4>VcsProjectBrowserHelper._VCSMerge</h4> 183 <h4>VcsProjectBrowserHelper._VCSMerge</h4>
183 <b>_VCSMerge</b>(<i></i>) 184 <b>_VCSMerge</b>(<i></i>)
184 <p> 185 <p>
185 Protected slot called by the context menu to merge changes into to a file. 186 Protected slot called by the context menu to merge changes into to a
187 file.
186 </p><a NAME="VcsProjectBrowserHelper._VCSRemove" ID="VcsProjectBrowserHelper._VCSRemove"></a> 188 </p><a NAME="VcsProjectBrowserHelper._VCSRemove" ID="VcsProjectBrowserHelper._VCSRemove"></a>
187 <h4>VcsProjectBrowserHelper._VCSRemove</h4> 189 <h4>VcsProjectBrowserHelper._VCSRemove</h4>
188 <b>_VCSRemove</b>(<i></i>) 190 <b>_VCSRemove</b>(<i></i>)
189 <p> 191 <p>
190 Protected slot called by the context menu to remove the selected file from the 192 Protected slot called by the context menu to remove the selected file
191 VCS repository. 193 from the VCS repository.
192 </p><a NAME="VcsProjectBrowserHelper._VCSRevert" ID="VcsProjectBrowserHelper._VCSRevert"></a> 194 </p><a NAME="VcsProjectBrowserHelper._VCSRevert" ID="VcsProjectBrowserHelper._VCSRevert"></a>
193 <h4>VcsProjectBrowserHelper._VCSRevert</h4> 195 <h4>VcsProjectBrowserHelper._VCSRevert</h4>
194 <b>_VCSRevert</b>(<i></i>) 196 <b>_VCSRevert</b>(<i></i>)
195 <p> 197 <p>
196 Protected slot called by the context menu to revert changes made to a file. 198 Protected slot called by the context menu to revert changes made to a
199 file.
197 </p><a NAME="VcsProjectBrowserHelper._VCSStatus" ID="VcsProjectBrowserHelper._VCSStatus"></a> 200 </p><a NAME="VcsProjectBrowserHelper._VCSStatus" ID="VcsProjectBrowserHelper._VCSStatus"></a>
198 <h4>VcsProjectBrowserHelper._VCSStatus</h4> 201 <h4>VcsProjectBrowserHelper._VCSStatus</h4>
199 <b>_VCSStatus</b>(<i></i>) 202 <b>_VCSStatus</b>(<i></i>)
200 <p> 203 <p>
201 Protected slot called by the context menu to show the status of a file. 204 Protected slot called by the context menu to show the status of a file.
211 <p> 214 <p>
212 Protected method to update the VCS status of an item. 215 Protected method to update the VCS status of an item.
213 </p><dl> 216 </p><dl>
214 <dt><i>name</i></dt> 217 <dt><i>name</i></dt>
215 <dd> 218 <dd>
216 filename or directoryname of the item to be updated (string) 219 filename or directoryname of the item to be updated
220 (string)
217 </dd> 221 </dd>
218 </dl><a NAME="VcsProjectBrowserHelper.addVCSMenus" ID="VcsProjectBrowserHelper.addVCSMenus"></a> 222 </dl><a NAME="VcsProjectBrowserHelper.addVCSMenus" ID="VcsProjectBrowserHelper.addVCSMenus"></a>
219 <h4>VcsProjectBrowserHelper.addVCSMenus</h4> 223 <h4>VcsProjectBrowserHelper.addVCSMenus</h4>
220 <b>addVCSMenus</b>(<i>mainMenu, multiMenu, backMenu, dirMenu, dirMultiMenu</i>) 224 <b>addVCSMenus</b>(<i>mainMenu, multiMenu, backMenu, dirMenu, dirMultiMenu</i>)
221 <p> 225 <p>
222 Public method to add the VCS entries to the various project browser menus. 226 Public method to add the VCS entries to the various project browser
227 menus.
223 </p><dl> 228 </p><dl>
224 <dt><i>mainMenu</i></dt> 229 <dt><i>mainMenu</i></dt>
225 <dd> 230 <dd>
226 reference to the main menu (QPopupMenu) 231 reference to the main menu (QPopupMenu)
227 </dd><dt><i>multiMenu</i></dt> 232 </dd><dt><i>multiMenu</i></dt>
250 <dt><i>menu</i></dt> 255 <dt><i>menu</i></dt>
251 <dd> 256 <dd>
252 reference to the menu to be shown 257 reference to the menu to be shown
253 </dd><dt><i>standardItems</i></dt> 258 </dd><dt><i>standardItems</i></dt>
254 <dd> 259 <dd>
255 array of standard items that need activation/deactivation 260 array of standard items that need
256 depending on the overall VCS status 261 activation/deactivation depending on the overall VCS status
257 </dd> 262 </dd>
258 </dl><dl> 263 </dl><dl>
259 <dt>Raises <b>RuntimeError</b>:</dt> 264 <dt>Raises <b>RuntimeError</b>:</dt>
260 <dd> 265 <dd>
261 to indicate that this method must be 266 to indicate that this method must be
273 <dt><i>menu</i></dt> 278 <dt><i>menu</i></dt>
274 <dd> 279 <dd>
275 reference to the menu to be shown 280 reference to the menu to be shown
276 </dd><dt><i>standardItems</i></dt> 281 </dd><dt><i>standardItems</i></dt>
277 <dd> 282 <dd>
278 array of standard items that need activation/deactivation 283 array of standard items that
279 depending on the overall VCS status 284 need activation/deactivation depending on the overall VCS status
280 </dd> 285 </dd>
281 </dl><dl> 286 </dl><dl>
282 <dt>Raises <b>RuntimeError</b>:</dt> 287 <dt>Raises <b>RuntimeError</b>:</dt>
283 <dd> 288 <dd>
284 to indicate that this method must be 289 to indicate that this method must be
296 <dt><i>menu</i></dt> 301 <dt><i>menu</i></dt>
297 <dd> 302 <dd>
298 reference to the menu to be shown 303 reference to the menu to be shown
299 </dd><dt><i>standardItems</i></dt> 304 </dd><dt><i>standardItems</i></dt>
300 <dd> 305 <dd>
301 array of standard items that need activation/deactivation 306 array of standard items that need
302 depending on the overall VCS status 307 activation/deactivation depending on the overall VCS status
303 </dd> 308 </dd>
304 </dl><dl> 309 </dl><dl>
305 <dt>Raises <b>RuntimeError</b>:</dt> 310 <dt>Raises <b>RuntimeError</b>:</dt>
306 <dd> 311 <dd>
307 to indicate that this method must be 312 to indicate that this method must be
319 <dt><i>menu</i></dt> 324 <dt><i>menu</i></dt>
320 <dd> 325 <dd>
321 reference to the menu to be shown 326 reference to the menu to be shown
322 </dd><dt><i>standardItems</i></dt> 327 </dd><dt><i>standardItems</i></dt>
323 <dd> 328 <dd>
324 array of standard items that need activation/deactivation 329 array of standard items that need
325 depending on the overall VCS status 330 activation/deactivation depending on the overall VCS status
326 </dd> 331 </dd>
327 </dl><dl> 332 </dl><dl>
328 <dt>Raises <b>RuntimeError</b>:</dt> 333 <dt>Raises <b>RuntimeError</b>:</dt>
329 <dd> 334 <dd>
330 to indicate that this method must be 335 to indicate that this method must be

eric ide

mercurial