eric6/E5Gui/E5PathPicker.py

changeset 8218
7c09585bd960
parent 8143
2c730d5fd177
child 8257
28146736bbfc
equal deleted inserted replaced
8217:385f60c94548 8218:7c09585bd960
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
697 Constructor 697 Constructor
698 698
699 @param parent reference to the parent widget 699 @param parent reference to the parent widget
700 @type QWidget 700 @type QWidget
701 """ 701 """
702 super(E5ComboPathPicker, self).__init__(parent, useLineEdit=False) 702 super().__init__(parent, useLineEdit=False)
703 703
704 def getPathItems(self): 704 def getPathItems(self):
705 """ 705 """
706 Public method to get the list of remembered paths. 706 Public method to get the list of remembered paths.
707 707

eric ide

mercurial