101 <dd> |
101 <dd> |
102 path to add (string) |
102 path to add (string) |
103 </dd> |
103 </dd> |
104 </dl><a NAME="PixmapCache.getPixmap" ID="PixmapCache.getPixmap"></a> |
104 </dl><a NAME="PixmapCache.getPixmap" ID="PixmapCache.getPixmap"></a> |
105 <h4>PixmapCache.getPixmap</h4> |
105 <h4>PixmapCache.getPixmap</h4> |
106 <b>getPixmap</b>(<i>key</i>) |
106 <b>getPixmap</b>(<i>key, size=None</i>) |
107 <p> |
107 <p> |
108 Public method to retrieve a pixmap. |
108 Public method to retrieve a pixmap. |
109 </p><dl> |
109 </p><dl> |
110 <dt><i>key</i></dt> |
110 <dt><i>key</i> (str)</dt> |
111 <dd> |
111 <dd> |
112 name of the wanted pixmap (string) |
112 name of the wanted pixmap |
113 </dd> |
113 </dd><dt><i>size</i> (QSize)</dt> |
114 </dl><dl> |
114 <dd> |
115 <dt>Returns:</dt> |
115 requested size |
116 <dd> |
116 </dd> |
117 the requested pixmap (QPixmap) |
117 </dl><dl> |
|
118 <dt>Returns:</dt> |
|
119 <dd> |
|
120 the requested pixmap |
|
121 </dd> |
|
122 </dl><dl> |
|
123 <dt>Return Type:</dt> |
|
124 <dd> |
|
125 QPixmap |
118 </dd> |
126 </dd> |
119 </dl> |
127 </dl> |
120 <div align="right"><a href="#top">Up</a></div> |
128 <div align="right"><a href="#top">Up</a></div> |
121 <hr /><hr /> |
129 <hr /><hr /> |
122 <a NAME="addSearchPath" ID="addSearchPath"></a> |
130 <a NAME="addSearchPath" ID="addSearchPath"></a> |
135 </dl> |
143 </dl> |
136 <div align="right"><a href="#top">Up</a></div> |
144 <div align="right"><a href="#top">Up</a></div> |
137 <hr /><hr /> |
145 <hr /><hr /> |
138 <a NAME="getCombinedIcon" ID="getCombinedIcon"></a> |
146 <a NAME="getCombinedIcon" ID="getCombinedIcon"></a> |
139 <h2>getCombinedIcon</h2> |
147 <h2>getCombinedIcon</h2> |
140 <b>getCombinedIcon</b>(<i>keys, cache=pixCache</i>) |
148 <b>getCombinedIcon</b>(<i>keys, size=None, cache=pixCache</i>) |
141 <p> |
149 <p> |
142 Module function to retrieve a symbolic link icon. |
150 Module function to retrieve a symbolic link icon. |
143 </p><dl> |
151 </p><dl> |
144 <dt><i>keys</i></dt> |
152 <dt><i>keys</i> (list of str)</dt> |
145 <dd> |
153 <dd> |
146 list of names of icons (string) |
154 list of names of icons |
147 </dd><dt><i>cache</i></dt> |
155 </dd><dt><i>size</i> (QSize)</dt> |
148 <dd> |
156 <dd> |
149 reference to the pixmap cache object (PixmapCache) |
157 requested size of individual icons |
150 </dd> |
158 </dd><dt><i>cache</i> (PixmapCache)</dt> |
151 </dl><dl> |
159 <dd> |
152 <dt>Returns:</dt> |
160 reference to the pixmap cache object |
153 <dd> |
161 </dd> |
154 the requested icon (QIcon) |
162 </dl><dl> |
|
163 <dt>Returns:</dt> |
|
164 <dd> |
|
165 the requested icon |
|
166 </dd> |
|
167 </dl><dl> |
|
168 <dt>Return Type:</dt> |
|
169 <dd> |
|
170 QIcon |
155 </dd> |
171 </dd> |
156 </dl> |
172 </dl> |
157 <div align="right"><a href="#top">Up</a></div> |
173 <div align="right"><a href="#top">Up</a></div> |
158 <hr /><hr /> |
174 <hr /><hr /> |
159 <a NAME="getIcon" ID="getIcon"></a> |
175 <a NAME="getIcon" ID="getIcon"></a> |
160 <h2>getIcon</h2> |
176 <h2>getIcon</h2> |
161 <b>getIcon</b>(<i>key, cache=pixCache</i>) |
177 <b>getIcon</b>(<i>key, size=None, cache=pixCache</i>) |
162 <p> |
178 <p> |
163 Module function to retrieve an icon. |
179 Module function to retrieve an icon. |
164 </p><dl> |
180 </p><dl> |
165 <dt><i>key</i></dt> |
181 <dt><i>key</i> (str)</dt> |
166 <dd> |
182 <dd> |
167 name of the wanted icon (string) |
183 name of the wanted pixmap |
168 </dd><dt><i>cache</i></dt> |
184 </dd><dt><i>size</i> (QSize)</dt> |
169 <dd> |
185 <dd> |
170 reference to the pixmap cache object (PixmapCache) |
186 requested size |
171 </dd> |
187 </dd><dt><i>cache</i> (PixmapCache)</dt> |
172 </dl><dl> |
188 <dd> |
173 <dt>Returns:</dt> |
189 reference to the pixmap cache object |
174 <dd> |
190 </dd> |
175 the requested icon (QIcon) |
191 </dl><dl> |
|
192 <dt>Returns:</dt> |
|
193 <dd> |
|
194 the requested icon |
|
195 </dd> |
|
196 </dl><dl> |
|
197 <dt>Return Type:</dt> |
|
198 <dd> |
|
199 QIcon |
176 </dd> |
200 </dd> |
177 </dl> |
201 </dl> |
178 <div align="right"><a href="#top">Up</a></div> |
202 <div align="right"><a href="#top">Up</a></div> |
179 <hr /><hr /> |
203 <hr /><hr /> |
180 <a NAME="getPixmap" ID="getPixmap"></a> |
204 <a NAME="getPixmap" ID="getPixmap"></a> |
181 <h2>getPixmap</h2> |
205 <h2>getPixmap</h2> |
182 <b>getPixmap</b>(<i>key, cache=pixCache</i>) |
206 <b>getPixmap</b>(<i>key, size=None, cache=pixCache</i>) |
183 <p> |
207 <p> |
184 Module function to retrieve a pixmap. |
208 Module function to retrieve a pixmap. |
185 </p><dl> |
209 </p><dl> |
186 <dt><i>key</i></dt> |
210 <dt><i>key</i> (str)</dt> |
187 <dd> |
211 <dd> |
188 name of the wanted pixmap (string) |
212 name of the wanted pixmap |
189 </dd><dt><i>cache</i></dt> |
213 </dd><dt><i>size</i> (QSize)</dt> |
190 <dd> |
214 <dd> |
191 reference to the pixmap cache object (PixmapCache) |
215 requested size |
192 </dd> |
216 </dd><dt><i>cache</i> (PixmapCache)</dt> |
193 </dl><dl> |
217 <dd> |
194 <dt>Returns:</dt> |
218 reference to the pixmap cache object |
195 <dd> |
219 </dd> |
196 the requested pixmap (QPixmap) |
220 </dl><dl> |
|
221 <dt>Returns:</dt> |
|
222 <dd> |
|
223 the requested pixmap |
|
224 </dd> |
|
225 </dl><dl> |
|
226 <dt>Return Type:</dt> |
|
227 <dd> |
|
228 QPixmap |
197 </dd> |
229 </dd> |
198 </dl> |
230 </dl> |
199 <div align="right"><a href="#top">Up</a></div> |
231 <div align="right"><a href="#top">Up</a></div> |
200 <hr /><hr /> |
232 <hr /><hr /> |
201 <a NAME="getSymlinkIcon" ID="getSymlinkIcon"></a> |
233 <a NAME="getSymlinkIcon" ID="getSymlinkIcon"></a> |
202 <h2>getSymlinkIcon</h2> |
234 <h2>getSymlinkIcon</h2> |
203 <b>getSymlinkIcon</b>(<i>key, cache=pixCache</i>) |
235 <b>getSymlinkIcon</b>(<i>key, size=None, cache=pixCache</i>) |
204 <p> |
236 <p> |
205 Module function to retrieve a symbolic link icon. |
237 Module function to retrieve a symbolic link icon. |
206 </p><dl> |
238 </p><dl> |
207 <dt><i>key</i></dt> |
239 <dt><i>key</i> (str)</dt> |
208 <dd> |
240 <dd> |
209 name of the wanted icon (string) |
241 name of the wanted pixmap |
210 </dd><dt><i>cache</i></dt> |
242 </dd><dt><i>size</i> (QSize)</dt> |
211 <dd> |
243 <dd> |
212 reference to the pixmap cache object (PixmapCache) |
244 requested size |
213 </dd> |
245 </dd><dt><i>cache</i> (PixmapCache)</dt> |
214 </dl><dl> |
246 <dd> |
215 <dt>Returns:</dt> |
247 reference to the pixmap cache object |
216 <dd> |
248 </dd> |
217 the requested icon (QIcon) |
249 </dl><dl> |
|
250 <dt>Returns:</dt> |
|
251 <dd> |
|
252 the requested icon |
|
253 </dd> |
|
254 </dl><dl> |
|
255 <dt>Return Type:</dt> |
|
256 <dd> |
|
257 QIcon |
218 </dd> |
258 </dd> |
219 </dl> |
259 </dl> |
220 <div align="right"><a href="#top">Up</a></div> |
260 <div align="right"><a href="#top">Up</a></div> |
221 <hr /> |
261 <hr /> |
222 </body></html> |
262 </body></html> |