16 from PreviewDialogBase import PreviewDialogBase |
16 from PreviewDialogBase import PreviewDialogBase |
17 from ProgressHandle import ProgressHandle |
17 from ProgressHandle import ProgressHandle |
18 |
18 |
19 import Utilities |
19 import Utilities |
20 |
20 |
|
21 |
21 class HistoryDialog(PreviewDialogBase): |
22 class HistoryDialog(PreviewDialogBase): |
22 """ |
23 """ |
23 Class implementing the History dialog. |
24 Class implementing the History dialog. |
24 """ |
25 """ |
25 ChangeIDRole = Qt.UserRole |
26 ChangeIDRole = Qt.UserRole |
26 |
27 |
27 def __init__(self, refactoring, changes, isUndo, parent = None): |
28 def __init__(self, refactoring, changes, isUndo, parent=None): |
28 """ |
29 """ |
29 Constructor |
30 Constructor |
30 |
31 |
31 @param refactoring reference to the main refactoring object |
32 @param refactoring reference to the main refactoring object |
32 (Refactoring) |
33 (Refactoring) |