16 |
16 |
17 a { color: #BA6D36; } |
17 a { color: #BA6D36; } |
18 |
18 |
19 </style> |
19 </style> |
20 </head> |
20 </head> |
21 <body><a NAME="top" ID="top"></a> |
21 <body> |
|
22 <a NAME="top" ID="top"></a> |
22 <h1>eric6.ViewManager.BookmarkedFilesDialog</h1> |
23 <h1>eric6.ViewManager.BookmarkedFilesDialog</h1> |
|
24 |
23 <p> |
25 <p> |
24 Module implementing a configuration dialog for the bookmarked files menu. |
26 Module implementing a configuration dialog for the bookmarked files menu. |
25 </p> |
27 </p> |
26 <h3>Global Attributes</h3> |
28 <h3>Global Attributes</h3> |
|
29 |
27 <table> |
30 <table> |
28 <tr><td>None</td></tr> |
31 <tr><td>None</td></tr> |
29 </table> |
32 </table> |
30 <h3>Classes</h3> |
33 <h3>Classes</h3> |
31 <table> |
34 |
|
35 <table> |
|
36 |
32 <tr> |
37 <tr> |
33 <td><a href="#BookmarkedFilesDialog">BookmarkedFilesDialog</a></td> |
38 <td><a href="#BookmarkedFilesDialog">BookmarkedFilesDialog</a></td> |
34 <td>Class implementing a configuration dialog for the bookmarked files menu.</td> |
39 <td>Class implementing a configuration dialog for the bookmarked files menu.</td> |
35 </tr> |
40 </tr> |
36 </table> |
41 </table> |
37 <h3>Functions</h3> |
42 <h3>Functions</h3> |
38 <table> |
43 |
39 <tr><td>None</td></tr> |
44 <table> |
40 </table> |
45 <tr><td>None</td></tr> |
41 <hr /><hr /> |
46 </table> |
|
47 <hr /> |
|
48 <hr /> |
42 <a NAME="BookmarkedFilesDialog" ID="BookmarkedFilesDialog"></a> |
49 <a NAME="BookmarkedFilesDialog" ID="BookmarkedFilesDialog"></a> |
43 <h2>BookmarkedFilesDialog</h2> |
50 <h2>BookmarkedFilesDialog</h2> |
|
51 |
44 <p> |
52 <p> |
45 Class implementing a configuration dialog for the bookmarked files menu. |
53 Class implementing a configuration dialog for the bookmarked files menu. |
46 </p> |
54 </p> |
47 <h3>Derived from</h3> |
55 <h3>Derived from</h3> |
48 QDialog, Ui_BookmarkedFilesDialog |
56 QDialog, Ui_BookmarkedFilesDialog |
49 <h3>Class Attributes</h3> |
57 <h3>Class Attributes</h3> |
|
58 |
50 <table> |
59 <table> |
51 <tr><td>None</td></tr> |
60 <tr><td>None</td></tr> |
52 </table> |
61 </table> |
53 <h3>Class Methods</h3> |
62 <h3>Class Methods</h3> |
|
63 |
54 <table> |
64 <table> |
55 <tr><td>None</td></tr> |
65 <tr><td>None</td></tr> |
56 </table> |
66 </table> |
57 <h3>Methods</h3> |
67 <h3>Methods</h3> |
58 <table> |
68 |
|
69 <table> |
|
70 |
59 <tr> |
71 <tr> |
60 <td><a href="#BookmarkedFilesDialog.__init__">BookmarkedFilesDialog</a></td> |
72 <td><a href="#BookmarkedFilesDialog.__init__">BookmarkedFilesDialog</a></td> |
61 <td>Constructor</td> |
73 <td>Constructor</td> |
62 </tr><tr> |
74 </tr> |
|
75 <tr> |
63 <td><a href="#BookmarkedFilesDialog.__swap">__swap</a></td> |
76 <td><a href="#BookmarkedFilesDialog.__swap">__swap</a></td> |
64 <td>Private method used two swap two list entries given by their index.</td> |
77 <td>Private method used two swap two list entries given by their index.</td> |
65 </tr><tr> |
78 </tr> |
|
79 <tr> |
66 <td><a href="#BookmarkedFilesDialog.getBookmarkedFiles">getBookmarkedFiles</a></td> |
80 <td><a href="#BookmarkedFilesDialog.getBookmarkedFiles">getBookmarkedFiles</a></td> |
67 <td>Public method to retrieve the tools list.</td> |
81 <td>Public method to retrieve the tools list.</td> |
68 </tr><tr> |
82 </tr> |
|
83 <tr> |
69 <td><a href="#BookmarkedFilesDialog.on_addButton_clicked">on_addButton_clicked</a></td> |
84 <td><a href="#BookmarkedFilesDialog.on_addButton_clicked">on_addButton_clicked</a></td> |
70 <td>Private slot to add a new entry.</td> |
85 <td>Private slot to add a new entry.</td> |
71 </tr><tr> |
86 </tr> |
|
87 <tr> |
72 <td><a href="#BookmarkedFilesDialog.on_changeButton_clicked">on_changeButton_clicked</a></td> |
88 <td><a href="#BookmarkedFilesDialog.on_changeButton_clicked">on_changeButton_clicked</a></td> |
73 <td>Private slot to change an entry.</td> |
89 <td>Private slot to change an entry.</td> |
74 </tr><tr> |
90 </tr> |
|
91 <tr> |
75 <td><a href="#BookmarkedFilesDialog.on_deleteButton_clicked">on_deleteButton_clicked</a></td> |
92 <td><a href="#BookmarkedFilesDialog.on_deleteButton_clicked">on_deleteButton_clicked</a></td> |
76 <td>Private slot to delete the selected entry.</td> |
93 <td>Private slot to delete the selected entry.</td> |
77 </tr><tr> |
94 </tr> |
|
95 <tr> |
78 <td><a href="#BookmarkedFilesDialog.on_downButton_clicked">on_downButton_clicked</a></td> |
96 <td><a href="#BookmarkedFilesDialog.on_downButton_clicked">on_downButton_clicked</a></td> |
79 <td>Private slot to move an entry down in the list.</td> |
97 <td>Private slot to move an entry down in the list.</td> |
80 </tr><tr> |
98 </tr> |
|
99 <tr> |
81 <td><a href="#BookmarkedFilesDialog.on_filePicker_textChanged">on_filePicker_textChanged</a></td> |
100 <td><a href="#BookmarkedFilesDialog.on_filePicker_textChanged">on_filePicker_textChanged</a></td> |
82 <td>Private slot to handle the textChanged signal of the file edit.</td> |
101 <td>Private slot to handle the textChanged signal of the file edit.</td> |
83 </tr><tr> |
102 </tr> |
|
103 <tr> |
84 <td><a href="#BookmarkedFilesDialog.on_filesList_currentRowChanged">on_filesList_currentRowChanged</a></td> |
104 <td><a href="#BookmarkedFilesDialog.on_filesList_currentRowChanged">on_filesList_currentRowChanged</a></td> |
85 <td>Private slot to set the lineedit depending on the selected entry.</td> |
105 <td>Private slot to set the lineedit depending on the selected entry.</td> |
86 </tr><tr> |
106 </tr> |
|
107 <tr> |
87 <td><a href="#BookmarkedFilesDialog.on_upButton_clicked">on_upButton_clicked</a></td> |
108 <td><a href="#BookmarkedFilesDialog.on_upButton_clicked">on_upButton_clicked</a></td> |
88 <td>Private slot to move an entry up in the list.</td> |
109 <td>Private slot to move an entry up in the list.</td> |
89 </tr> |
110 </tr> |
90 </table> |
111 </table> |
91 <h3>Static Methods</h3> |
112 <h3>Static Methods</h3> |
92 <table> |
113 |
93 <tr><td>None</td></tr> |
114 <table> |
94 </table> |
115 <tr><td>None</td></tr> |
|
116 </table> |
|
117 |
95 <a NAME="BookmarkedFilesDialog.__init__" ID="BookmarkedFilesDialog.__init__"></a> |
118 <a NAME="BookmarkedFilesDialog.__init__" ID="BookmarkedFilesDialog.__init__"></a> |
96 <h4>BookmarkedFilesDialog (Constructor)</h4> |
119 <h4>BookmarkedFilesDialog (Constructor)</h4> |
97 <b>BookmarkedFilesDialog</b>(<i>bookmarks, parent=None</i>) |
120 <b>BookmarkedFilesDialog</b>(<i>bookmarks, parent=None</i>) |
|
121 |
98 <p> |
122 <p> |
99 Constructor |
123 Constructor |
100 </p><dl> |
124 </p> |
|
125 <dl> |
|
126 |
101 <dt><i>bookmarks</i></dt> |
127 <dt><i>bookmarks</i></dt> |
102 <dd> |
128 <dd> |
103 list of bookmarked files (list of strings) |
129 list of bookmarked files (list of strings) |
104 </dd><dt><i>parent</i></dt> |
130 </dd> |
|
131 <dt><i>parent</i></dt> |
105 <dd> |
132 <dd> |
106 parent widget (QWidget) |
133 parent widget (QWidget) |
107 </dd> |
134 </dd> |
108 </dl><a NAME="BookmarkedFilesDialog.__swap" ID="BookmarkedFilesDialog.__swap"></a> |
135 </dl> |
|
136 <a NAME="BookmarkedFilesDialog.__swap" ID="BookmarkedFilesDialog.__swap"></a> |
109 <h4>BookmarkedFilesDialog.__swap</h4> |
137 <h4>BookmarkedFilesDialog.__swap</h4> |
110 <b>__swap</b>(<i>itm1, itm2</i>) |
138 <b>__swap</b>(<i>itm1, itm2</i>) |
|
139 |
111 <p> |
140 <p> |
112 Private method used two swap two list entries given by their index. |
141 Private method used two swap two list entries given by their index. |
113 </p><dl> |
142 </p> |
|
143 <dl> |
|
144 |
114 <dt><i>itm1</i></dt> |
145 <dt><i>itm1</i></dt> |
115 <dd> |
146 <dd> |
116 index of first entry (int) |
147 index of first entry (int) |
117 </dd><dt><i>itm2</i></dt> |
148 </dd> |
|
149 <dt><i>itm2</i></dt> |
118 <dd> |
150 <dd> |
119 index of second entry (int) |
151 index of second entry (int) |
120 </dd> |
152 </dd> |
121 </dl><a NAME="BookmarkedFilesDialog.getBookmarkedFiles" ID="BookmarkedFilesDialog.getBookmarkedFiles"></a> |
153 </dl> |
|
154 <a NAME="BookmarkedFilesDialog.getBookmarkedFiles" ID="BookmarkedFilesDialog.getBookmarkedFiles"></a> |
122 <h4>BookmarkedFilesDialog.getBookmarkedFiles</h4> |
155 <h4>BookmarkedFilesDialog.getBookmarkedFiles</h4> |
123 <b>getBookmarkedFiles</b>(<i></i>) |
156 <b>getBookmarkedFiles</b>(<i></i>) |
|
157 |
124 <p> |
158 <p> |
125 Public method to retrieve the tools list. |
159 Public method to retrieve the tools list. |
126 </p><dl> |
160 </p> |
|
161 <dl> |
127 <dt>Returns:</dt> |
162 <dt>Returns:</dt> |
128 <dd> |
163 <dd> |
129 a list of filenames (list of strings) |
164 a list of filenames (list of strings) |
130 </dd> |
165 </dd> |
131 </dl><a NAME="BookmarkedFilesDialog.on_addButton_clicked" ID="BookmarkedFilesDialog.on_addButton_clicked"></a> |
166 </dl> |
|
167 <a NAME="BookmarkedFilesDialog.on_addButton_clicked" ID="BookmarkedFilesDialog.on_addButton_clicked"></a> |
132 <h4>BookmarkedFilesDialog.on_addButton_clicked</h4> |
168 <h4>BookmarkedFilesDialog.on_addButton_clicked</h4> |
133 <b>on_addButton_clicked</b>(<i></i>) |
169 <b>on_addButton_clicked</b>(<i></i>) |
|
170 |
134 <p> |
171 <p> |
135 Private slot to add a new entry. |
172 Private slot to add a new entry. |
136 </p><a NAME="BookmarkedFilesDialog.on_changeButton_clicked" ID="BookmarkedFilesDialog.on_changeButton_clicked"></a> |
173 </p> |
|
174 <a NAME="BookmarkedFilesDialog.on_changeButton_clicked" ID="BookmarkedFilesDialog.on_changeButton_clicked"></a> |
137 <h4>BookmarkedFilesDialog.on_changeButton_clicked</h4> |
175 <h4>BookmarkedFilesDialog.on_changeButton_clicked</h4> |
138 <b>on_changeButton_clicked</b>(<i></i>) |
176 <b>on_changeButton_clicked</b>(<i></i>) |
|
177 |
139 <p> |
178 <p> |
140 Private slot to change an entry. |
179 Private slot to change an entry. |
141 </p><a NAME="BookmarkedFilesDialog.on_deleteButton_clicked" ID="BookmarkedFilesDialog.on_deleteButton_clicked"></a> |
180 </p> |
|
181 <a NAME="BookmarkedFilesDialog.on_deleteButton_clicked" ID="BookmarkedFilesDialog.on_deleteButton_clicked"></a> |
142 <h4>BookmarkedFilesDialog.on_deleteButton_clicked</h4> |
182 <h4>BookmarkedFilesDialog.on_deleteButton_clicked</h4> |
143 <b>on_deleteButton_clicked</b>(<i></i>) |
183 <b>on_deleteButton_clicked</b>(<i></i>) |
|
184 |
144 <p> |
185 <p> |
145 Private slot to delete the selected entry. |
186 Private slot to delete the selected entry. |
146 </p><a NAME="BookmarkedFilesDialog.on_downButton_clicked" ID="BookmarkedFilesDialog.on_downButton_clicked"></a> |
187 </p> |
|
188 <a NAME="BookmarkedFilesDialog.on_downButton_clicked" ID="BookmarkedFilesDialog.on_downButton_clicked"></a> |
147 <h4>BookmarkedFilesDialog.on_downButton_clicked</h4> |
189 <h4>BookmarkedFilesDialog.on_downButton_clicked</h4> |
148 <b>on_downButton_clicked</b>(<i></i>) |
190 <b>on_downButton_clicked</b>(<i></i>) |
|
191 |
149 <p> |
192 <p> |
150 Private slot to move an entry down in the list. |
193 Private slot to move an entry down in the list. |
151 </p><a NAME="BookmarkedFilesDialog.on_filePicker_textChanged" ID="BookmarkedFilesDialog.on_filePicker_textChanged"></a> |
194 </p> |
|
195 <a NAME="BookmarkedFilesDialog.on_filePicker_textChanged" ID="BookmarkedFilesDialog.on_filePicker_textChanged"></a> |
152 <h4>BookmarkedFilesDialog.on_filePicker_textChanged</h4> |
196 <h4>BookmarkedFilesDialog.on_filePicker_textChanged</h4> |
153 <b>on_filePicker_textChanged</b>(<i>txt</i>) |
197 <b>on_filePicker_textChanged</b>(<i>txt</i>) |
|
198 |
154 <p> |
199 <p> |
155 Private slot to handle the textChanged signal of the file edit. |
200 Private slot to handle the textChanged signal of the file edit. |
156 </p><dl> |
201 </p> |
|
202 <dl> |
|
203 |
157 <dt><i>txt</i></dt> |
204 <dt><i>txt</i></dt> |
158 <dd> |
205 <dd> |
159 the text of the file edit (string) |
206 the text of the file edit (string) |
160 </dd> |
207 </dd> |
161 </dl><a NAME="BookmarkedFilesDialog.on_filesList_currentRowChanged" ID="BookmarkedFilesDialog.on_filesList_currentRowChanged"></a> |
208 </dl> |
|
209 <a NAME="BookmarkedFilesDialog.on_filesList_currentRowChanged" ID="BookmarkedFilesDialog.on_filesList_currentRowChanged"></a> |
162 <h4>BookmarkedFilesDialog.on_filesList_currentRowChanged</h4> |
210 <h4>BookmarkedFilesDialog.on_filesList_currentRowChanged</h4> |
163 <b>on_filesList_currentRowChanged</b>(<i>row</i>) |
211 <b>on_filesList_currentRowChanged</b>(<i>row</i>) |
|
212 |
164 <p> |
213 <p> |
165 Private slot to set the lineedit depending on the selected entry. |
214 Private slot to set the lineedit depending on the selected entry. |
166 </p><dl> |
215 </p> |
|
216 <dl> |
|
217 |
167 <dt><i>row</i></dt> |
218 <dt><i>row</i></dt> |
168 <dd> |
219 <dd> |
169 the current row (integer) |
220 the current row (integer) |
170 </dd> |
221 </dd> |
171 </dl><a NAME="BookmarkedFilesDialog.on_upButton_clicked" ID="BookmarkedFilesDialog.on_upButton_clicked"></a> |
222 </dl> |
|
223 <a NAME="BookmarkedFilesDialog.on_upButton_clicked" ID="BookmarkedFilesDialog.on_upButton_clicked"></a> |
172 <h4>BookmarkedFilesDialog.on_upButton_clicked</h4> |
224 <h4>BookmarkedFilesDialog.on_upButton_clicked</h4> |
173 <b>on_upButton_clicked</b>(<i></i>) |
225 <b>on_upButton_clicked</b>(<i></i>) |
|
226 |
174 <p> |
227 <p> |
175 Private slot to move an entry up in the list. |
228 Private slot to move an entry up in the list. |
176 </p> |
229 </p> |
177 <div align="right"><a href="#top">Up</a></div> |
230 <div align="right"><a href="#top">Up</a></div> |
178 <hr /> |
231 <hr /> |