34 @param migrations directory path containing the migrations |
34 @param migrations directory path containing the migrations |
35 @type str |
35 @type str |
36 @param parent reference to the parent widget |
36 @param parent reference to the parent widget |
37 @type QWidget |
37 @type QWidget |
38 """ |
38 """ |
39 super(MigrateSummaryDialog, self).__init__(parent) |
39 super().__init__(parent) |
40 self.setupUi(self) |
40 self.setupUi(self) |
41 |
41 |
42 self.__refreshButton = self.buttonBox.addButton( |
42 self.__refreshButton = self.buttonBox.addButton( |
43 self.tr("Refresh"), QDialogButtonBox.ActionRole) |
43 self.tr("Refresh"), QDialogButtonBox.ActionRole) |
44 self.__refreshButton.clicked.connect(self.showSummary) |
44 self.__refreshButton.clicked.connect(self.showSummary) |