64 self.filePicker.setToolTip(self.tr( |
64 self.filePicker.setToolTip(self.tr( |
65 "Press to select a file through a file selection dialog.")) |
65 "Press to select a file through a file selection dialog.")) |
66 self.filePicker.setFilters(self.tr("All Files (*)")) |
66 self.filePicker.setFilters(self.tr("All Files (*)")) |
67 self.filePicker.setDefaultDirectory(os.path.expanduser("~")) |
67 self.filePicker.setDefaultDirectory(os.path.expanduser("~")) |
68 |
68 |
69 self.buttonBox.button(QDialogButtonBox.Ok).setEnabled(False) |
69 self.buttonBox.button( |
|
70 QDialogButtonBox.StandardButton.Ok).setEnabled(False) |
70 |
71 |
71 self.userCheckBox.setVisible(install) |
72 self.userCheckBox.setVisible(install) |
72 |
73 |
73 msh = self.minimumSizeHint() |
74 msh = self.minimumSizeHint() |
74 self.resize(max(self.width(), msh.width()), msh.height()) |
75 self.resize(max(self.width(), msh.width()), msh.height()) |