10 import os |
10 import os |
11 |
11 |
12 from PyQt6.QtCore import pyqtSlot |
12 from PyQt6.QtCore import pyqtSlot |
13 from PyQt6.QtWidgets import QDialog, QDialogButtonBox |
13 from PyQt6.QtWidgets import QDialog, QDialogButtonBox |
14 |
14 |
15 from E5Gui.E5PathPicker import E5PathPickerModes |
15 from E5Gui.EricPathPicker import EricPathPickerModes |
16 |
16 |
17 from .Ui_LfConvertDataDialog import Ui_LfConvertDataDialog |
17 from .Ui_LfConvertDataDialog import Ui_LfConvertDataDialog |
18 |
18 |
19 from . import getDefaults |
19 from . import getDefaults |
20 |
20 |
34 @param parent reference to the parent widget (QWidget) |
34 @param parent reference to the parent widget (QWidget) |
35 """ |
35 """ |
36 super().__init__(parent) |
36 super().__init__(parent) |
37 self.setupUi(self) |
37 self.setupUi(self) |
38 |
38 |
39 self.newProjectPicker.setMode(E5PathPickerModes.DIRECTORY_MODE) |
39 self.newProjectPicker.setMode(EricPathPickerModes.DIRECTORY_MODE) |
40 |
40 |
41 self.__defaults = getDefaults() |
41 self.__defaults = getDefaults() |
42 self.__currentPath = Utilities.toNativeSeparators(currentPath) |
42 self.__currentPath = Utilities.toNativeSeparators(currentPath) |
43 |
43 |
44 self.currentProjectLabel.setPath(currentPath) |
44 self.currentProjectLabel.setPath(currentPath) |