Documentation/Source/eric5.UI.PixmapCache.html

changeset 2966
f85f686981ad
parent 2387
2d119e79ab54
child 3270
d8532d902e76
equal deleted inserted replaced
2965:d133c7edd88a 2966:f85f686981ad
123 Module function to add a path to the search path. 123 Module function to add a path to the search path.
124 </p><dl> 124 </p><dl>
125 <dt><i>path</i></dt> 125 <dt><i>path</i></dt>
126 <dd> 126 <dd>
127 path to add (string) 127 path to add (string)
128 </dd><dt><i>cache</i></dt>
129 <dd>
130 reference to the pixmap cache object (PixmapCache)
128 </dd> 131 </dd>
129 </dl> 132 </dl>
130 <div align="right"><a href="#top">Up</a></div> 133 <div align="right"><a href="#top">Up</a></div>
131 <hr /><hr /> 134 <hr /><hr />
132 <a NAME="getIcon" ID="getIcon"></a> 135 <a NAME="getIcon" ID="getIcon"></a>
136 Module function to retrieve an icon. 139 Module function to retrieve an icon.
137 </p><dl> 140 </p><dl>
138 <dt><i>key</i></dt> 141 <dt><i>key</i></dt>
139 <dd> 142 <dd>
140 name of the wanted icon (string) 143 name of the wanted icon (string)
144 </dd><dt><i>cache</i></dt>
145 <dd>
146 reference to the pixmap cache object (PixmapCache)
141 </dd> 147 </dd>
142 </dl><dl> 148 </dl><dl>
143 <dt>Returns:</dt> 149 <dt>Returns:</dt>
144 <dd> 150 <dd>
145 the requested icon (QIcon) 151 the requested icon (QIcon)
154 Module function to retrieve a pixmap. 160 Module function to retrieve a pixmap.
155 </p><dl> 161 </p><dl>
156 <dt><i>key</i></dt> 162 <dt><i>key</i></dt>
157 <dd> 163 <dd>
158 name of the wanted pixmap (string) 164 name of the wanted pixmap (string)
165 </dd><dt><i>cache</i></dt>
166 <dd>
167 reference to the pixmap cache object (PixmapCache)
159 </dd> 168 </dd>
160 </dl><dl> 169 </dl><dl>
161 <dt>Returns:</dt> 170 <dt>Returns:</dt>
162 <dd> 171 <dd>
163 the requested pixmap (QPixmap) 172 the requested pixmap (QPixmap)
172 Module function to retrieve a symbolic link icon. 181 Module function to retrieve a symbolic link icon.
173 </p><dl> 182 </p><dl>
174 <dt><i>key</i></dt> 183 <dt><i>key</i></dt>
175 <dd> 184 <dd>
176 name of the wanted icon (string) 185 name of the wanted icon (string)
186 </dd><dt><i>cache</i></dt>
187 <dd>
188 reference to the pixmap cache object (PixmapCache)
177 </dd> 189 </dd>
178 </dl><dl> 190 </dl><dl>
179 <dt>Returns:</dt> 191 <dt>Returns:</dt>
180 <dd> 192 <dd>
181 the requested icon (QIcon) 193 the requested icon (QIcon)

eric ide

mercurial