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