src/eric7/WebBrowser/Bookmarks/BookmarksImportDialog.py

branch
eric7
changeset 10436
f6881d10e995
parent 9653
e67609152c5e
child 10439
21c28b0f9e41
equal deleted inserted replaced
10435:c712d09cc839 10436:f6881d10e995
29 29
30 def __init__(self, parent=None): 30 def __init__(self, parent=None):
31 """ 31 """
32 Constructor 32 Constructor
33 33
34 @param parent reference to the parent widget (QWidget) 34 @param parent reference to the parent widget
35 @type QWidget
35 """ 36 """
36 super().__init__(parent) 37 super().__init__(parent)
37 self.setupUi(self) 38 self.setupUi(self)
38 39
39 self.filePicker.setMode(EricPathPickerModes.OPEN_FILE_MODE) 40 self.filePicker.setMode(EricPathPickerModes.OPEN_FILE_MODE)
72 @pyqtSlot(str) 73 @pyqtSlot(str)
73 def on_filePicker_textChanged(self, txt): 74 def on_filePicker_textChanged(self, txt):
74 """ 75 """
75 Private slot handling changes of the file to import bookmarks form. 76 Private slot handling changes of the file to import bookmarks form.
76 77
77 @param txt text of the line edit (string) 78 @param txt text of the line edit
79 @type str
78 """ 80 """
79 self.__enableNextButton() 81 self.__enableNextButton()
80 82
81 @pyqtSlot() 83 @pyqtSlot()
82 def on_nextButton_clicked(self): 84 def on_nextButton_clicked(self):
153 155
154 def getImportedBookmarks(self): 156 def getImportedBookmarks(self):
155 """ 157 """
156 Public method to get the imported bookmarks. 158 Public method to get the imported bookmarks.
157 159
158 @return top level bookmark (BookmarkNode) 160 @return top level bookmark
161 @rtype BookmarkNode
159 """ 162 """
160 return self.__topLevelBookmarkNode 163 return self.__topLevelBookmarkNode

eric ide

mercurial