110 @rtype str |
110 @rtype str |
111 """ |
111 """ |
112 return self.__pathPicker.path() |
112 return self.__pathPicker.path() |
113 |
113 |
114 |
114 |
115 def getPath(parent, title, label, mode=E5PathPickerModes.OpenFileMode, |
115 def getPath(parent, title, label, mode=E5PathPickerModes.OPEN_FILE_MODE, |
116 path="", defaultDirectory="", filters=None): |
116 path="", defaultDirectory="", filters=None): |
117 """ |
117 """ |
118 Function to get a file or directory path from the user. |
118 Function to get a file or directory path from the user. |
119 |
119 |
120 @param parent reference to the parent widget |
120 @param parent reference to the parent widget |