67 @param parent reference to the parent widget |
67 @param parent reference to the parent widget |
68 @type QWidget |
68 @type QWidget |
69 @param useLineEdit flag indicating the use of a line edit |
69 @param useLineEdit flag indicating the use of a line edit |
70 @type bool |
70 @type bool |
71 """ |
71 """ |
72 super(E5PathPickerBase, self).__init__(parent) |
72 super().__init__(parent) |
73 |
73 |
74 self.__lineEditKind = useLineEdit |
74 self.__lineEditKind = useLineEdit |
75 |
75 |
76 self.__mode = E5PathPicker.DefaultMode |
76 self.__mode = E5PathPicker.DefaultMode |
77 self.__editorEnabled = True |
77 self.__editorEnabled = True |
682 Constructor |
682 Constructor |
683 |
683 |
684 @param parent reference to the parent widget |
684 @param parent reference to the parent widget |
685 @type QWidget |
685 @type QWidget |
686 """ |
686 """ |
687 super(E5PathPicker, self).__init__(parent, useLineEdit=True) |
687 super().__init__(parent, useLineEdit=True) |
688 |
688 |
689 |
689 |
690 class E5ComboPathPicker(E5PathPickerBase): |
690 class E5ComboPathPicker(E5PathPickerBase): |
691 """ |
691 """ |
692 Class implementing a path picker widget consisting of a combobox and a |
692 Class implementing a path picker widget consisting of a combobox and a |