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. |
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. |
__selectFile | Private slot to display a file selection dialog. |
on_diffButton_clicked | Private slot to handle the Compare button press. |
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_synchronizeCheckBox_toggled | Private slot to connect or disconnect the scrollbars of the displays. |
Constructor
Private method to append text to the end of the contents pane.
Private slot to enable/disable the Compare button.
Private slot to display a file selection dialog.
Private slot to handle the Compare button press.
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 connect or disconnect the scrollbars of the displays.
Compare two sequences of lines; generate the delta for display side by side.