32 |
32 |
33 @param project reference to the project object |
33 @param project reference to the project object |
34 (ProjectPyramid.Project.Project) |
34 (ProjectPyramid.Project.Project) |
35 @param parent reference to the parent widget (QWidget) |
35 @param parent reference to the parent widget (QWidget) |
36 """ |
36 """ |
37 super(PyramidRoutesDialog, self).__init__(parent) |
37 super().__init__(parent) |
38 self.setupUi(self) |
38 self.setupUi(self) |
39 |
39 |
40 self.buttonBox.button(QDialogButtonBox.Close).setEnabled(False) |
40 self.buttonBox.button(QDialogButtonBox.Close).setEnabled(False) |
41 self.buttonBox.button(QDialogButtonBox.Cancel).setDefault(True) |
41 self.buttonBox.button(QDialogButtonBox.Cancel).setDefault(True) |
42 |
42 |