|
1 <?xml version="1.0" encoding="utf-8"?> |
|
2 <!DOCTYPE html PUBLIC '-//W3C//DTD XHTML 1.0 Strict//EN' |
|
3 'http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd'> |
|
4 <html><head> |
|
5 <title>eric5.Project.ProjectOthersBrowser</title> |
|
6 <style> |
|
7 b'body {\n background:white;\n margin: 0em 1em 10em 1em;\n color: black;\n}\n\nh1 { color: white; background: #4FA4FF; }\nh2 { color: white; background: #4FA4FF; }\nh3 { color: white; background: #00557F; }\nh4 { color: white; background: #00557F; }\n \na { color: #AA5500; }\n' |
|
8 </style> |
|
9 </head> |
|
10 <body><a NAME="top" ID="top"></a> |
|
11 <h1>eric5.Project.ProjectOthersBrowser</h1> |
|
12 <p> |
|
13 Module implementing a class used to display the parts of the project, that don't fit |
|
14 the other categories. |
|
15 </p> |
|
16 <h3>Global Attributes</h3> |
|
17 <table> |
|
18 <tr><td>None</td></tr> |
|
19 </table> |
|
20 <h3>Classes</h3> |
|
21 <table> |
|
22 <tr> |
|
23 <td><a href="#ProjectOthersBrowser">ProjectOthersBrowser</a></td> |
|
24 <td>A class used to display the parts of the project, that don't fit the other categories.</td> |
|
25 </tr> |
|
26 </table> |
|
27 <h3>Functions</h3> |
|
28 <table> |
|
29 <tr><td>None</td></tr> |
|
30 </table> |
|
31 <hr /><hr /> |
|
32 <a NAME="ProjectOthersBrowser" ID="ProjectOthersBrowser"></a> |
|
33 <h2>ProjectOthersBrowser</h2> |
|
34 <p> |
|
35 A class used to display the parts of the project, that don't fit the other categories. |
|
36 </p><h4>Signals</h4> |
|
37 <dl> |
|
38 <dt>closeSourceWindow(string)</dt> |
|
39 <dd> |
|
40 emitted after a file has been removed/deleted |
|
41 from the project |
|
42 </dd><dt>pixmapEditFile(string)</dt> |
|
43 <dd> |
|
44 emitted to edit a pixmap file |
|
45 </dd><dt>pixmapFile(string)</dt> |
|
46 <dd> |
|
47 emitted to open a pixmap file |
|
48 </dd><dt>showMenu(string, QMenu)</dt> |
|
49 <dd> |
|
50 emitted when a menu is about to be shown. The name |
|
51 of the menu and a reference to the menu are given. |
|
52 </dd><dt>sourceFile(string)</dt> |
|
53 <dd> |
|
54 emitted to open a file |
|
55 </dd><dt>svgFile(string)</dt> |
|
56 <dd> |
|
57 emitted to open a SVG file |
|
58 </dd> |
|
59 </dl> |
|
60 <h3>Derived from</h3> |
|
61 ProjectBaseBrowser |
|
62 <h3>Class Attributes</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._contextMenuRequested">_contextMenuRequested</a></td> |
|
91 <td>Protected slot to show the context menu.</td> |
|
92 </tr><tr> |
|
93 <td><a href="#ProjectOthersBrowser._createPopupMenus">_createPopupMenus</a></td> |
|
94 <td>Protected overloaded method to generate the popup menu.</td> |
|
95 </tr><tr> |
|
96 <td><a href="#ProjectOthersBrowser._editPixmap">_editPixmap</a></td> |
|
97 <td>Protected slot to handle the open in icon editor popup menu entry.</td> |
|
98 </tr><tr> |
|
99 <td><a href="#ProjectOthersBrowser._openItem">_openItem</a></td> |
|
100 <td>Protected slot to handle the open popup menu entry.</td> |
|
101 </tr><tr> |
|
102 <td><a href="#ProjectOthersBrowser._showContextMenu">_showContextMenu</a></td> |
|
103 <td>Protected slot called before the context menu is shown.</td> |
|
104 </tr> |
|
105 </table> |
|
106 <a NAME="ProjectOthersBrowser.__init__" ID="ProjectOthersBrowser.__init__"></a> |
|
107 <h4>ProjectOthersBrowser (Constructor)</h4> |
|
108 <b>ProjectOthersBrowser</b>(<i>project, parent=None</i>) |
|
109 <p> |
|
110 Constructor |
|
111 </p><dl> |
|
112 <dt><i>project</i></dt> |
|
113 <dd> |
|
114 reference to the project object |
|
115 </dd><dt><i>parent</i></dt> |
|
116 <dd> |
|
117 parent widget of this browser (QWidget) |
|
118 </dd> |
|
119 </dl><a NAME="ProjectOthersBrowser.__deleteItem" ID="ProjectOthersBrowser.__deleteItem"></a> |
|
120 <h4>ProjectOthersBrowser.__deleteItem</h4> |
|
121 <b>__deleteItem</b>(<i></i>) |
|
122 <p> |
|
123 Private method to delete the selected entry from the OTHERS project data area. |
|
124 </p><a NAME="ProjectOthersBrowser.__refreshItem" ID="ProjectOthersBrowser.__refreshItem"></a> |
|
125 <h4>ProjectOthersBrowser.__refreshItem</h4> |
|
126 <b>__refreshItem</b>(<i></i>) |
|
127 <p> |
|
128 Private slot to refresh (repopulate) an item. |
|
129 </p><a NAME="ProjectOthersBrowser.__removeItem" ID="ProjectOthersBrowser.__removeItem"></a> |
|
130 <h4>ProjectOthersBrowser.__removeItem</h4> |
|
131 <b>__removeItem</b>(<i></i>) |
|
132 <p> |
|
133 Private slot to remove the selected entry from the OTHERS project data area. |
|
134 </p><a NAME="ProjectOthersBrowser.__showContextMenu" ID="ProjectOthersBrowser.__showContextMenu"></a> |
|
135 <h4>ProjectOthersBrowser.__showContextMenu</h4> |
|
136 <b>__showContextMenu</b>(<i></i>) |
|
137 <p> |
|
138 Private slot called by the menu aboutToShow signal. |
|
139 </p><a NAME="ProjectOthersBrowser.__showContextMenuBack" ID="ProjectOthersBrowser.__showContextMenuBack"></a> |
|
140 <h4>ProjectOthersBrowser.__showContextMenuBack</h4> |
|
141 <b>__showContextMenuBack</b>(<i></i>) |
|
142 <p> |
|
143 Private slot called by the backMenu aboutToShow signal. |
|
144 </p><a NAME="ProjectOthersBrowser.__showContextMenuMulti" ID="ProjectOthersBrowser.__showContextMenuMulti"></a> |
|
145 <h4>ProjectOthersBrowser.__showContextMenuMulti</h4> |
|
146 <b>__showContextMenuMulti</b>(<i></i>) |
|
147 <p> |
|
148 Private slot called by the multiMenu aboutToShow signal. |
|
149 </p><a NAME="ProjectOthersBrowser._contextMenuRequested" ID="ProjectOthersBrowser._contextMenuRequested"></a> |
|
150 <h4>ProjectOthersBrowser._contextMenuRequested</h4> |
|
151 <b>_contextMenuRequested</b>(<i>coord</i>) |
|
152 <p> |
|
153 Protected slot to show the context menu. |
|
154 </p><dl> |
|
155 <dt><i>coord</i></dt> |
|
156 <dd> |
|
157 the position of the mouse pointer (QPoint) |
|
158 </dd> |
|
159 </dl><a NAME="ProjectOthersBrowser._createPopupMenus" ID="ProjectOthersBrowser._createPopupMenus"></a> |
|
160 <h4>ProjectOthersBrowser._createPopupMenus</h4> |
|
161 <b>_createPopupMenus</b>(<i></i>) |
|
162 <p> |
|
163 Protected overloaded method to generate the popup menu. |
|
164 </p><a NAME="ProjectOthersBrowser._editPixmap" ID="ProjectOthersBrowser._editPixmap"></a> |
|
165 <h4>ProjectOthersBrowser._editPixmap</h4> |
|
166 <b>_editPixmap</b>(<i></i>) |
|
167 <p> |
|
168 Protected slot to handle the open in icon editor popup menu entry. |
|
169 </p><a NAME="ProjectOthersBrowser._openItem" ID="ProjectOthersBrowser._openItem"></a> |
|
170 <h4>ProjectOthersBrowser._openItem</h4> |
|
171 <b>_openItem</b>(<i></i>) |
|
172 <p> |
|
173 Protected slot to handle the open popup menu entry. |
|
174 </p><a NAME="ProjectOthersBrowser._showContextMenu" ID="ProjectOthersBrowser._showContextMenu"></a> |
|
175 <h4>ProjectOthersBrowser._showContextMenu</h4> |
|
176 <b>_showContextMenu</b>(<i>menu</i>) |
|
177 <p> |
|
178 Protected slot called before the context menu is shown. |
|
179 </p><p> |
|
180 It enables/disables the VCS menu entries depending on the overall |
|
181 VCS status and the file status. |
|
182 </p><dl> |
|
183 <dt><i>menu</i></dt> |
|
184 <dd> |
|
185 Reference to the popup menu (QPopupMenu) |
|
186 </dd> |
|
187 </dl> |
|
188 <div align="right"><a href="#top">Up</a></div> |
|
189 <hr /> |
|
190 </body></html> |