Module implementing a dialog to compare two files and show the result side by side.
CompareDialog | Class implementing a dialog to compare two files and show the result side by side. |
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.
CompareDialog | Constructor |
__appendText | Private method to append text to the end of the contents pane. |
__fileChanged | Private slot to enable/disable the Compare button. |
__moveTextToCurrentDiffPos | Private slot to move the text display to the current diff position. |
__selectFile | Private slot to display a file selection dialog. |
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_file1Button_clicked | Private slot to handle the file 1 file selection button press. |
on_file2Button_clicked | Private slot to handle the file 2 file selection button press. |
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. |
Constructor
Private method to append text to the end of the contents pane.
Private slot to enable/disable the Compare button.
Private slot to move the text display to the current diff position.
Private slot to display a file selection dialog.
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 handle the file 1 file selection button press.
Private slot to handle the file 2 file selection button press.
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.
Internal function to remove all diff markers.
Compare two sequences of lines; generate the delta for display side by side.