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