22 def __init__(self, refactoring, title, parent=None): |
22 def __init__(self, refactoring, title, parent=None): |
23 """ |
23 """ |
24 Constructor |
24 Constructor |
25 |
25 |
26 @param refactoring reference to the main refactoring object |
26 @param refactoring reference to the main refactoring object |
27 (Refactoring) |
27 @type RefactoringServer |
28 @param title title of the dialog (string) |
28 @param title title of the dialog |
29 @param parent reference to the parent widget (QWidget) |
29 @type str |
|
30 @param parent reference to the parent widget |
|
31 @type QWidget |
30 """ |
32 """ |
31 QDialog.__init__(self, parent) |
33 QDialog.__init__(self, parent) |
32 self.setAttribute(Qt.WA_DeleteOnClose) |
34 self.setAttribute(Qt.WA_DeleteOnClose) |
33 self.setWindowTitle(title) |
35 self.setWindowTitle(title) |
34 |
36 |