9 |
9 |
10 from PyQt4.QtCore import pyqtSlot |
10 from PyQt4.QtCore import pyqtSlot |
11 from PyQt4.QtGui import QDialog, QDialogButtonBox, QAbstractButton |
11 from PyQt4.QtGui import QDialog, QDialogButtonBox, QAbstractButton |
12 |
12 |
13 from Ui_ConfirmationDialog import Ui_ConfirmationDialog |
13 from Ui_ConfirmationDialog import Ui_ConfirmationDialog |
14 from ChangesPreviewDialog import ChangesPreviewDialog |
|
15 |
14 |
16 import Utilities |
15 import Utilities |
17 |
16 |
18 |
17 |
19 class ConfirmationDialog(QDialog, Ui_ConfirmationDialog): |
18 class ConfirmationDialog(QDialog, Ui_ConfirmationDialog): |
54 |
53 |
55 def __previewChanges(self): |
54 def __previewChanges(self): |
56 """ |
55 """ |
57 Private method to preview the changes. |
56 Private method to preview the changes. |
58 """ |
57 """ |
|
58 from ChangesPreviewDialog import ChangesPreviewDialog |
59 dlg = ChangesPreviewDialog(self.__changes, self) |
59 dlg = ChangesPreviewDialog(self.__changes, self) |
60 if dlg.exec_() == QDialog.Accepted: |
60 if dlg.exec_() == QDialog.Accepted: |
61 self.accept() |
61 self.accept() |