Documentation/Source/eric4.Project.ProjectOthersBrowser.html

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

eric ide

mercurial