57 """ |
57 """ |
58 super().__init__(parent) |
58 super().__init__(parent) |
59 self.setupUi(self) |
59 self.setupUi(self) |
60 self.setWindowFlags(Qt.WindowType.Window) |
60 self.setWindowFlags(Qt.WindowType.Window) |
61 |
61 |
62 self.dirPicker.setMode(E5PathPickerModes.DirectoryMode) |
62 self.dirPicker.setMode(E5PathPickerModes.DIRECTORY_MODE) |
63 self.dirPicker.setInsertPolicy(QComboBox.InsertPolicy.InsertAtTop) |
63 self.dirPicker.setInsertPolicy(QComboBox.InsertPolicy.InsertAtTop) |
64 self.dirPicker.setSizeAdjustPolicy( |
64 self.dirPicker.setSizeAdjustPolicy( |
65 QComboBox.SizeAdjustPolicy.AdjustToMinimumContentsLengthWithIcon) |
65 QComboBox.SizeAdjustPolicy.AdjustToMinimumContentsLengthWithIcon) |
66 |
66 |
67 self.__replaceMode = replaceMode |
67 self.__replaceMode = replaceMode |