|
1 <!DOCTYPE html> |
|
2 <html><head> |
|
3 <title>eric6.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><a NAME="top" ID="top"></a> |
|
22 <h1>eric6.Project.ProjectOthersBrowser</h1> |
|
23 <p> |
|
24 Module implementing a class used to display the parts of the project, that |
|
25 don't fit the other categories. |
|
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="#ProjectOthersBrowser">ProjectOthersBrowser</a></td> |
|
35 <td>A class used to display the parts of the project, that don't fit the other categories.</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="ProjectOthersBrowser" ID="ProjectOthersBrowser"></a> |
|
44 <h2>ProjectOthersBrowser</h2> |
|
45 <p> |
|
46 A class used to display the parts of the project, that don't fit the |
|
47 other categories. |
|
48 </p><h3>Signals</h3> |
|
49 <dl> |
|
50 <dt>showMenu(str, QMenu)</dt> |
|
51 <dd> |
|
52 emitted when a menu is about to be shown. |
|
53 The name of the menu and a reference to the menu are given. |
|
54 </dd> |
|
55 </dl> |
|
56 <h3>Derived from</h3> |
|
57 ProjectBaseBrowser |
|
58 <h3>Class Attributes</h3> |
|
59 <table> |
|
60 <tr><td>None</td></tr> |
|
61 </table> |
|
62 <h3>Class Methods</h3> |
|
63 <table> |
|
64 <tr><td>None</td></tr> |
|
65 </table> |
|
66 <h3>Methods</h3> |
|
67 <table> |
|
68 <tr> |
|
69 <td><a href="#ProjectOthersBrowser.__init__">ProjectOthersBrowser</a></td> |
|
70 <td>Constructor</td> |
|
71 </tr><tr> |
|
72 <td><a href="#ProjectOthersBrowser.__deleteItem">__deleteItem</a></td> |
|
73 <td>Private method to delete the selected entry from the OTHERS project data area.</td> |
|
74 </tr><tr> |
|
75 <td><a href="#ProjectOthersBrowser.__refreshItem">__refreshItem</a></td> |
|
76 <td>Private slot to refresh (repopulate) an item.</td> |
|
77 </tr><tr> |
|
78 <td><a href="#ProjectOthersBrowser.__removeItem">__removeItem</a></td> |
|
79 <td>Private slot to remove the selected entry from the OTHERS project data area.</td> |
|
80 </tr><tr> |
|
81 <td><a href="#ProjectOthersBrowser.__showContextMenu">__showContextMenu</a></td> |
|
82 <td>Private slot called by the menu aboutToShow signal.</td> |
|
83 </tr><tr> |
|
84 <td><a href="#ProjectOthersBrowser.__showContextMenuBack">__showContextMenuBack</a></td> |
|
85 <td>Private slot called by the backMenu aboutToShow signal.</td> |
|
86 </tr><tr> |
|
87 <td><a href="#ProjectOthersBrowser.__showContextMenuMulti">__showContextMenuMulti</a></td> |
|
88 <td>Private slot called by the multiMenu aboutToShow signal.</td> |
|
89 </tr><tr> |
|
90 <td><a href="#ProjectOthersBrowser.__showMimeType">__showMimeType</a></td> |
|
91 <td>Private slot to show the mime type of the selected entry.</td> |
|
92 </tr><tr> |
|
93 <td><a href="#ProjectOthersBrowser._contextMenuRequested">_contextMenuRequested</a></td> |
|
94 <td>Protected slot to show the context menu.</td> |
|
95 </tr><tr> |
|
96 <td><a href="#ProjectOthersBrowser._createPopupMenus">_createPopupMenus</a></td> |
|
97 <td>Protected overloaded method to generate the popup menu.</td> |
|
98 </tr><tr> |
|
99 <td><a href="#ProjectOthersBrowser._editPixmap">_editPixmap</a></td> |
|
100 <td>Protected slot to handle the open in icon editor popup menu entry.</td> |
|
101 </tr><tr> |
|
102 <td><a href="#ProjectOthersBrowser._openHexEditor">_openHexEditor</a></td> |
|
103 <td>Protected slot to handle the open in hex editor popup menu entry.</td> |
|
104 </tr><tr> |
|
105 <td><a href="#ProjectOthersBrowser._openItem">_openItem</a></td> |
|
106 <td>Protected slot to handle the open popup menu entry.</td> |
|
107 </tr><tr> |
|
108 <td><a href="#ProjectOthersBrowser._showContextMenu">_showContextMenu</a></td> |
|
109 <td>Protected slot called before the context menu is shown.</td> |
|
110 </tr> |
|
111 </table> |
|
112 <h3>Static Methods</h3> |
|
113 <table> |
|
114 <tr><td>None</td></tr> |
|
115 </table> |
|
116 <a NAME="ProjectOthersBrowser.__init__" ID="ProjectOthersBrowser.__init__"></a> |
|
117 <h4>ProjectOthersBrowser (Constructor)</h4> |
|
118 <b>ProjectOthersBrowser</b>(<i>project, parent=None</i>) |
|
119 <p> |
|
120 Constructor |
|
121 </p><dl> |
|
122 <dt><i>project</i></dt> |
|
123 <dd> |
|
124 reference to the project object |
|
125 </dd><dt><i>parent</i></dt> |
|
126 <dd> |
|
127 parent widget of this browser (QWidget) |
|
128 </dd> |
|
129 </dl><a NAME="ProjectOthersBrowser.__deleteItem" ID="ProjectOthersBrowser.__deleteItem"></a> |
|
130 <h4>ProjectOthersBrowser.__deleteItem</h4> |
|
131 <b>__deleteItem</b>(<i></i>) |
|
132 <p> |
|
133 Private method to delete the selected entry from the OTHERS project |
|
134 data area. |
|
135 </p><a NAME="ProjectOthersBrowser.__refreshItem" ID="ProjectOthersBrowser.__refreshItem"></a> |
|
136 <h4>ProjectOthersBrowser.__refreshItem</h4> |
|
137 <b>__refreshItem</b>(<i></i>) |
|
138 <p> |
|
139 Private slot to refresh (repopulate) an item. |
|
140 </p><a NAME="ProjectOthersBrowser.__removeItem" ID="ProjectOthersBrowser.__removeItem"></a> |
|
141 <h4>ProjectOthersBrowser.__removeItem</h4> |
|
142 <b>__removeItem</b>(<i></i>) |
|
143 <p> |
|
144 Private slot to remove the selected entry from the OTHERS project |
|
145 data area. |
|
146 </p><a NAME="ProjectOthersBrowser.__showContextMenu" ID="ProjectOthersBrowser.__showContextMenu"></a> |
|
147 <h4>ProjectOthersBrowser.__showContextMenu</h4> |
|
148 <b>__showContextMenu</b>(<i></i>) |
|
149 <p> |
|
150 Private slot called by the menu aboutToShow signal. |
|
151 </p><a NAME="ProjectOthersBrowser.__showContextMenuBack" ID="ProjectOthersBrowser.__showContextMenuBack"></a> |
|
152 <h4>ProjectOthersBrowser.__showContextMenuBack</h4> |
|
153 <b>__showContextMenuBack</b>(<i></i>) |
|
154 <p> |
|
155 Private slot called by the backMenu aboutToShow signal. |
|
156 </p><a NAME="ProjectOthersBrowser.__showContextMenuMulti" ID="ProjectOthersBrowser.__showContextMenuMulti"></a> |
|
157 <h4>ProjectOthersBrowser.__showContextMenuMulti</h4> |
|
158 <b>__showContextMenuMulti</b>(<i></i>) |
|
159 <p> |
|
160 Private slot called by the multiMenu aboutToShow signal. |
|
161 </p><a NAME="ProjectOthersBrowser.__showMimeType" ID="ProjectOthersBrowser.__showMimeType"></a> |
|
162 <h4>ProjectOthersBrowser.__showMimeType</h4> |
|
163 <b>__showMimeType</b>(<i></i>) |
|
164 <p> |
|
165 Private slot to show the mime type of the selected entry. |
|
166 </p><a NAME="ProjectOthersBrowser._contextMenuRequested" ID="ProjectOthersBrowser._contextMenuRequested"></a> |
|
167 <h4>ProjectOthersBrowser._contextMenuRequested</h4> |
|
168 <b>_contextMenuRequested</b>(<i>coord</i>) |
|
169 <p> |
|
170 Protected slot to show the context menu. |
|
171 </p><dl> |
|
172 <dt><i>coord</i></dt> |
|
173 <dd> |
|
174 the position of the mouse pointer (QPoint) |
|
175 </dd> |
|
176 </dl><a NAME="ProjectOthersBrowser._createPopupMenus" ID="ProjectOthersBrowser._createPopupMenus"></a> |
|
177 <h4>ProjectOthersBrowser._createPopupMenus</h4> |
|
178 <b>_createPopupMenus</b>(<i></i>) |
|
179 <p> |
|
180 Protected overloaded method to generate the popup menu. |
|
181 </p><a NAME="ProjectOthersBrowser._editPixmap" ID="ProjectOthersBrowser._editPixmap"></a> |
|
182 <h4>ProjectOthersBrowser._editPixmap</h4> |
|
183 <b>_editPixmap</b>(<i></i>) |
|
184 <p> |
|
185 Protected slot to handle the open in icon editor popup menu entry. |
|
186 </p><a NAME="ProjectOthersBrowser._openHexEditor" ID="ProjectOthersBrowser._openHexEditor"></a> |
|
187 <h4>ProjectOthersBrowser._openHexEditor</h4> |
|
188 <b>_openHexEditor</b>(<i></i>) |
|
189 <p> |
|
190 Protected slot to handle the open in hex editor popup menu entry. |
|
191 </p><a NAME="ProjectOthersBrowser._openItem" ID="ProjectOthersBrowser._openItem"></a> |
|
192 <h4>ProjectOthersBrowser._openItem</h4> |
|
193 <b>_openItem</b>(<i></i>) |
|
194 <p> |
|
195 Protected slot to handle the open popup menu entry. |
|
196 </p><a NAME="ProjectOthersBrowser._showContextMenu" ID="ProjectOthersBrowser._showContextMenu"></a> |
|
197 <h4>ProjectOthersBrowser._showContextMenu</h4> |
|
198 <b>_showContextMenu</b>(<i>menu</i>) |
|
199 <p> |
|
200 Protected slot called before the context menu is shown. |
|
201 </p><p> |
|
202 It enables/disables the VCS menu entries depending on the overall |
|
203 VCS status and the file status. |
|
204 </p><dl> |
|
205 <dt><i>menu</i></dt> |
|
206 <dd> |
|
207 Reference to the popup menu (QPopupMenu) |
|
208 </dd> |
|
209 </dl> |
|
210 <div align="right"><a href="#top">Up</a></div> |
|
211 <hr /> |
|
212 </body></html> |