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 |
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. |
__scrollBarMoved | Private slot to enable the buttons and set the current diff position depending on scrollbar 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. |
show | Public slot to show the dialog. |
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 enable the buttons and set the current diff position depending on scrollbar 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.
Public slot to show the dialog.
Main window class for the standalone dialog.
None |
CompareWindow | Constructor |
eventFilter | Public method to filter events. |
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.