60 </table> |
60 </table> |
61 <h3>Methods</h3> |
61 <h3>Methods</h3> |
62 <table> |
62 <table> |
63 <tr> |
63 <tr> |
64 <td><a href="#ProjectBrowser.__init__">ProjectBrowser</a></td> |
64 <td><a href="#ProjectBrowser.__init__">ProjectBrowser</a></td> |
65 <td>Constructor</td> |
65 <td>Constructor</td> |
66 </tr><tr> |
66 </tr><tr> |
67 <td><a href="#ProjectBrowser.__currentChanged">__currentChanged</a></td> |
67 <td><a href="#ProjectBrowser.__currentChanged">__currentChanged</a></td> |
68 <td>Private slot to handle the currentChanged(int) signal.</td> |
68 <td>Private slot to handle the currentChanged(int) signal.</td> |
69 </tr><tr> |
69 </tr><tr> |
70 <td><a href="#ProjectBrowser.__newProject">__newProject</a></td> |
70 <td><a href="#ProjectBrowser.__newProject">__newProject</a></td> |
71 <td>Private slot to handle the newProject signal.</td> |
71 <td>Private slot to handle the newProject signal.</td> |
72 </tr><tr> |
72 </tr><tr> |
73 <td><a href="#ProjectBrowser.__projectClosed">__projectClosed</a></td> |
73 <td><a href="#ProjectBrowser.__projectClosed">__projectClosed</a></td> |
74 <td>Private slot to handle the projectClosed signal.</td> |
74 <td>Private slot to handle the projectClosed signal.</td> |
75 </tr><tr> |
75 </tr><tr> |
76 <td><a href="#ProjectBrowser.__projectOpened">__projectOpened</a></td> |
76 <td><a href="#ProjectBrowser.__projectOpened">__projectOpened</a></td> |
77 <td>Private slot to handle the projectOpened signal.</td> |
77 <td>Private slot to handle the projectOpened signal.</td> |
78 </tr><tr> |
78 </tr><tr> |
79 <td><a href="#ProjectBrowser.__projectPropertiesChanged">__projectPropertiesChanged</a></td> |
79 <td><a href="#ProjectBrowser.__projectPropertiesChanged">__projectPropertiesChanged</a></td> |
80 <td>Private slot to handle the projectPropertiesChanged signal.</td> |
80 <td>Private slot to handle the projectPropertiesChanged signal.</td> |
81 </tr><tr> |
81 </tr><tr> |
82 <td><a href="#ProjectBrowser.__setBrowsersAvailable">__setBrowsersAvailable</a></td> |
82 <td><a href="#ProjectBrowser.__setBrowsersAvailable">__setBrowsersAvailable</a></td> |
83 <td>Private method to add selected browsers to the project browser</td> |
83 <td>Private method to add selected browsers to the project browser</td> |
84 </tr><tr> |
84 </tr><tr> |
85 <td><a href="#ProjectBrowser.__setSourcesIcon">__setSourcesIcon</a></td> |
85 <td><a href="#ProjectBrowser.__setSourcesIcon">__setSourcesIcon</a></td> |
86 <td>Private method to set the right icon for the sources browser tab.</td> |
86 <td>Private method to set the right icon for the sources browser tab.</td> |
87 </tr><tr> |
87 </tr><tr> |
88 <td><a href="#ProjectBrowser.__vcsStateChanged">__vcsStateChanged</a></td> |
88 <td><a href="#ProjectBrowser.__vcsStateChanged">__vcsStateChanged</a></td> |
89 <td>Private slot to handle a change in the vcs state.</td> |
89 <td>Private slot to handle a change in the vcs state.</td> |
90 </tr><tr> |
90 </tr><tr> |
91 <td><a href="#ProjectBrowser.getProjectBrowser">getProjectBrowser</a></td> |
91 <td><a href="#ProjectBrowser.getProjectBrowser">getProjectBrowser</a></td> |
92 <td>Public method to get a reference to the named project browser.</td> |
92 <td>Public method to get a reference to the named project browser.</td> |
93 </tr><tr> |
93 </tr><tr> |
94 <td><a href="#ProjectBrowser.getProjectBrowsers">getProjectBrowsers</a></td> |
94 <td><a href="#ProjectBrowser.getProjectBrowsers">getProjectBrowsers</a></td> |
95 <td>Public method to get references to the individual project browsers.</td> |
95 <td>Public method to get references to the individual project browsers.</td> |
96 </tr><tr> |
96 </tr><tr> |
97 <td><a href="#ProjectBrowser.handleEditorChanged">handleEditorChanged</a></td> |
97 <td><a href="#ProjectBrowser.handleEditorChanged">handleEditorChanged</a></td> |
98 <td>Public slot to handle the editorChanged signal.</td> |
98 <td>Public slot to handle the editorChanged signal.</td> |
99 </tr><tr> |
99 </tr><tr> |
100 <td><a href="#ProjectBrowser.handlePreferencesChanged">handlePreferencesChanged</a></td> |
100 <td><a href="#ProjectBrowser.handlePreferencesChanged">handlePreferencesChanged</a></td> |
101 <td>Public slot used to handle the preferencesChanged signal.</td> |
101 <td>Public slot used to handle the preferencesChanged signal.</td> |
102 </tr><tr> |
102 </tr><tr> |
103 <td><a href="#ProjectBrowser.showEvent">showEvent</a></td> |
103 <td><a href="#ProjectBrowser.showEvent">showEvent</a></td> |
104 <td>Protected method handleing the show event.</td> |
104 <td>Protected method handleing the show event.</td> |
105 </tr> |
105 </tr> |
106 </table> |
106 </table> |
107 <a NAME="ProjectBrowser.__init__" ID="ProjectBrowser.__init__"></a> |
107 <a NAME="ProjectBrowser.__init__" ID="ProjectBrowser.__init__"></a> |
108 <h4>ProjectBrowser (Constructor)</h4> |
108 <h4>ProjectBrowser (Constructor)</h4> |
109 <b>ProjectBrowser</b>(<i>project, parent = None, embeddedBrowser = True</i>) |
109 <b>ProjectBrowser</b>(<i>project, parent = None, embeddedBrowser = True</i>) |
110 <p> |
110 <p> |
111 Constructor |
111 Constructor |
112 </p><dl> |
112 </p><dl> |
113 <dt><i>project</i></dt> |
113 <dt><i>project</i></dt> |
114 <dd> |
114 <dd> |
115 reference to the project object |
115 reference to the project object |
116 </dd><dt><i>parent</i></dt> |
116 </dd><dt><i>parent</i></dt> |
117 <dd> |
117 <dd> |
118 parent widget (QWidget) |
118 parent widget (QWidget) |
119 </dd><dt><i>embeddedBrowser</i></dt> |
119 </dd><dt><i>embeddedBrowser</i></dt> |
120 <dd> |
120 <dd> |
121 flag indicating whether the file browser should |
121 flag indicating whether the file browser should |
122 be included. This flag is set to False by those layouts, that |
122 be included. This flag is set to False by those layouts, that |
123 have the file browser in a separate window or embedded |
123 have the file browser in a separate window or embedded |
124 in the debeug browser instead |
124 in the debeug browser instead |
125 </dd> |
125 </dd> |
126 </dl><a NAME="ProjectBrowser.__currentChanged" ID="ProjectBrowser.__currentChanged"></a> |
126 </dl><a NAME="ProjectBrowser.__currentChanged" ID="ProjectBrowser.__currentChanged"></a> |
127 <h4>ProjectBrowser.__currentChanged</h4> |
127 <h4>ProjectBrowser.__currentChanged</h4> |
128 <b>__currentChanged</b>(<i>index</i>) |
128 <b>__currentChanged</b>(<i>index</i>) |
129 <p> |
129 <p> |
130 Private slot to handle the currentChanged(int) signal. |
130 Private slot to handle the currentChanged(int) signal. |
131 </p><a NAME="ProjectBrowser.__newProject" ID="ProjectBrowser.__newProject"></a> |
131 </p><a NAME="ProjectBrowser.__newProject" ID="ProjectBrowser.__newProject"></a> |
132 <h4>ProjectBrowser.__newProject</h4> |
132 <h4>ProjectBrowser.__newProject</h4> |
133 <b>__newProject</b>(<i></i>) |
133 <b>__newProject</b>(<i></i>) |
134 <p> |
134 <p> |
135 Private slot to handle the newProject signal. |
135 Private slot to handle the newProject signal. |
136 </p><a NAME="ProjectBrowser.__projectClosed" ID="ProjectBrowser.__projectClosed"></a> |
136 </p><a NAME="ProjectBrowser.__projectClosed" ID="ProjectBrowser.__projectClosed"></a> |
137 <h4>ProjectBrowser.__projectClosed</h4> |
137 <h4>ProjectBrowser.__projectClosed</h4> |
138 <b>__projectClosed</b>(<i></i>) |
138 <b>__projectClosed</b>(<i></i>) |
139 <p> |
139 <p> |
140 Private slot to handle the projectClosed signal. |
140 Private slot to handle the projectClosed signal. |
141 </p><a NAME="ProjectBrowser.__projectOpened" ID="ProjectBrowser.__projectOpened"></a> |
141 </p><a NAME="ProjectBrowser.__projectOpened" ID="ProjectBrowser.__projectOpened"></a> |
142 <h4>ProjectBrowser.__projectOpened</h4> |
142 <h4>ProjectBrowser.__projectOpened</h4> |
143 <b>__projectOpened</b>(<i></i>) |
143 <b>__projectOpened</b>(<i></i>) |
144 <p> |
144 <p> |
145 Private slot to handle the projectOpened signal. |
145 Private slot to handle the projectOpened signal. |
146 </p><a NAME="ProjectBrowser.__projectPropertiesChanged" ID="ProjectBrowser.__projectPropertiesChanged"></a> |
146 </p><a NAME="ProjectBrowser.__projectPropertiesChanged" ID="ProjectBrowser.__projectPropertiesChanged"></a> |
147 <h4>ProjectBrowser.__projectPropertiesChanged</h4> |
147 <h4>ProjectBrowser.__projectPropertiesChanged</h4> |
148 <b>__projectPropertiesChanged</b>(<i></i>) |
148 <b>__projectPropertiesChanged</b>(<i></i>) |
149 <p> |
149 <p> |
150 Private slot to handle the projectPropertiesChanged signal. |
150 Private slot to handle the projectPropertiesChanged signal. |
151 </p><a NAME="ProjectBrowser.__setBrowsersAvailable" ID="ProjectBrowser.__setBrowsersAvailable"></a> |
151 </p><a NAME="ProjectBrowser.__setBrowsersAvailable" ID="ProjectBrowser.__setBrowsersAvailable"></a> |
152 <h4>ProjectBrowser.__setBrowsersAvailable</h4> |
152 <h4>ProjectBrowser.__setBrowsersAvailable</h4> |
153 <b>__setBrowsersAvailable</b>(<i>browserFlags</i>) |
153 <b>__setBrowsersAvailable</b>(<i>browserFlags</i>) |
154 <p> |
154 <p> |
155 Private method to add selected browsers to the project browser |
155 Private method to add selected browsers to the project browser |
156 </p><dl> |
156 </p><dl> |
157 <dt><i>browserFlags</i></dt> |
157 <dt><i>browserFlags</i></dt> |
158 <dd> |
158 <dd> |
159 flags indicating the browsers to add (integer) |
159 flags indicating the browsers to add (integer) |
160 </dd> |
160 </dd> |
161 </dl><a NAME="ProjectBrowser.__setSourcesIcon" ID="ProjectBrowser.__setSourcesIcon"></a> |
161 </dl><a NAME="ProjectBrowser.__setSourcesIcon" ID="ProjectBrowser.__setSourcesIcon"></a> |
162 <h4>ProjectBrowser.__setSourcesIcon</h4> |
162 <h4>ProjectBrowser.__setSourcesIcon</h4> |
163 <b>__setSourcesIcon</b>(<i></i>) |
163 <b>__setSourcesIcon</b>(<i></i>) |
164 <p> |
164 <p> |
165 Private method to set the right icon for the sources browser tab. |
165 Private method to set the right icon for the sources browser tab. |
166 </p><a NAME="ProjectBrowser.__vcsStateChanged" ID="ProjectBrowser.__vcsStateChanged"></a> |
166 </p><a NAME="ProjectBrowser.__vcsStateChanged" ID="ProjectBrowser.__vcsStateChanged"></a> |
167 <h4>ProjectBrowser.__vcsStateChanged</h4> |
167 <h4>ProjectBrowser.__vcsStateChanged</h4> |
168 <b>__vcsStateChanged</b>(<i>state</i>) |
168 <b>__vcsStateChanged</b>(<i>state</i>) |
169 <p> |
169 <p> |
170 Private slot to handle a change in the vcs state. |
170 Private slot to handle a change in the vcs state. |
171 </p><dl> |
171 </p><dl> |
172 <dt><i>state</i></dt> |
172 <dt><i>state</i></dt> |
173 <dd> |
173 <dd> |
174 new vcs state (string) |
174 new vcs state (string) |
175 </dd> |
175 </dd> |
176 </dl><a NAME="ProjectBrowser.getProjectBrowser" ID="ProjectBrowser.getProjectBrowser"></a> |
176 </dl><a NAME="ProjectBrowser.getProjectBrowser" ID="ProjectBrowser.getProjectBrowser"></a> |
177 <h4>ProjectBrowser.getProjectBrowser</h4> |
177 <h4>ProjectBrowser.getProjectBrowser</h4> |
178 <b>getProjectBrowser</b>(<i>name</i>) |
178 <b>getProjectBrowser</b>(<i>name</i>) |
179 <p> |
179 <p> |
180 Public method to get a reference to the named project browser. |
180 Public method to get a reference to the named project browser. |
181 </p><dl> |
181 </p><dl> |
182 <dt><i>name</i></dt> |
182 <dt><i>name</i></dt> |
183 <dd> |
183 <dd> |
184 name of the requested project browser (string). |
184 name of the requested project browser (string). |
185 Valid names are "sources, forms, resources, translations, |
185 Valid names are "sources, forms, resources, translations, |
186 interfaces, others". |
186 interfaces, others". |
187 </dd> |
187 </dd> |
188 </dl><dl> |
188 </dl><dl> |
189 <dt>Returns:</dt> |
189 <dt>Returns:</dt> |
190 <dd> |
190 <dd> |
191 reference to the requested browser or None |
191 reference to the requested browser or None |
192 </dd> |
192 </dd> |
193 </dl><a NAME="ProjectBrowser.getProjectBrowsers" ID="ProjectBrowser.getProjectBrowsers"></a> |
193 </dl><a NAME="ProjectBrowser.getProjectBrowsers" ID="ProjectBrowser.getProjectBrowsers"></a> |
194 <h4>ProjectBrowser.getProjectBrowsers</h4> |
194 <h4>ProjectBrowser.getProjectBrowsers</h4> |
195 <b>getProjectBrowsers</b>(<i></i>) |
195 <b>getProjectBrowsers</b>(<i></i>) |
196 <p> |
196 <p> |
197 Public method to get references to the individual project browsers. |
197 Public method to get references to the individual project browsers. |
198 </p><dl> |
198 </p><dl> |
199 <dt>Returns:</dt> |
199 <dt>Returns:</dt> |
200 <dd> |
200 <dd> |
201 list of references to project browsers |
201 list of references to project browsers |
202 </dd> |
202 </dd> |
203 </dl><a NAME="ProjectBrowser.handleEditorChanged" ID="ProjectBrowser.handleEditorChanged"></a> |
203 </dl><a NAME="ProjectBrowser.handleEditorChanged" ID="ProjectBrowser.handleEditorChanged"></a> |
204 <h4>ProjectBrowser.handleEditorChanged</h4> |
204 <h4>ProjectBrowser.handleEditorChanged</h4> |
205 <b>handleEditorChanged</b>(<i>fn</i>) |
205 <b>handleEditorChanged</b>(<i>fn</i>) |
206 <p> |
206 <p> |
207 Public slot to handle the editorChanged signal. |
207 Public slot to handle the editorChanged signal. |
208 </p><dl> |
208 </p><dl> |
209 <dt><i>fn</i></dt> |
209 <dt><i>fn</i></dt> |
210 <dd> |
210 <dd> |
211 filename of the changed file (string) |
211 filename of the changed file (string) |
212 </dd> |
212 </dd> |
213 </dl><a NAME="ProjectBrowser.handlePreferencesChanged" ID="ProjectBrowser.handlePreferencesChanged"></a> |
213 </dl><a NAME="ProjectBrowser.handlePreferencesChanged" ID="ProjectBrowser.handlePreferencesChanged"></a> |
214 <h4>ProjectBrowser.handlePreferencesChanged</h4> |
214 <h4>ProjectBrowser.handlePreferencesChanged</h4> |
215 <b>handlePreferencesChanged</b>(<i></i>) |
215 <b>handlePreferencesChanged</b>(<i></i>) |
216 <p> |
216 <p> |
217 Public slot used to handle the preferencesChanged signal. |
217 Public slot used to handle the preferencesChanged signal. |
218 </p><a NAME="ProjectBrowser.showEvent" ID="ProjectBrowser.showEvent"></a> |
218 </p><a NAME="ProjectBrowser.showEvent" ID="ProjectBrowser.showEvent"></a> |
219 <h4>ProjectBrowser.showEvent</h4> |
219 <h4>ProjectBrowser.showEvent</h4> |
220 <b>showEvent</b>(<i>evt</i>) |
220 <b>showEvent</b>(<i>evt</i>) |
221 <p> |
221 <p> |
222 Protected method handleing the show event. |
222 Protected method handleing the show event. |
223 </p><dl> |
223 </p><dl> |
224 <dt><i>evt</i></dt> |
224 <dt><i>evt</i></dt> |
225 <dd> |
225 <dd> |
226 show event to handle (QShowEvent) |
226 show event to handle (QShowEvent) |
227 </dd> |
227 </dd> |
228 </dl> |
228 </dl> |
229 <div align="right"><a href="#top">Up</a></div> |
229 <div align="right"><a href="#top">Up</a></div> |
230 <hr /> |
230 <hr /> |
231 </body></html> |
231 </body></html> |