249 |
251 |
250 @param filename name of a file to use as the first file (string) |
252 @param filename name of a file to use as the first file (string) |
251 """ |
253 """ |
252 if filename: |
254 if filename: |
253 self.file1Edit.setText(filename) |
255 self.file1Edit.setText(filename) |
254 super().show() |
256 super(DiffDialog, self).show() |
255 |
257 |
256 def on_buttonBox_clicked(self, button): |
258 def on_buttonBox_clicked(self, button): |
257 """ |
259 """ |
258 Private slot called by a button of the button box clicked. |
260 Private slot called by a button of the button box clicked. |
259 |
261 |
498 """ |
500 """ |
499 Constructor |
501 Constructor |
500 |
502 |
501 @param parent reference to the parent widget (QWidget) |
503 @param parent reference to the parent widget (QWidget) |
502 """ |
504 """ |
503 super().__init__(parent) |
505 super(DiffWindow, self).__init__(parent) |
504 |
506 |
505 self.setStyle(Preferences.getUI("Style"), Preferences.getUI("StyleSheet")) |
507 self.setStyle(Preferences.getUI("Style"), Preferences.getUI("StyleSheet")) |
506 |
508 |
507 self.cw = DiffDialog(self) |
509 self.cw = DiffDialog(self) |
508 self.cw.installEventFilter(self) |
510 self.cw.installEventFilter(self) |