|
1 <!DOCTYPE html> |
|
2 <html><head> |
|
3 <title>eric7.WebBrowser.Bookmarks.BookmarksImportDialog</title> |
|
4 <meta charset="UTF-8"> |
|
5 <link rel="stylesheet" href="styles.css"> |
|
6 </head> |
|
7 <body> |
|
8 <a NAME="top" ID="top"></a> |
|
9 <h1>eric7.WebBrowser.Bookmarks.BookmarksImportDialog</h1> |
|
10 |
|
11 <p> |
|
12 Module implementing a dialog for importing bookmarks from other sources. |
|
13 </p> |
|
14 <h3>Global Attributes</h3> |
|
15 |
|
16 <table> |
|
17 <tr><td>None</td></tr> |
|
18 </table> |
|
19 <h3>Classes</h3> |
|
20 |
|
21 <table> |
|
22 |
|
23 <tr> |
|
24 <td><a href="#BookmarksImportDialog">BookmarksImportDialog</a></td> |
|
25 <td>Class implementing a dialog for importing bookmarks from other sources.</td> |
|
26 </tr> |
|
27 </table> |
|
28 <h3>Functions</h3> |
|
29 |
|
30 <table> |
|
31 <tr><td>None</td></tr> |
|
32 </table> |
|
33 <hr /> |
|
34 <hr /> |
|
35 <a NAME="BookmarksImportDialog" ID="BookmarksImportDialog"></a> |
|
36 <h2>BookmarksImportDialog</h2> |
|
37 |
|
38 <p> |
|
39 Class implementing a dialog for importing bookmarks from other sources. |
|
40 </p> |
|
41 <h3>Derived from</h3> |
|
42 QDialog, Ui_BookmarksImportDialog |
|
43 <h3>Class Attributes</h3> |
|
44 |
|
45 <table> |
|
46 <tr><td>SourcesListIdRole</td></tr> |
|
47 </table> |
|
48 <h3>Class Methods</h3> |
|
49 |
|
50 <table> |
|
51 <tr><td>None</td></tr> |
|
52 </table> |
|
53 <h3>Methods</h3> |
|
54 |
|
55 <table> |
|
56 |
|
57 <tr> |
|
58 <td><a href="#BookmarksImportDialog.__init__">BookmarksImportDialog</a></td> |
|
59 <td>Constructor</td> |
|
60 </tr> |
|
61 <tr> |
|
62 <td><a href="#BookmarksImportDialog.__enableNextButton">__enableNextButton</a></td> |
|
63 <td>Private slot to set the enabled state of the next button.</td> |
|
64 </tr> |
|
65 <tr> |
|
66 <td><a href="#BookmarksImportDialog.getImportedBookmarks">getImportedBookmarks</a></td> |
|
67 <td>Public method to get the imported bookmarks.</td> |
|
68 </tr> |
|
69 <tr> |
|
70 <td><a href="#BookmarksImportDialog.on_cancelButton_clicked">on_cancelButton_clicked</a></td> |
|
71 <td>Private slot documentation goes here.</td> |
|
72 </tr> |
|
73 <tr> |
|
74 <td><a href="#BookmarksImportDialog.on_filePicker_textChanged">on_filePicker_textChanged</a></td> |
|
75 <td>Private slot handling changes of the file to import bookmarks form.</td> |
|
76 </tr> |
|
77 <tr> |
|
78 <td><a href="#BookmarksImportDialog.on_nextButton_clicked">on_nextButton_clicked</a></td> |
|
79 <td>Private slot to switch to the next page.</td> |
|
80 </tr> |
|
81 <tr> |
|
82 <td><a href="#BookmarksImportDialog.on_sourcesList_itemSelectionChanged">on_sourcesList_itemSelectionChanged</a></td> |
|
83 <td>Private slot to handle changes of the selection of the import source.</td> |
|
84 </tr> |
|
85 </table> |
|
86 <h3>Static Methods</h3> |
|
87 |
|
88 <table> |
|
89 <tr><td>None</td></tr> |
|
90 </table> |
|
91 |
|
92 <a NAME="BookmarksImportDialog.__init__" ID="BookmarksImportDialog.__init__"></a> |
|
93 <h4>BookmarksImportDialog (Constructor)</h4> |
|
94 <b>BookmarksImportDialog</b>(<i>parent=None</i>) |
|
95 |
|
96 <p> |
|
97 Constructor |
|
98 </p> |
|
99 <dl> |
|
100 |
|
101 <dt><i>parent</i></dt> |
|
102 <dd> |
|
103 reference to the parent widget (QWidget) |
|
104 </dd> |
|
105 </dl> |
|
106 <a NAME="BookmarksImportDialog.__enableNextButton" ID="BookmarksImportDialog.__enableNextButton"></a> |
|
107 <h4>BookmarksImportDialog.__enableNextButton</h4> |
|
108 <b>__enableNextButton</b>(<i></i>) |
|
109 |
|
110 <p> |
|
111 Private slot to set the enabled state of the next button. |
|
112 </p> |
|
113 <a NAME="BookmarksImportDialog.getImportedBookmarks" ID="BookmarksImportDialog.getImportedBookmarks"></a> |
|
114 <h4>BookmarksImportDialog.getImportedBookmarks</h4> |
|
115 <b>getImportedBookmarks</b>(<i></i>) |
|
116 |
|
117 <p> |
|
118 Public method to get the imported bookmarks. |
|
119 </p> |
|
120 <dl> |
|
121 <dt>Return:</dt> |
|
122 <dd> |
|
123 top level bookmark (BookmarkNode) |
|
124 </dd> |
|
125 </dl> |
|
126 <a NAME="BookmarksImportDialog.on_cancelButton_clicked" ID="BookmarksImportDialog.on_cancelButton_clicked"></a> |
|
127 <h4>BookmarksImportDialog.on_cancelButton_clicked</h4> |
|
128 <b>on_cancelButton_clicked</b>(<i></i>) |
|
129 |
|
130 <p> |
|
131 Private slot documentation goes here. |
|
132 </p> |
|
133 <a NAME="BookmarksImportDialog.on_filePicker_textChanged" ID="BookmarksImportDialog.on_filePicker_textChanged"></a> |
|
134 <h4>BookmarksImportDialog.on_filePicker_textChanged</h4> |
|
135 <b>on_filePicker_textChanged</b>(<i>txt</i>) |
|
136 |
|
137 <p> |
|
138 Private slot handling changes of the file to import bookmarks form. |
|
139 </p> |
|
140 <dl> |
|
141 |
|
142 <dt><i>txt</i></dt> |
|
143 <dd> |
|
144 text of the line edit (string) |
|
145 </dd> |
|
146 </dl> |
|
147 <a NAME="BookmarksImportDialog.on_nextButton_clicked" ID="BookmarksImportDialog.on_nextButton_clicked"></a> |
|
148 <h4>BookmarksImportDialog.on_nextButton_clicked</h4> |
|
149 <b>on_nextButton_clicked</b>(<i></i>) |
|
150 |
|
151 <p> |
|
152 Private slot to switch to the next page. |
|
153 </p> |
|
154 <a NAME="BookmarksImportDialog.on_sourcesList_itemSelectionChanged" ID="BookmarksImportDialog.on_sourcesList_itemSelectionChanged"></a> |
|
155 <h4>BookmarksImportDialog.on_sourcesList_itemSelectionChanged</h4> |
|
156 <b>on_sourcesList_itemSelectionChanged</b>(<i></i>) |
|
157 |
|
158 <p> |
|
159 Private slot to handle changes of the selection of the import source. |
|
160 </p> |
|
161 <div align="right"><a href="#top">Up</a></div> |
|
162 <hr /> |
|
163 </body></html> |