|
1 <?xml version="1.0" encoding="utf-8"?> |
|
2 <!DOCTYPE html PUBLIC '-//W3C//DTD XHTML 1.0 Strict//EN' |
|
3 'http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd'> |
|
4 <html><head> |
|
5 <title>eric5.Helpviewer.Bookmarks.BookmarksImportDialog</title> |
|
6 <style> |
|
7 body { |
|
8 background: #EDECE6; |
|
9 margin: 0em 1em 10em 1em; |
|
10 color: black; |
|
11 } |
|
12 |
|
13 h1 { color: white; background: #85774A; } |
|
14 h2 { color: white; background: #85774A; } |
|
15 h3 { color: white; background: #9D936E; } |
|
16 h4 { color: white; background: #9D936E; } |
|
17 |
|
18 a { color: #BA6D36; } |
|
19 |
|
20 </style> |
|
21 </head> |
|
22 <body><a NAME="top" ID="top"></a> |
|
23 <h1>eric5.Helpviewer.Bookmarks.BookmarksImportDialog</h1> |
|
24 <p> |
|
25 Module implementing a dialog for importing bookmarks from other sources. |
|
26 </p> |
|
27 <h3>Global Attributes</h3> |
|
28 <table> |
|
29 <tr><td>None</td></tr> |
|
30 </table> |
|
31 <h3>Classes</h3> |
|
32 <table> |
|
33 <tr> |
|
34 <td><a href="#BookmarksImportDialog">BookmarksImportDialog</a></td> |
|
35 <td>Class implementing a dialog for importing bookmarks from other sources.</td> |
|
36 </tr> |
|
37 </table> |
|
38 <h3>Functions</h3> |
|
39 <table> |
|
40 <tr><td>None</td></tr> |
|
41 </table> |
|
42 <hr /><hr /> |
|
43 <a NAME="BookmarksImportDialog" ID="BookmarksImportDialog"></a> |
|
44 <h2>BookmarksImportDialog</h2> |
|
45 <p> |
|
46 Class implementing a dialog for importing bookmarks from other sources. |
|
47 </p> |
|
48 <h3>Derived from</h3> |
|
49 QDialog, Ui_BookmarksImportDialog |
|
50 <h3>Class Attributes</h3> |
|
51 <table> |
|
52 <tr><td>SourcesListIdRole</td></tr> |
|
53 </table> |
|
54 <h3>Class Methods</h3> |
|
55 <table> |
|
56 <tr><td>None</td></tr> |
|
57 </table> |
|
58 <h3>Methods</h3> |
|
59 <table> |
|
60 <tr> |
|
61 <td><a href="#BookmarksImportDialog.__init__">BookmarksImportDialog</a></td> |
|
62 <td>Constructor</td> |
|
63 </tr><tr> |
|
64 <td><a href="#BookmarksImportDialog.__enableNextButton">__enableNextButton</a></td> |
|
65 <td>Private slot to set the enabled state of the next button.</td> |
|
66 </tr><tr> |
|
67 <td><a href="#BookmarksImportDialog.getImportedBookmarks">getImportedBookmarks</a></td> |
|
68 <td>Public method to get the imported bookmarks.</td> |
|
69 </tr><tr> |
|
70 <td><a href="#BookmarksImportDialog.on_cancelButton_clicked">on_cancelButton_clicked</a></td> |
|
71 <td>Slot documentation goes here.</td> |
|
72 </tr><tr> |
|
73 <td><a href="#BookmarksImportDialog.on_chooseButton_clicked">on_chooseButton_clicked</a></td> |
|
74 <td>Private slot to choose the bookmarks file or directory.</td> |
|
75 </tr><tr> |
|
76 <td><a href="#BookmarksImportDialog.on_fileEdit_textChanged">on_fileEdit_textChanged</a></td> |
|
77 <td>Private slot handling changes of the file to import bookmarks from.</td> |
|
78 </tr><tr> |
|
79 <td><a href="#BookmarksImportDialog.on_nextButton_clicked">on_nextButton_clicked</a></td> |
|
80 <td>Private slot to switch to the next page.</td> |
|
81 </tr><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 <table> |
|
88 <tr><td>None</td></tr> |
|
89 </table> |
|
90 <a NAME="BookmarksImportDialog.__init__" ID="BookmarksImportDialog.__init__"></a> |
|
91 <h4>BookmarksImportDialog (Constructor)</h4> |
|
92 <b>BookmarksImportDialog</b>(<i>parent=None</i>) |
|
93 <p> |
|
94 Constructor |
|
95 </p><dl> |
|
96 <dt><i>parent</i></dt> |
|
97 <dd> |
|
98 reference to the parent widget (QWidget) |
|
99 </dd> |
|
100 </dl><a NAME="BookmarksImportDialog.__enableNextButton" ID="BookmarksImportDialog.__enableNextButton"></a> |
|
101 <h4>BookmarksImportDialog.__enableNextButton</h4> |
|
102 <b>__enableNextButton</b>(<i></i>) |
|
103 <p> |
|
104 Private slot to set the enabled state of the next button. |
|
105 </p><a NAME="BookmarksImportDialog.getImportedBookmarks" ID="BookmarksImportDialog.getImportedBookmarks"></a> |
|
106 <h4>BookmarksImportDialog.getImportedBookmarks</h4> |
|
107 <b>getImportedBookmarks</b>(<i></i>) |
|
108 <p> |
|
109 Public method to get the imported bookmarks. |
|
110 </p><dl> |
|
111 <dt>Returns:</dt> |
|
112 <dd> |
|
113 top level bookmark (BookmarkNode) |
|
114 </dd> |
|
115 </dl><a NAME="BookmarksImportDialog.on_cancelButton_clicked" ID="BookmarksImportDialog.on_cancelButton_clicked"></a> |
|
116 <h4>BookmarksImportDialog.on_cancelButton_clicked</h4> |
|
117 <b>on_cancelButton_clicked</b>(<i></i>) |
|
118 <p> |
|
119 Slot documentation goes here. |
|
120 </p><a NAME="BookmarksImportDialog.on_chooseButton_clicked" ID="BookmarksImportDialog.on_chooseButton_clicked"></a> |
|
121 <h4>BookmarksImportDialog.on_chooseButton_clicked</h4> |
|
122 <b>on_chooseButton_clicked</b>(<i></i>) |
|
123 <p> |
|
124 Private slot to choose the bookmarks file or directory. |
|
125 </p><a NAME="BookmarksImportDialog.on_fileEdit_textChanged" ID="BookmarksImportDialog.on_fileEdit_textChanged"></a> |
|
126 <h4>BookmarksImportDialog.on_fileEdit_textChanged</h4> |
|
127 <b>on_fileEdit_textChanged</b>(<i>txt</i>) |
|
128 <p> |
|
129 Private slot handling changes of the file to import bookmarks from. |
|
130 </p><dl> |
|
131 <dt><i>txt</i></dt> |
|
132 <dd> |
|
133 text of the line edit (string) |
|
134 </dd> |
|
135 </dl><a NAME="BookmarksImportDialog.on_nextButton_clicked" ID="BookmarksImportDialog.on_nextButton_clicked"></a> |
|
136 <h4>BookmarksImportDialog.on_nextButton_clicked</h4> |
|
137 <b>on_nextButton_clicked</b>(<i></i>) |
|
138 <p> |
|
139 Private slot to switch to the next page. |
|
140 </p><a NAME="BookmarksImportDialog.on_sourcesList_itemSelectionChanged" ID="BookmarksImportDialog.on_sourcesList_itemSelectionChanged"></a> |
|
141 <h4>BookmarksImportDialog.on_sourcesList_itemSelectionChanged</h4> |
|
142 <b>on_sourcesList_itemSelectionChanged</b>(<i></i>) |
|
143 <p> |
|
144 Private slot to handle changes of the selection of the import source. |
|
145 </p> |
|
146 <div align="right"><a href="#top">Up</a></div> |
|
147 <hr /> |
|
148 </body></html> |