--- a/Documentation/Source/eric6.Plugins.VcsPlugins.vcsMercurial.HgStatusDialog.html Mon Feb 13 19:08:26 2017 +0100 +++ b/Documentation/Source/eric6.Plugins.VcsPlugins.vcsMercurial.HgStatusDialog.html Tue Feb 14 19:57:58 2017 +0100 @@ -62,8 +62,8 @@ <td><a href="#HgStatusDialog.__init__">HgStatusDialog</a></td> <td>Constructor</td> </tr><tr> -<td><a href="#HgStatusDialog.__activeExtensionsChanged">__activeExtensionsChanged</a></td> -<td>Private slot handling a change in the activated extensions.</td> +<td><a href="#HgStatusDialog.__actionsMenuHovered">__actionsMenuHovered</a></td> +<td>Private slot to show the tooltip for an action menu entry.</td> </tr><tr> <td><a href="#HgStatusDialog.__add">__add</a></td> <td>Private slot to handle the Add context menu entry.</td> @@ -104,6 +104,9 @@ <td><a href="#HgStatusDialog.__getCommitableItems">__getCommitableItems</a></td> <td>Private method to retrieve all entries the user wants to commit.</td> </tr><tr> +<td><a href="#HgStatusDialog.__getCommitableUnselectedItems">__getCommitableUnselectedItems</a></td> +<td>Private method to retrieve all entries the user may commit but hasn't selected.</td> +</tr><tr> <td><a href="#HgStatusDialog.__getMissingItems">__getMissingItems</a></td> <td>Private method to retrieve all entries, that have a missing status.</td> </tr><tr> @@ -113,6 +116,9 @@ <td><a href="#HgStatusDialog.__getUnversionedItems">__getUnversionedItems</a></td> <td>Private method to retrieve all entries, that have an unversioned status.</td> </tr><tr> +<td><a href="#HgStatusDialog.__initActionsMenu">__initActionsMenu</a></td> +<td>Private method to initialize the actions menu.</td> +</tr><tr> <td><a href="#HgStatusDialog.__lfAdd">__lfAdd</a></td> <td>Private slot to add a file to the repository.</td> </tr><tr> @@ -146,42 +152,21 @@ <td><a href="#HgStatusDialog.__sbsDiff">__sbsDiff</a></td> <td>Private slot to handle the Diff context menu entry.</td> </tr><tr> -<td><a href="#HgStatusDialog.__showAddMenu">__showAddMenu</a></td> -<td>Private slot to prepare the Add button menu before it is shown.</td> -</tr><tr> -<td><a href="#HgStatusDialog.__showContextMenu">__showContextMenu</a></td> -<td>Private slot to show the context menu of the status list.</td> +<td><a href="#HgStatusDialog.__showActionsMenu">__showActionsMenu</a></td> +<td>Private slot to prepare the actions button menu before it is shown.</td> </tr><tr> <td><a href="#HgStatusDialog.__showError">__showError</a></td> <td>Private slot to show some error.</td> </tr><tr> -<td><a href="#HgStatusDialog.__updateButtons">__updateButtons</a></td> -<td>Private method to update the VCS buttons status.</td> -</tr><tr> -<td><a href="#HgStatusDialog.__updateCommitButton">__updateCommitButton</a></td> -<td>Private method to update the Commit button status.</td> -</tr><tr> <td><a href="#HgStatusDialog.closeEvent">closeEvent</a></td> <td>Protected slot implementing a close event handler.</td> </tr><tr> <td><a href="#HgStatusDialog.keyPressEvent">keyPressEvent</a></td> <td>Protected slot to handle a key press event.</td> </tr><tr> -<td><a href="#HgStatusDialog.on_addButton_clicked">on_addButton_clicked</a></td> -<td>Private slot to handle the press of the Add button.</td> -</tr><tr> <td><a href="#HgStatusDialog.on_buttonBox_clicked">on_buttonBox_clicked</a></td> <td>Private slot called by a button of the button box clicked.</td> </tr><tr> -<td><a href="#HgStatusDialog.on_commitButton_clicked">on_commitButton_clicked</a></td> -<td>Private slot to handle the press of the Commit button.</td> -</tr><tr> -<td><a href="#HgStatusDialog.on_diffButton_clicked">on_diffButton_clicked</a></td> -<td>Private slot to handle the press of the Differences button.</td> -</tr><tr> -<td><a href="#HgStatusDialog.on_forgetButton_clicked">on_forgetButton_clicked</a></td> -<td>Private slot to handle the press of the Forget button.</td> -</tr><tr> <td><a href="#HgStatusDialog.on_input_returnPressed">on_input_returnPressed</a></td> <td>Private slot to handle the press of the return key in the input field.</td> </tr><tr> @@ -191,24 +176,12 @@ <td><a href="#HgStatusDialog.on_refreshButton_clicked">on_refreshButton_clicked</a></td> <td>Private slot to refresh the status display.</td> </tr><tr> -<td><a href="#HgStatusDialog.on_restoreButton_clicked">on_restoreButton_clicked</a></td> -<td>Private slot to handle the press of the Restore button.</td> -</tr><tr> -<td><a href="#HgStatusDialog.on_revertButton_clicked">on_revertButton_clicked</a></td> -<td>Private slot to handle the press of the Revert button.</td> -</tr><tr> -<td><a href="#HgStatusDialog.on_sbsDiffButton_clicked">on_sbsDiffButton_clicked</a></td> -<td>Private slot to handle the press of the Side-by-Side Diff button.</td> -</tr><tr> <td><a href="#HgStatusDialog.on_sendButton_clicked">on_sendButton_clicked</a></td> <td>Private slot to send the input to the subversion process.</td> </tr><tr> <td><a href="#HgStatusDialog.on_statusFilterCombo_activated">on_statusFilterCombo_activated</a></td> <td>Private slot to react to the selection of a status filter.</td> </tr><tr> -<td><a href="#HgStatusDialog.on_statusList_itemChanged">on_statusList_itemChanged</a></td> -<td>Private slot to act upon item changes.</td> -</tr><tr> <td><a href="#HgStatusDialog.on_statusList_itemSelectionChanged">on_statusList_itemSelectionChanged</a></td> <td>Private slot to act upon changes of selected items.</td> </tr><tr> @@ -239,12 +212,17 @@ <dd> parent widget (QWidget) </dd> -</dl><a NAME="HgStatusDialog.__activeExtensionsChanged" ID="HgStatusDialog.__activeExtensionsChanged"></a> -<h4>HgStatusDialog.__activeExtensionsChanged</h4> -<b>__activeExtensionsChanged</b>(<i></i>) +</dl><a NAME="HgStatusDialog.__actionsMenuHovered" ID="HgStatusDialog.__actionsMenuHovered"></a> +<h4>HgStatusDialog.__actionsMenuHovered</h4> +<b>__actionsMenuHovered</b>(<i>action</i>) <p> - Private slot handling a change in the activated extensions. -</p><a NAME="HgStatusDialog.__add" ID="HgStatusDialog.__add"></a> + Private slot to show the tooltip for an action menu entry. +</p><dl> +<dt><i>action</i> (QAction)</dt> +<dd> +action to show tooltip for +</dd> +</dl><a NAME="HgStatusDialog.__add" ID="HgStatusDialog.__add"></a> <h4>HgStatusDialog.__add</h4> <b>__add</b>(<i></i>) <p> @@ -328,6 +306,17 @@ <dd> list of all items, the user has checked </dd> +</dl><a NAME="HgStatusDialog.__getCommitableUnselectedItems" ID="HgStatusDialog.__getCommitableUnselectedItems"></a> +<h4>HgStatusDialog.__getCommitableUnselectedItems</h4> +<b>__getCommitableUnselectedItems</b>(<i></i>) +<p> + Private method to retrieve all entries the user may commit but hasn't + selected. +</p><dl> +<dt>Returns:</dt> +<dd> +list of all items, the user has checked +</dd> </dl><a NAME="HgStatusDialog.__getMissingItems" ID="HgStatusDialog.__getMissingItems"></a> <h4>HgStatusDialog.__getMissingItems</h4> <b>__getMissingItems</b>(<i></i>) @@ -359,7 +348,12 @@ <dd> list of all items with an unversioned status </dd> -</dl><a NAME="HgStatusDialog.__lfAdd" ID="HgStatusDialog.__lfAdd"></a> +</dl><a NAME="HgStatusDialog.__initActionsMenu" ID="HgStatusDialog.__initActionsMenu"></a> +<h4>HgStatusDialog.__initActionsMenu</h4> +<b>__initActionsMenu</b>(<i></i>) +<p> + Private method to initialize the actions menu. +</p><a NAME="HgStatusDialog.__lfAdd" ID="HgStatusDialog.__lfAdd"></a> <h4>HgStatusDialog.__lfAdd</h4> <b>__lfAdd</b>(<i>mode</i>) <p> @@ -438,22 +432,12 @@ <b>__sbsDiff</b>(<i></i>) <p> Private slot to handle the Diff context menu entry. -</p><a NAME="HgStatusDialog.__showAddMenu" ID="HgStatusDialog.__showAddMenu"></a> -<h4>HgStatusDialog.__showAddMenu</h4> -<b>__showAddMenu</b>(<i></i>) +</p><a NAME="HgStatusDialog.__showActionsMenu" ID="HgStatusDialog.__showActionsMenu"></a> +<h4>HgStatusDialog.__showActionsMenu</h4> +<b>__showActionsMenu</b>(<i></i>) <p> - Private slot to prepare the Add button menu before it is shown. -</p><a NAME="HgStatusDialog.__showContextMenu" ID="HgStatusDialog.__showContextMenu"></a> -<h4>HgStatusDialog.__showContextMenu</h4> -<b>__showContextMenu</b>(<i>coord</i>) -<p> - Private slot to show the context menu of the status list. -</p><dl> -<dt><i>coord</i></dt> -<dd> -the position of the mouse pointer (QPoint) -</dd> -</dl><a NAME="HgStatusDialog.__showError" ID="HgStatusDialog.__showError"></a> + Private slot to prepare the actions button menu before it is shown. +</p><a NAME="HgStatusDialog.__showError" ID="HgStatusDialog.__showError"></a> <h4>HgStatusDialog.__showError</h4> <b>__showError</b>(<i>out</i>) <p> @@ -463,17 +447,7 @@ <dd> error to be shown (string) </dd> -</dl><a NAME="HgStatusDialog.__updateButtons" ID="HgStatusDialog.__updateButtons"></a> -<h4>HgStatusDialog.__updateButtons</h4> -<b>__updateButtons</b>(<i></i>) -<p> - Private method to update the VCS buttons status. -</p><a NAME="HgStatusDialog.__updateCommitButton" ID="HgStatusDialog.__updateCommitButton"></a> -<h4>HgStatusDialog.__updateCommitButton</h4> -<b>__updateCommitButton</b>(<i></i>) -<p> - Private method to update the Commit button status. -</p><a NAME="HgStatusDialog.closeEvent" ID="HgStatusDialog.closeEvent"></a> +</dl><a NAME="HgStatusDialog.closeEvent" ID="HgStatusDialog.closeEvent"></a> <h4>HgStatusDialog.closeEvent</h4> <b>closeEvent</b>(<i>e</i>) <p> @@ -493,12 +467,7 @@ <dd> the key press event (QKeyEvent) </dd> -</dl><a NAME="HgStatusDialog.on_addButton_clicked" ID="HgStatusDialog.on_addButton_clicked"></a> -<h4>HgStatusDialog.on_addButton_clicked</h4> -<b>on_addButton_clicked</b>(<i></i>) -<p> - Private slot to handle the press of the Add button. -</p><a NAME="HgStatusDialog.on_buttonBox_clicked" ID="HgStatusDialog.on_buttonBox_clicked"></a> +</dl><a NAME="HgStatusDialog.on_buttonBox_clicked" ID="HgStatusDialog.on_buttonBox_clicked"></a> <h4>HgStatusDialog.on_buttonBox_clicked</h4> <b>on_buttonBox_clicked</b>(<i>button</i>) <p> @@ -508,22 +477,7 @@ <dd> button that was clicked (QAbstractButton) </dd> -</dl><a NAME="HgStatusDialog.on_commitButton_clicked" ID="HgStatusDialog.on_commitButton_clicked"></a> -<h4>HgStatusDialog.on_commitButton_clicked</h4> -<b>on_commitButton_clicked</b>(<i></i>) -<p> - Private slot to handle the press of the Commit button. -</p><a NAME="HgStatusDialog.on_diffButton_clicked" ID="HgStatusDialog.on_diffButton_clicked"></a> -<h4>HgStatusDialog.on_diffButton_clicked</h4> -<b>on_diffButton_clicked</b>(<i></i>) -<p> - Private slot to handle the press of the Differences button. -</p><a NAME="HgStatusDialog.on_forgetButton_clicked" ID="HgStatusDialog.on_forgetButton_clicked"></a> -<h4>HgStatusDialog.on_forgetButton_clicked</h4> -<b>on_forgetButton_clicked</b>(<i></i>) -<p> - Private slot to handle the press of the Forget button. -</p><a NAME="HgStatusDialog.on_input_returnPressed" ID="HgStatusDialog.on_input_returnPressed"></a> +</dl><a NAME="HgStatusDialog.on_input_returnPressed" ID="HgStatusDialog.on_input_returnPressed"></a> <h4>HgStatusDialog.on_input_returnPressed</h4> <b>on_input_returnPressed</b>(<i></i>) <p> @@ -543,21 +497,6 @@ <b>on_refreshButton_clicked</b>(<i></i>) <p> Private slot to refresh the status display. -</p><a NAME="HgStatusDialog.on_restoreButton_clicked" ID="HgStatusDialog.on_restoreButton_clicked"></a> -<h4>HgStatusDialog.on_restoreButton_clicked</h4> -<b>on_restoreButton_clicked</b>(<i></i>) -<p> - Private slot to handle the press of the Restore button. -</p><a NAME="HgStatusDialog.on_revertButton_clicked" ID="HgStatusDialog.on_revertButton_clicked"></a> -<h4>HgStatusDialog.on_revertButton_clicked</h4> -<b>on_revertButton_clicked</b>(<i></i>) -<p> - Private slot to handle the press of the Revert button. -</p><a NAME="HgStatusDialog.on_sbsDiffButton_clicked" ID="HgStatusDialog.on_sbsDiffButton_clicked"></a> -<h4>HgStatusDialog.on_sbsDiffButton_clicked</h4> -<b>on_sbsDiffButton_clicked</b>(<i></i>) -<p> - Private slot to handle the press of the Side-by-Side Diff button. </p><a NAME="HgStatusDialog.on_sendButton_clicked" ID="HgStatusDialog.on_sendButton_clicked"></a> <h4>HgStatusDialog.on_sendButton_clicked</h4> <b>on_sendButton_clicked</b>(<i></i>) @@ -573,19 +512,6 @@ <dd> selected status filter (string) </dd> -</dl><a NAME="HgStatusDialog.on_statusList_itemChanged" ID="HgStatusDialog.on_statusList_itemChanged"></a> -<h4>HgStatusDialog.on_statusList_itemChanged</h4> -<b>on_statusList_itemChanged</b>(<i>item, column</i>) -<p> - Private slot to act upon item changes. -</p><dl> -<dt><i>item</i></dt> -<dd> -reference to the changed item (QTreeWidgetItem) -</dd><dt><i>column</i></dt> -<dd> -index of column that changed (integer) -</dd> </dl><a NAME="HgStatusDialog.on_statusList_itemSelectionChanged" ID="HgStatusDialog.on_statusList_itemSelectionChanged"></a> <h4>HgStatusDialog.on_statusList_itemSelectionChanged</h4> <b>on_statusList_itemSelectionChanged</b>(<i></i>)