Documentation/Source/eric6.Project.ProjectOthersBrowser.html

changeset 3673
e26d7d0c1088
child 4101
68c26f72c0d1
equal deleted inserted replaced
3670:f0cb7579c0b4 3673:e26d7d0c1088
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>closeSourceWindow(str)</dt>
51 <dd>
52 emitted after a file has been
53 removed/deleted from the project
54 </dd><dt>pixmapEditFile(str)</dt>
55 <dd>
56 emitted to edit a pixmap file
57 </dd><dt>pixmapFile(str)</dt>
58 <dd>
59 emitted to open a pixmap file
60 </dd><dt>showMenu(str, QMenu)</dt>
61 <dd>
62 emitted when a menu is about to be shown.
63 The name of the menu and a reference to the menu are given.
64 </dd><dt>sourceFile(str)</dt>
65 <dd>
66 emitted to open a file
67 </dd><dt>svgFile(str)</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>Class Methods</h3>
79 <table>
80 <tr><td>None</td></tr>
81 </table>
82 <h3>Methods</h3>
83 <table>
84 <tr>
85 <td><a href="#ProjectOthersBrowser.__init__">ProjectOthersBrowser</a></td>
86 <td>Constructor</td>
87 </tr><tr>
88 <td><a href="#ProjectOthersBrowser.__deleteItem">__deleteItem</a></td>
89 <td>Private method to delete the selected entry from the OTHERS project data area.</td>
90 </tr><tr>
91 <td><a href="#ProjectOthersBrowser.__refreshItem">__refreshItem</a></td>
92 <td>Private slot to refresh (repopulate) an item.</td>
93 </tr><tr>
94 <td><a href="#ProjectOthersBrowser.__removeItem">__removeItem</a></td>
95 <td>Private slot to remove the selected entry from the OTHERS project data area.</td>
96 </tr><tr>
97 <td><a href="#ProjectOthersBrowser.__showContextMenu">__showContextMenu</a></td>
98 <td>Private slot called by the menu aboutToShow signal.</td>
99 </tr><tr>
100 <td><a href="#ProjectOthersBrowser.__showContextMenuBack">__showContextMenuBack</a></td>
101 <td>Private slot called by the backMenu aboutToShow signal.</td>
102 </tr><tr>
103 <td><a href="#ProjectOthersBrowser.__showContextMenuMulti">__showContextMenuMulti</a></td>
104 <td>Private slot called by the multiMenu aboutToShow signal.</td>
105 </tr><tr>
106 <td><a href="#ProjectOthersBrowser._contextMenuRequested">_contextMenuRequested</a></td>
107 <td>Protected slot to show the context menu.</td>
108 </tr><tr>
109 <td><a href="#ProjectOthersBrowser._createPopupMenus">_createPopupMenus</a></td>
110 <td>Protected overloaded method to generate the popup menu.</td>
111 </tr><tr>
112 <td><a href="#ProjectOthersBrowser._editPixmap">_editPixmap</a></td>
113 <td>Protected slot to handle the open in icon editor popup menu entry.</td>
114 </tr><tr>
115 <td><a href="#ProjectOthersBrowser._openItem">_openItem</a></td>
116 <td>Protected slot to handle the open popup menu entry.</td>
117 </tr><tr>
118 <td><a href="#ProjectOthersBrowser._showContextMenu">_showContextMenu</a></td>
119 <td>Protected slot called before the context menu is shown.</td>
120 </tr>
121 </table>
122 <h3>Static Methods</h3>
123 <table>
124 <tr><td>None</td></tr>
125 </table>
126 <a NAME="ProjectOthersBrowser.__init__" ID="ProjectOthersBrowser.__init__"></a>
127 <h4>ProjectOthersBrowser (Constructor)</h4>
128 <b>ProjectOthersBrowser</b>(<i>project, parent=None</i>)
129 <p>
130 Constructor
131 </p><dl>
132 <dt><i>project</i></dt>
133 <dd>
134 reference to the project object
135 </dd><dt><i>parent</i></dt>
136 <dd>
137 parent widget of this browser (QWidget)
138 </dd>
139 </dl><a NAME="ProjectOthersBrowser.__deleteItem" ID="ProjectOthersBrowser.__deleteItem"></a>
140 <h4>ProjectOthersBrowser.__deleteItem</h4>
141 <b>__deleteItem</b>(<i></i>)
142 <p>
143 Private method to delete the selected entry from the OTHERS project
144 data area.
145 </p><a NAME="ProjectOthersBrowser.__refreshItem" ID="ProjectOthersBrowser.__refreshItem"></a>
146 <h4>ProjectOthersBrowser.__refreshItem</h4>
147 <b>__refreshItem</b>(<i></i>)
148 <p>
149 Private slot to refresh (repopulate) an item.
150 </p><a NAME="ProjectOthersBrowser.__removeItem" ID="ProjectOthersBrowser.__removeItem"></a>
151 <h4>ProjectOthersBrowser.__removeItem</h4>
152 <b>__removeItem</b>(<i></i>)
153 <p>
154 Private slot to remove the selected entry from the OTHERS project
155 data area.
156 </p><a NAME="ProjectOthersBrowser.__showContextMenu" ID="ProjectOthersBrowser.__showContextMenu"></a>
157 <h4>ProjectOthersBrowser.__showContextMenu</h4>
158 <b>__showContextMenu</b>(<i></i>)
159 <p>
160 Private slot called by the menu aboutToShow signal.
161 </p><a NAME="ProjectOthersBrowser.__showContextMenuBack" ID="ProjectOthersBrowser.__showContextMenuBack"></a>
162 <h4>ProjectOthersBrowser.__showContextMenuBack</h4>
163 <b>__showContextMenuBack</b>(<i></i>)
164 <p>
165 Private slot called by the backMenu aboutToShow signal.
166 </p><a NAME="ProjectOthersBrowser.__showContextMenuMulti" ID="ProjectOthersBrowser.__showContextMenuMulti"></a>
167 <h4>ProjectOthersBrowser.__showContextMenuMulti</h4>
168 <b>__showContextMenuMulti</b>(<i></i>)
169 <p>
170 Private slot called by the multiMenu aboutToShow signal.
171 </p><a NAME="ProjectOthersBrowser._contextMenuRequested" ID="ProjectOthersBrowser._contextMenuRequested"></a>
172 <h4>ProjectOthersBrowser._contextMenuRequested</h4>
173 <b>_contextMenuRequested</b>(<i>coord</i>)
174 <p>
175 Protected slot to show the context menu.
176 </p><dl>
177 <dt><i>coord</i></dt>
178 <dd>
179 the position of the mouse pointer (QPoint)
180 </dd>
181 </dl><a NAME="ProjectOthersBrowser._createPopupMenus" ID="ProjectOthersBrowser._createPopupMenus"></a>
182 <h4>ProjectOthersBrowser._createPopupMenus</h4>
183 <b>_createPopupMenus</b>(<i></i>)
184 <p>
185 Protected overloaded method to generate the popup menu.
186 </p><a NAME="ProjectOthersBrowser._editPixmap" ID="ProjectOthersBrowser._editPixmap"></a>
187 <h4>ProjectOthersBrowser._editPixmap</h4>
188 <b>_editPixmap</b>(<i></i>)
189 <p>
190 Protected slot to handle the open in icon 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>

eric ide

mercurial