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