eric6/Documentation/Source/eric6.ViewManager.BookmarkedFilesDialog.html

changeset 6942
2602857055c5
parent 4602
48cc4820e2c2
child 7273
391d6b7b1eff
equal deleted inserted replaced
6941:f99d60d6b59b 6942:2602857055c5
1 <!DOCTYPE html>
2 <html><head>
3 <title>eric6.ViewManager.BookmarkedFilesDialog</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.ViewManager.BookmarkedFilesDialog</h1>
23 <p>
24 Module implementing a configuration dialog for the bookmarked files menu.
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="#BookmarkedFilesDialog">BookmarkedFilesDialog</a></td>
34 <td>Class implementing a configuration dialog for the bookmarked files menu.</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="BookmarkedFilesDialog" ID="BookmarkedFilesDialog"></a>
43 <h2>BookmarkedFilesDialog</h2>
44 <p>
45 Class implementing a configuration dialog for the bookmarked files menu.
46 </p>
47 <h3>Derived from</h3>
48 QDialog, Ui_BookmarkedFilesDialog
49 <h3>Class Attributes</h3>
50 <table>
51 <tr><td>None</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="#BookmarkedFilesDialog.__init__">BookmarkedFilesDialog</a></td>
61 <td>Constructor</td>
62 </tr><tr>
63 <td><a href="#BookmarkedFilesDialog.__swap">__swap</a></td>
64 <td>Private method used two swap two list entries given by their index.</td>
65 </tr><tr>
66 <td><a href="#BookmarkedFilesDialog.getBookmarkedFiles">getBookmarkedFiles</a></td>
67 <td>Public method to retrieve the tools list.</td>
68 </tr><tr>
69 <td><a href="#BookmarkedFilesDialog.on_addButton_clicked">on_addButton_clicked</a></td>
70 <td>Private slot to add a new entry.</td>
71 </tr><tr>
72 <td><a href="#BookmarkedFilesDialog.on_changeButton_clicked">on_changeButton_clicked</a></td>
73 <td>Private slot to change an entry.</td>
74 </tr><tr>
75 <td><a href="#BookmarkedFilesDialog.on_deleteButton_clicked">on_deleteButton_clicked</a></td>
76 <td>Private slot to delete the selected entry.</td>
77 </tr><tr>
78 <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>
80 </tr><tr>
81 <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>
83 </tr><tr>
84 <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>
86 </tr><tr>
87 <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>
89 </tr>
90 </table>
91 <h3>Static Methods</h3>
92 <table>
93 <tr><td>None</td></tr>
94 </table>
95 <a NAME="BookmarkedFilesDialog.__init__" ID="BookmarkedFilesDialog.__init__"></a>
96 <h4>BookmarkedFilesDialog (Constructor)</h4>
97 <b>BookmarkedFilesDialog</b>(<i>bookmarks, parent=None</i>)
98 <p>
99 Constructor
100 </p><dl>
101 <dt><i>bookmarks</i></dt>
102 <dd>
103 list of bookmarked files (list of strings)
104 </dd><dt><i>parent</i></dt>
105 <dd>
106 parent widget (QWidget)
107 </dd>
108 </dl><a NAME="BookmarkedFilesDialog.__swap" ID="BookmarkedFilesDialog.__swap"></a>
109 <h4>BookmarkedFilesDialog.__swap</h4>
110 <b>__swap</b>(<i>itm1, itm2</i>)
111 <p>
112 Private method used two swap two list entries given by their index.
113 </p><dl>
114 <dt><i>itm1</i></dt>
115 <dd>
116 index of first entry (int)
117 </dd><dt><i>itm2</i></dt>
118 <dd>
119 index of second entry (int)
120 </dd>
121 </dl><a NAME="BookmarkedFilesDialog.getBookmarkedFiles" ID="BookmarkedFilesDialog.getBookmarkedFiles"></a>
122 <h4>BookmarkedFilesDialog.getBookmarkedFiles</h4>
123 <b>getBookmarkedFiles</b>(<i></i>)
124 <p>
125 Public method to retrieve the tools list.
126 </p><dl>
127 <dt>Returns:</dt>
128 <dd>
129 a list of filenames (list of strings)
130 </dd>
131 </dl><a NAME="BookmarkedFilesDialog.on_addButton_clicked" ID="BookmarkedFilesDialog.on_addButton_clicked"></a>
132 <h4>BookmarkedFilesDialog.on_addButton_clicked</h4>
133 <b>on_addButton_clicked</b>(<i></i>)
134 <p>
135 Private slot to add a new entry.
136 </p><a NAME="BookmarkedFilesDialog.on_changeButton_clicked" ID="BookmarkedFilesDialog.on_changeButton_clicked"></a>
137 <h4>BookmarkedFilesDialog.on_changeButton_clicked</h4>
138 <b>on_changeButton_clicked</b>(<i></i>)
139 <p>
140 Private slot to change an entry.
141 </p><a NAME="BookmarkedFilesDialog.on_deleteButton_clicked" ID="BookmarkedFilesDialog.on_deleteButton_clicked"></a>
142 <h4>BookmarkedFilesDialog.on_deleteButton_clicked</h4>
143 <b>on_deleteButton_clicked</b>(<i></i>)
144 <p>
145 Private slot to delete the selected entry.
146 </p><a NAME="BookmarkedFilesDialog.on_downButton_clicked" ID="BookmarkedFilesDialog.on_downButton_clicked"></a>
147 <h4>BookmarkedFilesDialog.on_downButton_clicked</h4>
148 <b>on_downButton_clicked</b>(<i></i>)
149 <p>
150 Private slot to move an entry down in the list.
151 </p><a NAME="BookmarkedFilesDialog.on_filePicker_textChanged" ID="BookmarkedFilesDialog.on_filePicker_textChanged"></a>
152 <h4>BookmarkedFilesDialog.on_filePicker_textChanged</h4>
153 <b>on_filePicker_textChanged</b>(<i>txt</i>)
154 <p>
155 Private slot to handle the textChanged signal of the file edit.
156 </p><dl>
157 <dt><i>txt</i></dt>
158 <dd>
159 the text of the file edit (string)
160 </dd>
161 </dl><a NAME="BookmarkedFilesDialog.on_filesList_currentRowChanged" ID="BookmarkedFilesDialog.on_filesList_currentRowChanged"></a>
162 <h4>BookmarkedFilesDialog.on_filesList_currentRowChanged</h4>
163 <b>on_filesList_currentRowChanged</b>(<i>row</i>)
164 <p>
165 Private slot to set the lineedit depending on the selected entry.
166 </p><dl>
167 <dt><i>row</i></dt>
168 <dd>
169 the current row (integer)
170 </dd>
171 </dl><a NAME="BookmarkedFilesDialog.on_upButton_clicked" ID="BookmarkedFilesDialog.on_upButton_clicked"></a>
172 <h4>BookmarkedFilesDialog.on_upButton_clicked</h4>
173 <b>on_upButton_clicked</b>(<i></i>)
174 <p>
175 Private slot to move an entry up in the list.
176 </p>
177 <div align="right"><a href="#top">Up</a></div>
178 <hr />
179 </body></html>

eric ide

mercurial