Sun, 18 May 2014 14:13:09 +0200
Corrected a bunch of source docu issues.
<!DOCTYPE html> <html><head> <title>eric5.Plugins.VcsPlugins.vcsMercurial.HgLogBrowserDialog</title> <meta charset="UTF-8"> <style> body { background: #EDECE6; margin: 0em 1em 10em 1em; color: black; } h1 { color: white; background: #85774A; } h2 { color: white; background: #85774A; } h3 { color: white; background: #9D936E; } h4 { color: white; background: #9D936E; } a { color: #BA6D36; } </style> </head> <body><a NAME="top" ID="top"></a> <h1>eric5.Plugins.VcsPlugins.vcsMercurial.HgLogBrowserDialog</h1> <p> Module implementing a dialog to browse the log history. </p> <h3>Global Attributes</h3> <table> <tr><td>COLORNAMES</td></tr><tr><td>COLORS</td></tr> </table> <h3>Classes</h3> <table> <tr> <td><a href="#HgLogBrowserDialog">HgLogBrowserDialog</a></td> <td>Class implementing a dialog to browse the log history.</td> </tr> </table> <h3>Functions</h3> <table> <tr><td>None</td></tr> </table> <hr /><hr /> <a NAME="HgLogBrowserDialog" ID="HgLogBrowserDialog"></a> <h2>HgLogBrowserDialog</h2> <p> Class implementing a dialog to browse the log history. </p> <h3>Derived from</h3> QWidget, Ui_HgLogBrowserDialog <h3>Class Attributes</h3> <table> <tr><td>AuthorColumn</td></tr><tr><td>BranchColumn</td></tr><tr><td>ClosedIndicator</td></tr><tr><td>DateColumn</td></tr><tr><td>IconColumn</td></tr><tr><td>LargefilesCacheL</td></tr><tr><td>LargefilesCacheW</td></tr><tr><td>MessageColumn</td></tr><tr><td>PathSeparatorRe</td></tr><tr><td>PhaseColumn</td></tr><tr><td>RevisionColumn</td></tr><tr><td>TagsColumn</td></tr> </table> <h3>Class Methods</h3> <table> <tr><td>None</td></tr> </table> <h3>Methods</h3> <table> <tr> <td><a href="#HgLogBrowserDialog.__init__">HgLogBrowserDialog</a></td> <td>Constructor</td> </tr><tr> <td><a href="#HgLogBrowserDialog.__branchColor">__branchColor</a></td> <td>Private method to calculate a color for a given branch name.</td> </tr><tr> <td><a href="#HgLogBrowserDialog.__diffRevisions">__diffRevisions</a></td> <td>Private method to do a diff of two revisions.</td> </tr><tr> <td><a href="#HgLogBrowserDialog.__filterLogs">__filterLogs</a></td> <td>Private method to filter the log entries.</td> </tr><tr> <td><a href="#HgLogBrowserDialog.__finish">__finish</a></td> <td>Private slot called when the process finished or the user pressed the button.</td> </tr><tr> <td><a href="#HgLogBrowserDialog.__generateEdges">__generateEdges</a></td> <td>Private method to generate edge info for the give data.</td> </tr><tr> <td><a href="#HgLogBrowserDialog.__generateFileItem">__generateFileItem</a></td> <td>Private method to generate a changed files tree entry.</td> </tr><tr> <td><a href="#HgLogBrowserDialog.__generateIcon">__generateIcon</a></td> <td>Private method to generate an icon containing the revision tree for the given data.</td> </tr><tr> <td><a href="#HgLogBrowserDialog.__generateLogItem">__generateLogItem</a></td> <td>Private method to generate a log tree entry.</td> </tr><tr> <td><a href="#HgLogBrowserDialog.__getClosedBranches">__getClosedBranches</a></td> <td>Private method to get the list of closed branches.</td> </tr><tr> <td><a href="#HgLogBrowserDialog.__getColor">__getColor</a></td> <td>Private method to get the (rotating) name of the color given an index.</td> </tr><tr> <td><a href="#HgLogBrowserDialog.__getLogEntries">__getLogEntries</a></td> <td>Private method to retrieve log entries from the repository.</td> </tr><tr> <td><a href="#HgLogBrowserDialog.__getParents">__getParents</a></td> <td>Private method to get the parents of the currently viewed file/directory.</td> </tr><tr> <td><a href="#HgLogBrowserDialog.__graftActTriggered">__graftActTriggered</a></td> <td>Private slot to handle the Copy Changesets action.</td> </tr><tr> <td><a href="#HgLogBrowserDialog.__identifyProject">__identifyProject</a></td> <td>Private method to determine the revision of the project directory.</td> </tr><tr> <td><a href="#HgLogBrowserDialog.__initData">__initData</a></td> <td>Private method to (re-)initialize some data.</td> </tr><tr> <td><a href="#HgLogBrowserDialog.__lfPullActTriggered">__lfPullActTriggered</a></td> <td>Private slot to pull large files of selected revisions.</td> </tr><tr> <td><a href="#HgLogBrowserDialog.__modifyForLargeFiles">__modifyForLargeFiles</a></td> <td>Private method to convert the displayed file name for a large file.</td> </tr><tr> <td><a href="#HgLogBrowserDialog.__phaseActTriggered">__phaseActTriggered</a></td> <td>Private slot to handle the Change Phase action.</td> </tr><tr> <td><a href="#HgLogBrowserDialog.__procFinished">__procFinished</a></td> <td>Private slot connected to the finished signal.</td> </tr><tr> <td><a href="#HgLogBrowserDialog.__processBuffer">__processBuffer</a></td> <td>Private method to process the buffered output of the hg log command.</td> </tr><tr> <td><a href="#HgLogBrowserDialog.__readStderr">__readStderr</a></td> <td>Private slot to handle the readyReadStandardError signal.</td> </tr><tr> <td><a href="#HgLogBrowserDialog.__readStdout">__readStdout</a></td> <td>Private slot to handle the readyReadStandardOutput signal.</td> </tr><tr> <td><a href="#HgLogBrowserDialog.__resetUI">__resetUI</a></td> <td>Private method to reset the user interface.</td> </tr><tr> <td><a href="#HgLogBrowserDialog.__resizeColumnsFiles">__resizeColumnsFiles</a></td> <td>Private method to resize the changed files tree columns.</td> </tr><tr> <td><a href="#HgLogBrowserDialog.__resizeColumnsLog">__resizeColumnsLog</a></td> <td>Private method to resize the log tree columns.</td> </tr><tr> <td><a href="#HgLogBrowserDialog.__resortFiles">__resortFiles</a></td> <td>Private method to resort the changed files tree.</td> </tr><tr> <td><a href="#HgLogBrowserDialog.__showError">__showError</a></td> <td>Private slot to show some error.</td> </tr><tr> <td><a href="#HgLogBrowserDialog.__switchActTriggered">__switchActTriggered</a></td> <td>Private slot to switch the working directory to the selected revision.</td> </tr><tr> <td><a href="#HgLogBrowserDialog.__tagActTriggered">__tagActTriggered</a></td> <td>Private slot to tag the selected revision.</td> </tr><tr> <td><a href="#HgLogBrowserDialog.__updateDiffButtons">__updateDiffButtons</a></td> <td>Private slot to update the enabled status of the diff buttons.</td> </tr><tr> <td><a href="#HgLogBrowserDialog.__updateGui">__updateGui</a></td> <td>Private slot to update GUI elements except tool menu actions.</td> </tr><tr> <td><a href="#HgLogBrowserDialog.__updateToolMenuActions">__updateToolMenuActions</a></td> <td>Private slot to update the status of the tool menu actions and the tool menu button.</td> </tr><tr> <td><a href="#HgLogBrowserDialog.closeEvent">closeEvent</a></td> <td>Protected slot implementing a close event handler.</td> </tr><tr> <td><a href="#HgLogBrowserDialog.col2x">col2x</a></td> <td>Local function to calculate a x-position for a column.</td> </tr><tr> <td><a href="#HgLogBrowserDialog.keyPressEvent">keyPressEvent</a></td> <td>Protected slot to handle a key press event.</td> </tr><tr> <td><a href="#HgLogBrowserDialog.on_branchCombo_activated">on_branchCombo_activated</a></td> <td>Private slot called, when a new branch is selected.</td> </tr><tr> <td><a href="#HgLogBrowserDialog.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="#HgLogBrowserDialog.on_diffP1Button_clicked">on_diffP1Button_clicked</a></td> <td>Private slot to handle the Diff to Parent 1 button.</td> </tr><tr> <td><a href="#HgLogBrowserDialog.on_diffP2Button_clicked">on_diffP2Button_clicked</a></td> <td>Private slot to handle the Diff to Parent 2 button.</td> </tr><tr> <td><a href="#HgLogBrowserDialog.on_diffRevisionsButton_clicked">on_diffRevisionsButton_clicked</a></td> <td>Private slot to handle the Compare Revisions button.</td> </tr><tr> <td><a href="#HgLogBrowserDialog.on_fieldCombo_activated">on_fieldCombo_activated</a></td> <td>Private slot called, when a new filter field is selected.</td> </tr><tr> <td><a href="#HgLogBrowserDialog.on_fromDate_dateChanged">on_fromDate_dateChanged</a></td> <td>Private slot called, when the from date changes.</td> </tr><tr> <td><a href="#HgLogBrowserDialog.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> <td><a href="#HgLogBrowserDialog.on_logTree_currentItemChanged">on_logTree_currentItemChanged</a></td> <td>Private slot called, when the current item of the log tree changes.</td> </tr><tr> <td><a href="#HgLogBrowserDialog.on_logTree_itemSelectionChanged">on_logTree_itemSelectionChanged</a></td> <td>Private slot called, when the selection has changed.</td> </tr><tr> <td><a href="#HgLogBrowserDialog.on_nextButton_clicked">on_nextButton_clicked</a></td> <td>Private slot to handle the Next button.</td> </tr><tr> <td><a href="#HgLogBrowserDialog.on_passwordCheckBox_toggled">on_passwordCheckBox_toggled</a></td> <td>Private slot to handle the password checkbox toggled.</td> </tr><tr> <td><a href="#HgLogBrowserDialog.on_refreshButton_clicked">on_refreshButton_clicked</a></td> <td>Private slot to refresh the log.</td> </tr><tr> <td><a href="#HgLogBrowserDialog.on_rxEdit_textChanged">on_rxEdit_textChanged</a></td> <td>Private slot called, when a filter expression is entered.</td> </tr><tr> <td><a href="#HgLogBrowserDialog.on_sendButton_clicked">on_sendButton_clicked</a></td> <td>Private slot to send the input to the merurial process.</td> </tr><tr> <td><a href="#HgLogBrowserDialog.on_stopCheckBox_clicked">on_stopCheckBox_clicked</a></td> <td>Private slot called, when the stop on copy/move checkbox is clicked.</td> </tr><tr> <td><a href="#HgLogBrowserDialog.on_toDate_dateChanged">on_toDate_dateChanged</a></td> <td>Private slot called, when the from date changes.</td> </tr><tr> <td><a href="#HgLogBrowserDialog.show">show</a></td> <td>Public slot to show the dialog.</td> </tr><tr> <td><a href="#HgLogBrowserDialog.start">start</a></td> <td>Public slot to start the hg log command.</td> </tr> </table> <h3>Static Methods</h3> <table> <tr><td>None</td></tr> </table> <a NAME="HgLogBrowserDialog.__init__" ID="HgLogBrowserDialog.__init__"></a> <h4>HgLogBrowserDialog (Constructor)</h4> <b>HgLogBrowserDialog</b>(<i>vcs, mode="log", parent=None</i>) <p> Constructor </p><dl> <dt><i>vcs</i></dt> <dd> reference to the vcs object </dd><dt><i>mode</i></dt> <dd> mode of the dialog (string; one of log, incoming, outgoing) </dd><dt><i>parent</i></dt> <dd> parent widget (QWidget) </dd> </dl><a NAME="HgLogBrowserDialog.__branchColor" ID="HgLogBrowserDialog.__branchColor"></a> <h4>HgLogBrowserDialog.__branchColor</h4> <b>__branchColor</b>(<i>branchName</i>) <p> Private method to calculate a color for a given branch name. </p><dl> <dt><i>branchName</i></dt> <dd> name of the branch (string) </dd> </dl><dl> <dt>Returns:</dt> <dd> name of the color to use (string) </dd> </dl><a NAME="HgLogBrowserDialog.__diffRevisions" ID="HgLogBrowserDialog.__diffRevisions"></a> <h4>HgLogBrowserDialog.__diffRevisions</h4> <b>__diffRevisions</b>(<i>rev1, rev2</i>) <p> Private method to do a diff of two revisions. </p><dl> <dt><i>rev1</i></dt> <dd> first revision number (integer) </dd><dt><i>rev2</i></dt> <dd> second revision number (integer) </dd> </dl><a NAME="HgLogBrowserDialog.__filterLogs" ID="HgLogBrowserDialog.__filterLogs"></a> <h4>HgLogBrowserDialog.__filterLogs</h4> <b>__filterLogs</b>(<i></i>) <p> Private method to filter the log entries. </p><a NAME="HgLogBrowserDialog.__finish" ID="HgLogBrowserDialog.__finish"></a> <h4>HgLogBrowserDialog.__finish</h4> <b>__finish</b>(<i></i>) <p> Private slot called when the process finished or the user pressed the button. </p><a NAME="HgLogBrowserDialog.__generateEdges" ID="HgLogBrowserDialog.__generateEdges"></a> <h4>HgLogBrowserDialog.__generateEdges</h4> <b>__generateEdges</b>(<i>rev, parents</i>) <p> Private method to generate edge info for the give data. </p><dl> <dt><i>rev</i></dt> <dd> revision to calculate edge info for (integer) </dd><dt><i>parents</i></dt> <dd> list of parent revisions (list of integers) </dd> </dl><dl> <dt>Returns:</dt> <dd> tuple containing the column and color index for the given node and a list of tuples indicating the edges between the given node and its parents (integer, integer, [(integer, integer, integer), ...]) </dd> </dl><a NAME="HgLogBrowserDialog.__generateFileItem" ID="HgLogBrowserDialog.__generateFileItem"></a> <h4>HgLogBrowserDialog.__generateFileItem</h4> <b>__generateFileItem</b>(<i>action, path, copyfrom</i>) <p> Private method to generate a changed files tree entry. </p><dl> <dt><i>action</i></dt> <dd> indicator for the change action ("A", "D" or "M") </dd><dt><i>path</i></dt> <dd> path of the file in the repository (string) </dd><dt><i>copyfrom</i></dt> <dd> path the file was copied from (string) </dd> </dl><dl> <dt>Returns:</dt> <dd> reference to the generated item (QTreeWidgetItem) </dd> </dl><a NAME="HgLogBrowserDialog.__generateIcon" ID="HgLogBrowserDialog.__generateIcon"></a> <h4>HgLogBrowserDialog.__generateIcon</h4> <b>__generateIcon</b>(<i>column, color, bottomedges, topedges, dotColor, currentRev, closed</i>) <p> Private method to generate an icon containing the revision tree for the given data. </p><dl> <dt><i>column</i></dt> <dd> column index of the revision (integer) </dd><dt><i>color</i></dt> <dd> color of the node (integer) </dd><dt><i>bottomedges</i></dt> <dd> list of edges for the bottom of the node (list of tuples of three integers) </dd><dt><i>topedges</i></dt> <dd> list of edges for the top of the node (list of tuples of three integers) </dd><dt><i>dotColor</i></dt> <dd> color to be used for the dot (QColor) </dd><dt><i>currentRev</i></dt> <dd> flag indicating to draw the icon for the current revision (boolean) </dd><dt><i>closed</i></dt> <dd> flag indicating to draw an icon for a closed branch (boolean) </dd> </dl><dl> <dt>Returns:</dt> <dd> icon for the node (QIcon) </dd> </dl><a NAME="HgLogBrowserDialog.__generateLogItem" ID="HgLogBrowserDialog.__generateLogItem"></a> <h4>HgLogBrowserDialog.__generateLogItem</h4> <b>__generateLogItem</b>(<i>author, date, message, revision, changedPaths, parents, branches, tags, phase, bookmarks=None</i>) <p> Private method to generate a log tree entry. </p><dl> <dt><i>author</i></dt> <dd> author info (string) </dd><dt><i>date</i></dt> <dd> date info (string) </dd><dt><i>message</i></dt> <dd> text of the log message (list of strings) </dd><dt><i>revision</i></dt> <dd> revision info (string) </dd><dt><i>changedPaths</i></dt> <dd> list of dictionary objects containing info about the changed files/directories </dd><dt><i>parents</i></dt> <dd> list of parent revisions (list of integers) </dd><dt><i>branches</i></dt> <dd> list of branches (list of strings) </dd><dt><i>tags</i></dt> <dd> list of tags (string) </dd><dt><i>phase</i></dt> <dd> phase of the entry (string) </dd><dt><i>bookmarks</i></dt> <dd> list of bookmarks (string) </dd> </dl><dl> <dt>Returns:</dt> <dd> reference to the generated item (QTreeWidgetItem) </dd> </dl><a NAME="HgLogBrowserDialog.__getClosedBranches" ID="HgLogBrowserDialog.__getClosedBranches"></a> <h4>HgLogBrowserDialog.__getClosedBranches</h4> <b>__getClosedBranches</b>(<i></i>) <p> Private method to get the list of closed branches. </p><a NAME="HgLogBrowserDialog.__getColor" ID="HgLogBrowserDialog.__getColor"></a> <h4>HgLogBrowserDialog.__getColor</h4> <b>__getColor</b>(<i>n</i>) <p> Private method to get the (rotating) name of the color given an index. </p><dl> <dt><i>n</i></dt> <dd> color index (integer) </dd> </dl><dl> <dt>Returns:</dt> <dd> color name (string) </dd> </dl><a NAME="HgLogBrowserDialog.__getLogEntries" ID="HgLogBrowserDialog.__getLogEntries"></a> <h4>HgLogBrowserDialog.__getLogEntries</h4> <b>__getLogEntries</b>(<i>startRev=None</i>) <p> Private method to retrieve log entries from the repository. </p><dl> <dt><i>startRev</i></dt> <dd> revision number to start from (integer, string) </dd> </dl><a NAME="HgLogBrowserDialog.__getParents" ID="HgLogBrowserDialog.__getParents"></a> <h4>HgLogBrowserDialog.__getParents</h4> <b>__getParents</b>(<i>rev</i>) <p> Private method to get the parents of the currently viewed file/directory. </p><dl> <dt><i>rev</i></dt> <dd> revision number to get parents for (string) </dd> </dl><dl> <dt>Returns:</dt> <dd> list of parent revisions (list of integers) </dd> </dl><a NAME="HgLogBrowserDialog.__graftActTriggered" ID="HgLogBrowserDialog.__graftActTriggered"></a> <h4>HgLogBrowserDialog.__graftActTriggered</h4> <b>__graftActTriggered</b>(<i></i>) <p> Private slot to handle the Copy Changesets action. </p><a NAME="HgLogBrowserDialog.__identifyProject" ID="HgLogBrowserDialog.__identifyProject"></a> <h4>HgLogBrowserDialog.__identifyProject</h4> <b>__identifyProject</b>(<i></i>) <p> Private method to determine the revision of the project directory. </p><a NAME="HgLogBrowserDialog.__initData" ID="HgLogBrowserDialog.__initData"></a> <h4>HgLogBrowserDialog.__initData</h4> <b>__initData</b>(<i></i>) <p> Private method to (re-)initialize some data. </p><a NAME="HgLogBrowserDialog.__lfPullActTriggered" ID="HgLogBrowserDialog.__lfPullActTriggered"></a> <h4>HgLogBrowserDialog.__lfPullActTriggered</h4> <b>__lfPullActTriggered</b>(<i></i>) <p> Private slot to pull large files of selected revisions. </p><a NAME="HgLogBrowserDialog.__modifyForLargeFiles" ID="HgLogBrowserDialog.__modifyForLargeFiles"></a> <h4>HgLogBrowserDialog.__modifyForLargeFiles</h4> <b>__modifyForLargeFiles</b>(<i>filename</i>) <p> Private method to convert the displayed file name for a large file. </p><dl> <dt><i>filename</i></dt> <dd> file name to be processed (string) </dd> </dl><dl> <dt>Returns:</dt> <dd> processed file name (string) </dd> </dl><a NAME="HgLogBrowserDialog.__phaseActTriggered" ID="HgLogBrowserDialog.__phaseActTriggered"></a> <h4>HgLogBrowserDialog.__phaseActTriggered</h4> <b>__phaseActTriggered</b>(<i></i>) <p> Private slot to handle the Change Phase action. </p><a NAME="HgLogBrowserDialog.__procFinished" ID="HgLogBrowserDialog.__procFinished"></a> <h4>HgLogBrowserDialog.__procFinished</h4> <b>__procFinished</b>(<i>exitCode, exitStatus</i>) <p> Private slot connected to the finished signal. </p><dl> <dt><i>exitCode</i></dt> <dd> exit code of the process (integer) </dd><dt><i>exitStatus</i></dt> <dd> exit status of the process (QProcess.ExitStatus) </dd> </dl><a NAME="HgLogBrowserDialog.__processBuffer" ID="HgLogBrowserDialog.__processBuffer"></a> <h4>HgLogBrowserDialog.__processBuffer</h4> <b>__processBuffer</b>(<i></i>) <p> Private method to process the buffered output of the hg log command. </p><a NAME="HgLogBrowserDialog.__readStderr" ID="HgLogBrowserDialog.__readStderr"></a> <h4>HgLogBrowserDialog.__readStderr</h4> <b>__readStderr</b>(<i></i>) <p> Private slot to handle the readyReadStandardError signal. </p><p> It reads the error output of the process and inserts it into the error pane. </p><a NAME="HgLogBrowserDialog.__readStdout" ID="HgLogBrowserDialog.__readStdout"></a> <h4>HgLogBrowserDialog.__readStdout</h4> <b>__readStdout</b>(<i></i>) <p> Private slot to handle the readyReadStandardOutput signal. </p><p> It reads the output of the process and inserts it into a buffer. </p><a NAME="HgLogBrowserDialog.__resetUI" ID="HgLogBrowserDialog.__resetUI"></a> <h4>HgLogBrowserDialog.__resetUI</h4> <b>__resetUI</b>(<i></i>) <p> Private method to reset the user interface. </p><a NAME="HgLogBrowserDialog.__resizeColumnsFiles" ID="HgLogBrowserDialog.__resizeColumnsFiles"></a> <h4>HgLogBrowserDialog.__resizeColumnsFiles</h4> <b>__resizeColumnsFiles</b>(<i></i>) <p> Private method to resize the changed files tree columns. </p><a NAME="HgLogBrowserDialog.__resizeColumnsLog" ID="HgLogBrowserDialog.__resizeColumnsLog"></a> <h4>HgLogBrowserDialog.__resizeColumnsLog</h4> <b>__resizeColumnsLog</b>(<i></i>) <p> Private method to resize the log tree columns. </p><a NAME="HgLogBrowserDialog.__resortFiles" ID="HgLogBrowserDialog.__resortFiles"></a> <h4>HgLogBrowserDialog.__resortFiles</h4> <b>__resortFiles</b>(<i></i>) <p> Private method to resort the changed files tree. </p><a NAME="HgLogBrowserDialog.__showError" ID="HgLogBrowserDialog.__showError"></a> <h4>HgLogBrowserDialog.__showError</h4> <b>__showError</b>(<i>out</i>) <p> Private slot to show some error. </p><dl> <dt><i>out</i></dt> <dd> error to be shown (string) </dd> </dl><a NAME="HgLogBrowserDialog.__switchActTriggered" ID="HgLogBrowserDialog.__switchActTriggered"></a> <h4>HgLogBrowserDialog.__switchActTriggered</h4> <b>__switchActTriggered</b>(<i></i>) <p> Private slot to switch the working directory to the selected revision. </p><a NAME="HgLogBrowserDialog.__tagActTriggered" ID="HgLogBrowserDialog.__tagActTriggered"></a> <h4>HgLogBrowserDialog.__tagActTriggered</h4> <b>__tagActTriggered</b>(<i></i>) <p> Private slot to tag the selected revision. </p><a NAME="HgLogBrowserDialog.__updateDiffButtons" ID="HgLogBrowserDialog.__updateDiffButtons"></a> <h4>HgLogBrowserDialog.__updateDiffButtons</h4> <b>__updateDiffButtons</b>(<i></i>) <p> Private slot to update the enabled status of the diff buttons. </p><a NAME="HgLogBrowserDialog.__updateGui" ID="HgLogBrowserDialog.__updateGui"></a> <h4>HgLogBrowserDialog.__updateGui</h4> <b>__updateGui</b>(<i>itm</i>) <p> Private slot to update GUI elements except tool menu actions. </p><dl> <dt><i>itm</i></dt> <dd> reference to the item the update should be based on (QTreeWidgetItem) </dd> </dl><a NAME="HgLogBrowserDialog.__updateToolMenuActions" ID="HgLogBrowserDialog.__updateToolMenuActions"></a> <h4>HgLogBrowserDialog.__updateToolMenuActions</h4> <b>__updateToolMenuActions</b>(<i></i>) <p> Private slot to update the status of the tool menu actions and the tool menu button. </p><a NAME="HgLogBrowserDialog.closeEvent" ID="HgLogBrowserDialog.closeEvent"></a> <h4>HgLogBrowserDialog.closeEvent</h4> <b>closeEvent</b>(<i>e</i>) <p> Protected slot implementing a close event handler. </p><dl> <dt><i>e</i></dt> <dd> close event (QCloseEvent) </dd> </dl><a NAME="HgLogBrowserDialog.col2x" ID="HgLogBrowserDialog.col2x"></a> <h4>HgLogBrowserDialog.col2x</h4> <b>col2x</b>(<i>radius</i>) <p> Local function to calculate a x-position for a column. </p><dl> <dt><i>col</i></dt> <dd> column number (integer) </dd><dt><i>radius</i></dt> <dd> radius of the indicator circle (integer) </dd> </dl><a NAME="HgLogBrowserDialog.keyPressEvent" ID="HgLogBrowserDialog.keyPressEvent"></a> <h4>HgLogBrowserDialog.keyPressEvent</h4> <b>keyPressEvent</b>(<i>evt</i>) <p> Protected slot to handle a key press event. </p><dl> <dt><i>evt</i></dt> <dd> the key press event (QKeyEvent) </dd> </dl><a NAME="HgLogBrowserDialog.on_branchCombo_activated" ID="HgLogBrowserDialog.on_branchCombo_activated"></a> <h4>HgLogBrowserDialog.on_branchCombo_activated</h4> <b>on_branchCombo_activated</b>(<i>txt</i>) <p> Private slot called, when a new branch is selected. </p><dl> <dt><i>txt</i></dt> <dd> text of the selected branch (string) </dd> </dl><a NAME="HgLogBrowserDialog.on_buttonBox_clicked" ID="HgLogBrowserDialog.on_buttonBox_clicked"></a> <h4>HgLogBrowserDialog.on_buttonBox_clicked</h4> <b>on_buttonBox_clicked</b>(<i>button</i>) <p> Private slot called by a button of the button box clicked. </p><dl> <dt><i>button</i></dt> <dd> button that was clicked (QAbstractButton) </dd> </dl><a NAME="HgLogBrowserDialog.on_diffP1Button_clicked" ID="HgLogBrowserDialog.on_diffP1Button_clicked"></a> <h4>HgLogBrowserDialog.on_diffP1Button_clicked</h4> <b>on_diffP1Button_clicked</b>(<i></i>) <p> Private slot to handle the Diff to Parent 1 button. </p><a NAME="HgLogBrowserDialog.on_diffP2Button_clicked" ID="HgLogBrowserDialog.on_diffP2Button_clicked"></a> <h4>HgLogBrowserDialog.on_diffP2Button_clicked</h4> <b>on_diffP2Button_clicked</b>(<i></i>) <p> Private slot to handle the Diff to Parent 2 button. </p><a NAME="HgLogBrowserDialog.on_diffRevisionsButton_clicked" ID="HgLogBrowserDialog.on_diffRevisionsButton_clicked"></a> <h4>HgLogBrowserDialog.on_diffRevisionsButton_clicked</h4> <b>on_diffRevisionsButton_clicked</b>(<i></i>) <p> Private slot to handle the Compare Revisions button. </p><a NAME="HgLogBrowserDialog.on_fieldCombo_activated" ID="HgLogBrowserDialog.on_fieldCombo_activated"></a> <h4>HgLogBrowserDialog.on_fieldCombo_activated</h4> <b>on_fieldCombo_activated</b>(<i>txt</i>) <p> Private slot called, when a new filter field is selected. </p><dl> <dt><i>txt</i></dt> <dd> text of the selected field (string) </dd> </dl><a NAME="HgLogBrowserDialog.on_fromDate_dateChanged" ID="HgLogBrowserDialog.on_fromDate_dateChanged"></a> <h4>HgLogBrowserDialog.on_fromDate_dateChanged</h4> <b>on_fromDate_dateChanged</b>(<i>date</i>) <p> Private slot called, when the from date changes. </p><dl> <dt><i>date</i></dt> <dd> new date (QDate) </dd> </dl><a NAME="HgLogBrowserDialog.on_input_returnPressed" ID="HgLogBrowserDialog.on_input_returnPressed"></a> <h4>HgLogBrowserDialog.on_input_returnPressed</h4> <b>on_input_returnPressed</b>(<i></i>) <p> Private slot to handle the press of the return key in the input field. </p><a NAME="HgLogBrowserDialog.on_logTree_currentItemChanged" ID="HgLogBrowserDialog.on_logTree_currentItemChanged"></a> <h4>HgLogBrowserDialog.on_logTree_currentItemChanged</h4> <b>on_logTree_currentItemChanged</b>(<i>current, previous</i>) <p> Private slot called, when the current item of the log tree changes. </p><dl> <dt><i>current</i></dt> <dd> reference to the new current item (QTreeWidgetItem) </dd><dt><i>previous</i></dt> <dd> reference to the old current item (QTreeWidgetItem) </dd> </dl><a NAME="HgLogBrowserDialog.on_logTree_itemSelectionChanged" ID="HgLogBrowserDialog.on_logTree_itemSelectionChanged"></a> <h4>HgLogBrowserDialog.on_logTree_itemSelectionChanged</h4> <b>on_logTree_itemSelectionChanged</b>(<i></i>) <p> Private slot called, when the selection has changed. </p><a NAME="HgLogBrowserDialog.on_nextButton_clicked" ID="HgLogBrowserDialog.on_nextButton_clicked"></a> <h4>HgLogBrowserDialog.on_nextButton_clicked</h4> <b>on_nextButton_clicked</b>(<i></i>) <p> Private slot to handle the Next button. </p><a NAME="HgLogBrowserDialog.on_passwordCheckBox_toggled" ID="HgLogBrowserDialog.on_passwordCheckBox_toggled"></a> <h4>HgLogBrowserDialog.on_passwordCheckBox_toggled</h4> <b>on_passwordCheckBox_toggled</b>(<i>isOn</i>) <p> Private slot to handle the password checkbox toggled. </p><dl> <dt><i>isOn</i></dt> <dd> flag indicating the status of the check box (boolean) </dd> </dl><a NAME="HgLogBrowserDialog.on_refreshButton_clicked" ID="HgLogBrowserDialog.on_refreshButton_clicked"></a> <h4>HgLogBrowserDialog.on_refreshButton_clicked</h4> <b>on_refreshButton_clicked</b>(<i></i>) <p> Private slot to refresh the log. </p><a NAME="HgLogBrowserDialog.on_rxEdit_textChanged" ID="HgLogBrowserDialog.on_rxEdit_textChanged"></a> <h4>HgLogBrowserDialog.on_rxEdit_textChanged</h4> <b>on_rxEdit_textChanged</b>(<i>txt</i>) <p> Private slot called, when a filter expression is entered. </p><dl> <dt><i>txt</i></dt> <dd> filter expression (string) </dd> </dl><a NAME="HgLogBrowserDialog.on_sendButton_clicked" ID="HgLogBrowserDialog.on_sendButton_clicked"></a> <h4>HgLogBrowserDialog.on_sendButton_clicked</h4> <b>on_sendButton_clicked</b>(<i></i>) <p> Private slot to send the input to the merurial process. </p><a NAME="HgLogBrowserDialog.on_stopCheckBox_clicked" ID="HgLogBrowserDialog.on_stopCheckBox_clicked"></a> <h4>HgLogBrowserDialog.on_stopCheckBox_clicked</h4> <b>on_stopCheckBox_clicked</b>(<i>checked</i>) <p> Private slot called, when the stop on copy/move checkbox is clicked. </p><dl> <dt><i>checked</i></dt> <dd> flag indicating the state of the check box (boolean) </dd> </dl><a NAME="HgLogBrowserDialog.on_toDate_dateChanged" ID="HgLogBrowserDialog.on_toDate_dateChanged"></a> <h4>HgLogBrowserDialog.on_toDate_dateChanged</h4> <b>on_toDate_dateChanged</b>(<i>date</i>) <p> Private slot called, when the from date changes. </p><dl> <dt><i>date</i></dt> <dd> new date (QDate) </dd> </dl><a NAME="HgLogBrowserDialog.show" ID="HgLogBrowserDialog.show"></a> <h4>HgLogBrowserDialog.show</h4> <b>show</b>(<i></i>) <p> Public slot to show the dialog. </p><a NAME="HgLogBrowserDialog.start" ID="HgLogBrowserDialog.start"></a> <h4>HgLogBrowserDialog.start</h4> <b>start</b>(<i>fn, bundle=None, isFile=False</i>) <p> Public slot to start the hg log command. </p><dl> <dt><i>fn</i></dt> <dd> filename to show the log for (string) </dd><dt><i>bundle=</i></dt> <dd> name of a bundle file (string) </dd><dt><i>isFile=</i></dt> <dd> flag indicating log for a file is to be shown (boolean) </dd> </dl> <div align="right"><a href="#top">Up</a></div> <hr /> </body></html>