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