Module implementing a dialog to compare two files and show the result side by side.
None |
CompareDialog | Class implementing a dialog to compare two files and show the result side by side. |
CompareWindow | Main window class for the standalone dialog. |
removeMarkers | Internal function to remove all diff markers. |
sbsdiff | Compare two sequences of lines; generate the delta for display side by side. |
Class implementing a dialog to compare two files and show the result side by side.
None |
None |
CompareDialog | Constructor |
__appendText | Private method to append text to the end of the contents pane. |
__compare | Private method to compare two lists of text. |
__fileChanged | Private slot to enable/disable the Compare button. |
__generateFormats | Private method to generate the various text formats. |
__moveTextToCurrentDiffPos | Private slot to move the text display to the current diff position. |
__scrollBarMoved | Private slot to enable the buttons and set the current diff position depending on scrollbar position. |
compare | Public method to compare two lists of text. |
on_buttonBox_clicked | Private slot called by a button of the button box clicked. |
on_diffButton_clicked | Private slot to handle the Compare button press. |
on_downButton_clicked | Private slot to go to the next difference. |
on_firstButton_clicked | Private slot to go to the first difference. |
on_lastButton_clicked | Private slot to go to the last difference. |
on_synchronizeCheckBox_toggled | Private slot to connect or disconnect the scrollbars of the displays. |
on_upButton_clicked | Private slot to go to the previous difference. |
show | Public slot to show the dialog. |
None |
Constructor
Private method to append text to the end of the contents pane.
Private method to compare two lists of text.
Private slot to enable/disable the Compare button.
Private method to generate the various text formats.
Private slot to move the text display to the current diff position.
Private slot to enable the buttons and set the current diff position depending on scrollbar position.
Public method to compare two lists of text.
Private slot called by a button of the button box clicked.
Private slot to handle the Compare button press.
Private slot to go to the next difference.
Private slot to go to the first difference.
Private slot to go to the last difference.
Private slot to connect or disconnect the scrollbars of the displays.
Private slot to go to the previous difference.
Public slot to show the dialog.
Main window class for the standalone dialog.
None |
None |
CompareWindow | Constructor |
eventFilter | Public method to filter events. |
None |
Constructor
Public method to filter events.
Internal function to remove all diff markers.
Compare two sequences of lines; generate the delta for display side by side.