35 @param pip reference to the master object |
35 @param pip reference to the master object |
36 @type Pip |
36 @type Pip |
37 @param parent reference to the parent widget |
37 @param parent reference to the parent widget |
38 @type QWidget |
38 @type QWidget |
39 """ |
39 """ |
40 super(PipFreezeDialog, self).__init__(parent) |
40 super().__init__(parent) |
41 self.setupUi(self) |
41 self.setupUi(self) |
42 self.setWindowFlags(Qt.WindowType.Window) |
42 self.setWindowFlags(Qt.WindowType.Window) |
43 |
43 |
44 self.__refreshButton = self.buttonBox.addButton( |
44 self.__refreshButton = self.buttonBox.addButton( |
45 self.tr("&Refresh"), QDialogButtonBox.ButtonRole.ActionRole) |
45 self.tr("&Refresh"), QDialogButtonBox.ButtonRole.ActionRole) |