eric7/Documentation/Source/eric7.Project.ProjectOthersBrowser.html

branch
eric7
changeset 8372
e0227a7c850e
child 8596
d64760b2da50
equal deleted inserted replaced
8371:d6062691d424 8372:e0227a7c850e
1 <!DOCTYPE html>
2 <html><head>
3 <title>eric7.Project.ProjectOthersBrowser</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.Project.ProjectOthersBrowser</h1>
24
25 <p>
26 Module implementing a class used to display the parts of the project, that
27 don't fit the other categories.
28 </p>
29 <h3>Global Attributes</h3>
30
31 <table>
32 <tr><td>None</td></tr>
33 </table>
34 <h3>Classes</h3>
35
36 <table>
37
38 <tr>
39 <td><a href="#ProjectOthersBrowser">ProjectOthersBrowser</a></td>
40 <td>A class used to display the parts of the project, that don't fit the other categories.</td>
41 </tr>
42 </table>
43 <h3>Functions</h3>
44
45 <table>
46 <tr><td>None</td></tr>
47 </table>
48 <hr />
49 <hr />
50 <a NAME="ProjectOthersBrowser" ID="ProjectOthersBrowser"></a>
51 <h2>ProjectOthersBrowser</h2>
52
53 <p>
54 A class used to display the parts of the project, that don't fit the
55 other categories.
56 </p>
57 <h3>Signals</h3>
58 <dl>
59
60 <dt>showMenu(str, QMenu)</dt>
61 <dd>
62 emitted when a menu is about to be shown.
63 The name of the menu and a reference to the menu are given.
64 </dd>
65 </dl>
66 <h3>Derived from</h3>
67 ProjectBaseBrowser
68 <h3>Class Attributes</h3>
69
70 <table>
71 <tr><td>None</td></tr>
72 </table>
73 <h3>Class Methods</h3>
74
75 <table>
76 <tr><td>None</td></tr>
77 </table>
78 <h3>Methods</h3>
79
80 <table>
81
82 <tr>
83 <td><a href="#ProjectOthersBrowser.__init__">ProjectOthersBrowser</a></td>
84 <td>Constructor</td>
85 </tr>
86 <tr>
87 <td><a href="#ProjectOthersBrowser.__deleteItem">__deleteItem</a></td>
88 <td>Private method to delete the selected entry from the OTHERS project data area.</td>
89 </tr>
90 <tr>
91 <td><a href="#ProjectOthersBrowser.__refreshItem">__refreshItem</a></td>
92 <td>Private slot to refresh (repopulate) an item.</td>
93 </tr>
94 <tr>
95 <td><a href="#ProjectOthersBrowser.__removeItem">__removeItem</a></td>
96 <td>Private slot to remove the selected entry from the OTHERS project data area.</td>
97 </tr>
98 <tr>
99 <td><a href="#ProjectOthersBrowser.__showContextMenu">__showContextMenu</a></td>
100 <td>Private slot called by the menu aboutToShow signal.</td>
101 </tr>
102 <tr>
103 <td><a href="#ProjectOthersBrowser.__showContextMenuBack">__showContextMenuBack</a></td>
104 <td>Private slot called by the backMenu aboutToShow signal.</td>
105 </tr>
106 <tr>
107 <td><a href="#ProjectOthersBrowser.__showContextMenuMulti">__showContextMenuMulti</a></td>
108 <td>Private slot called by the multiMenu aboutToShow signal.</td>
109 </tr>
110 <tr>
111 <td><a href="#ProjectOthersBrowser.__showMimeType">__showMimeType</a></td>
112 <td>Private slot to show the mime type of the selected entry.</td>
113 </tr>
114 <tr>
115 <td><a href="#ProjectOthersBrowser._contextMenuRequested">_contextMenuRequested</a></td>
116 <td>Protected slot to show the context menu.</td>
117 </tr>
118 <tr>
119 <td><a href="#ProjectOthersBrowser._createPopupMenus">_createPopupMenus</a></td>
120 <td>Protected overloaded method to generate the popup menu.</td>
121 </tr>
122 <tr>
123 <td><a href="#ProjectOthersBrowser._editPixmap">_editPixmap</a></td>
124 <td>Protected slot to handle the open in icon editor popup menu entry.</td>
125 </tr>
126 <tr>
127 <td><a href="#ProjectOthersBrowser._openHexEditor">_openHexEditor</a></td>
128 <td>Protected slot to handle the open in hex editor popup menu entry.</td>
129 </tr>
130 <tr>
131 <td><a href="#ProjectOthersBrowser._openItem">_openItem</a></td>
132 <td>Protected slot to handle the open popup menu entry.</td>
133 </tr>
134 <tr>
135 <td><a href="#ProjectOthersBrowser._showContextMenu">_showContextMenu</a></td>
136 <td>Protected slot called before the context menu is shown.</td>
137 </tr>
138 </table>
139 <h3>Static Methods</h3>
140
141 <table>
142 <tr><td>None</td></tr>
143 </table>
144
145 <a NAME="ProjectOthersBrowser.__init__" ID="ProjectOthersBrowser.__init__"></a>
146 <h4>ProjectOthersBrowser (Constructor)</h4>
147 <b>ProjectOthersBrowser</b>(<i>project, parent=None</i>)
148
149 <p>
150 Constructor
151 </p>
152 <dl>
153
154 <dt><i>project</i></dt>
155 <dd>
156 reference to the project object
157 </dd>
158 <dt><i>parent</i></dt>
159 <dd>
160 parent widget of this browser (QWidget)
161 </dd>
162 </dl>
163 <a NAME="ProjectOthersBrowser.__deleteItem" ID="ProjectOthersBrowser.__deleteItem"></a>
164 <h4>ProjectOthersBrowser.__deleteItem</h4>
165 <b>__deleteItem</b>(<i></i>)
166
167 <p>
168 Private method to delete the selected entry from the OTHERS project
169 data area.
170 </p>
171 <a NAME="ProjectOthersBrowser.__refreshItem" ID="ProjectOthersBrowser.__refreshItem"></a>
172 <h4>ProjectOthersBrowser.__refreshItem</h4>
173 <b>__refreshItem</b>(<i></i>)
174
175 <p>
176 Private slot to refresh (repopulate) an item.
177 </p>
178 <a NAME="ProjectOthersBrowser.__removeItem" ID="ProjectOthersBrowser.__removeItem"></a>
179 <h4>ProjectOthersBrowser.__removeItem</h4>
180 <b>__removeItem</b>(<i></i>)
181
182 <p>
183 Private slot to remove the selected entry from the OTHERS project
184 data area.
185 </p>
186 <a NAME="ProjectOthersBrowser.__showContextMenu" ID="ProjectOthersBrowser.__showContextMenu"></a>
187 <h4>ProjectOthersBrowser.__showContextMenu</h4>
188 <b>__showContextMenu</b>(<i></i>)
189
190 <p>
191 Private slot called by the menu aboutToShow signal.
192 </p>
193 <a NAME="ProjectOthersBrowser.__showContextMenuBack" ID="ProjectOthersBrowser.__showContextMenuBack"></a>
194 <h4>ProjectOthersBrowser.__showContextMenuBack</h4>
195 <b>__showContextMenuBack</b>(<i></i>)
196
197 <p>
198 Private slot called by the backMenu aboutToShow signal.
199 </p>
200 <a NAME="ProjectOthersBrowser.__showContextMenuMulti" ID="ProjectOthersBrowser.__showContextMenuMulti"></a>
201 <h4>ProjectOthersBrowser.__showContextMenuMulti</h4>
202 <b>__showContextMenuMulti</b>(<i></i>)
203
204 <p>
205 Private slot called by the multiMenu aboutToShow signal.
206 </p>
207 <a NAME="ProjectOthersBrowser.__showMimeType" ID="ProjectOthersBrowser.__showMimeType"></a>
208 <h4>ProjectOthersBrowser.__showMimeType</h4>
209 <b>__showMimeType</b>(<i></i>)
210
211 <p>
212 Private slot to show the mime type of the selected entry.
213 </p>
214 <a NAME="ProjectOthersBrowser._contextMenuRequested" ID="ProjectOthersBrowser._contextMenuRequested"></a>
215 <h4>ProjectOthersBrowser._contextMenuRequested</h4>
216 <b>_contextMenuRequested</b>(<i>coord</i>)
217
218 <p>
219 Protected slot to show the context menu.
220 </p>
221 <dl>
222
223 <dt><i>coord</i></dt>
224 <dd>
225 the position of the mouse pointer (QPoint)
226 </dd>
227 </dl>
228 <a NAME="ProjectOthersBrowser._createPopupMenus" ID="ProjectOthersBrowser._createPopupMenus"></a>
229 <h4>ProjectOthersBrowser._createPopupMenus</h4>
230 <b>_createPopupMenus</b>(<i></i>)
231
232 <p>
233 Protected overloaded method to generate the popup menu.
234 </p>
235 <a NAME="ProjectOthersBrowser._editPixmap" ID="ProjectOthersBrowser._editPixmap"></a>
236 <h4>ProjectOthersBrowser._editPixmap</h4>
237 <b>_editPixmap</b>(<i></i>)
238
239 <p>
240 Protected slot to handle the open in icon editor popup menu entry.
241 </p>
242 <a NAME="ProjectOthersBrowser._openHexEditor" ID="ProjectOthersBrowser._openHexEditor"></a>
243 <h4>ProjectOthersBrowser._openHexEditor</h4>
244 <b>_openHexEditor</b>(<i></i>)
245
246 <p>
247 Protected slot to handle the open in hex editor popup menu entry.
248 </p>
249 <a NAME="ProjectOthersBrowser._openItem" ID="ProjectOthersBrowser._openItem"></a>
250 <h4>ProjectOthersBrowser._openItem</h4>
251 <b>_openItem</b>(<i></i>)
252
253 <p>
254 Protected slot to handle the open popup menu entry.
255 </p>
256 <a NAME="ProjectOthersBrowser._showContextMenu" ID="ProjectOthersBrowser._showContextMenu"></a>
257 <h4>ProjectOthersBrowser._showContextMenu</h4>
258 <b>_showContextMenu</b>(<i>menu</i>)
259
260 <p>
261 Protected slot called before the context menu is shown.
262 </p>
263 <p>
264 It enables/disables the VCS menu entries depending on the overall
265 VCS status and the file status.
266 </p>
267 <dl>
268
269 <dt><i>menu</i></dt>
270 <dd>
271 Reference to the popup menu (QPopupMenu)
272 </dd>
273 </dl>
274 <div align="right"><a href="#top">Up</a></div>
275 <hr />
276 </body></html>

eric ide

mercurial