Documentation/Source/eric5.UI.PixmapCache.html

changeset 17
edde1fe80b3e
child 21
b88a0e6268bd
equal deleted inserted replaced
16:892c1787d666 17:edde1fe80b3e
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>eric5.UI.PixmapCache</title>
6 <style>
7 b'body {\n background:white;\n margin: 0em 1em 10em 1em;\n color: black;\n}\n\nh1 { color: white; background: #4FA4FF; }\nh2 { color: white; background: #4FA4FF; }\nh3 { color: white; background: #00557F; }\nh4 { color: white; background: #00557F; }\n \na { color: #AA5500; }\n'
8 </style>
9 </head>
10 <body><a NAME="top" ID="top"></a>
11 <h1>eric5.UI.PixmapCache</h1>
12 <p>
13 &#77;&#111;&#100;&#117;&#108;&#101; &#105;&#109;&#112;&#108;&#101;&#109;&#101;&#110;&#116;&#105;&#110;&#103; &#97; &#112;&#105;x&#109;&#97;&#112; &#99;&#97;&#99;&#104;&#101; &#102;&#111;&#114; &#105;&#99;&#111;&#110;&#115;.
14 </p>
15 <h3>Global Attributes</h3>
16 <table>
17 <tr><td>pixCache</td></tr>
18 </table>
19 <h3>Classes</h3>
20 <table>
21 <tr>
22 <td><a href="#PixmapCache">PixmapCache</a></td>
23 <td>&#67;&#108;&#97;&#115;&#115; &#105;&#109;&#112;&#108;&#101;&#109;&#101;&#110;&#116;&#105;&#110;&#103; &#97; &#112;&#105;x&#109;&#97;&#112; &#99;&#97;&#99;&#104;&#101; &#102;&#111;&#114; &#105;&#99;&#111;&#110;&#115;.</td>
24 </tr>
25 </table>
26 <h3>Functions</h3>
27 <table>
28 <tr>
29 <td><a href="#addSearchPath">addSearchPath</a></td>
30 <td>&#77;&#111;&#100;&#117;&#108;&#101; &#102;&#117;&#110;&#99;&#116;&#105;&#111;&#110; &#116;&#111; &#97;&#100;&#100; &#97; &#112;&#97;&#116;&#104; &#116;&#111; &#116;&#104;&#101; &#115;&#101;&#97;&#114;&#99;&#104; &#112;&#97;&#116;&#104;.</td>
31 </tr><tr>
32 <td><a href="#getIcon">getIcon</a></td>
33 <td>&#77;&#111;&#100;&#117;&#108;&#101; &#102;&#117;&#110;&#99;&#116;&#105;&#111;&#110; &#116;&#111; &#114;&#101;&#116;&#114;&#105;&#101;v&#101; &#97;&#110; &#105;&#99;&#111;&#110;.</td>
34 </tr><tr>
35 <td><a href="#getPixmap">getPixmap</a></td>
36 <td>&#77;&#111;&#100;&#117;&#108;&#101; &#102;&#117;&#110;&#99;&#116;&#105;&#111;&#110; &#116;&#111; &#114;&#101;&#116;&#114;&#105;&#101;v&#101; &#97; &#112;&#105;x&#109;&#97;&#112;.</td>
37 </tr>
38 </table>
39 <hr /><hr />
40 <a NAME="PixmapCache" ID="PixmapCache"></a>
41 <h2>PixmapCache</h2>
42 <p>
43 &#67;&#108;&#97;&#115;&#115; &#105;&#109;&#112;&#108;&#101;&#109;&#101;&#110;&#116;&#105;&#110;&#103; &#97; &#112;&#105;x&#109;&#97;&#112; &#99;&#97;&#99;&#104;&#101; &#102;&#111;&#114; &#105;&#99;&#111;&#110;&#115;.
44 </p>
45 <h3>Derived from</h3>
46 object
47 <h3>Class Attributes</h3>
48 <table>
49 <tr><td>None</td></tr>
50 </table>
51 <h3>Methods</h3>
52 <table>
53 <tr>
54 <td><a href="#PixmapCache.__init__">PixmapCache</a></td>
55 <td>&#67;&#111;&#110;&#115;&#116;&#114;&#117;&#99;&#116;&#111;&#114;</td>
56 </tr><tr>
57 <td><a href="#PixmapCache.addSearchPath">addSearchPath</a></td>
58 <td>&#80;&#117;&#98;&#108;&#105;&#99; &#109;&#101;&#116;&#104;&#111;&#100; &#116;&#111; &#97;&#100;&#100; &#97; &#112;&#97;&#116;&#104; &#116;&#111; &#116;&#104;&#101; &#115;&#101;&#97;&#114;&#99;&#104; &#112;&#97;&#116;&#104;.</td>
59 </tr><tr>
60 <td><a href="#PixmapCache.getPixmap">getPixmap</a></td>
61 <td>&#80;&#117;&#98;&#108;&#105;&#99; &#109;&#101;&#116;&#104;&#111;&#100; &#116;&#111; &#114;&#101;&#116;&#114;&#105;&#101;v&#101; &#97; &#112;&#105;x&#109;&#97;&#112;.</td>
62 </tr>
63 </table>
64 <a NAME="PixmapCache.__init__" ID="PixmapCache.__init__"></a>
65 <h4>PixmapCache (Constructor)</h4>
66 <b>PixmapCache</b>(<i></i>)
67 <p>
68 &#67;&#111;&#110;&#115;&#116;&#114;&#117;&#99;&#116;&#111;&#114;
69 </p><a NAME="PixmapCache.addSearchPath" ID="PixmapCache.addSearchPath"></a>
70 <h4>PixmapCache.addSearchPath</h4>
71 <b>addSearchPath</b>(<i>path</i>)
72 <p>
73 &#80;&#117;&#98;&#108;&#105;&#99; &#109;&#101;&#116;&#104;&#111;&#100; &#116;&#111; &#97;&#100;&#100; &#97; &#112;&#97;&#116;&#104; &#116;&#111; &#116;&#104;&#101; &#115;&#101;&#97;&#114;&#99;&#104; &#112;&#97;&#116;&#104;.
74 </p><dl>
75 <dt><i>path</i></dt>
76 <dd>
77 &#112;&#97;&#116;&#104; &#116;&#111; &#97;&#100;&#100; (&#115;&#116;&#114;&#105;&#110;&#103;)
78 </dd>
79 </dl><a NAME="PixmapCache.getPixmap" ID="PixmapCache.getPixmap"></a>
80 <h4>PixmapCache.getPixmap</h4>
81 <b>getPixmap</b>(<i>key</i>)
82 <p>
83 &#80;&#117;&#98;&#108;&#105;&#99; &#109;&#101;&#116;&#104;&#111;&#100; &#116;&#111; &#114;&#101;&#116;&#114;&#105;&#101;v&#101; &#97; &#112;&#105;x&#109;&#97;&#112;.
84 </p><dl>
85 <dt><i>key</i></dt>
86 <dd>
87 &#110;&#97;&#109;&#101; &#111;&#102; &#116;&#104;&#101; w&#97;&#110;&#116;&#101;&#100; &#112;&#105;x&#109;&#97;&#112; (&#115;&#116;&#114;&#105;&#110;&#103;)
88 </dd>
89 </dl><dl>
90 <dt>Returns:</dt>
91 <dd>
92 &#116;&#104;&#101; &#114;&#101;&#113;&#117;&#101;&#115;&#116;&#101;&#100; &#112;&#105;x&#109;&#97;&#112; (&#81;&#80;&#105;x&#109;&#97;&#112;)
93 </dd>
94 </dl>
95 <div align="right"><a href="#top">Up</a></div>
96 <hr /><hr />
97 <a NAME="addSearchPath" ID="addSearchPath"></a>
98 <h2>addSearchPath</h2>
99 <b>addSearchPath</b>(<i>path, cache = pixCache</i>)
100 <p>
101 &#77;&#111;&#100;&#117;&#108;&#101; &#102;&#117;&#110;&#99;&#116;&#105;&#111;&#110; &#116;&#111; &#97;&#100;&#100; &#97; &#112;&#97;&#116;&#104; &#116;&#111; &#116;&#104;&#101; &#115;&#101;&#97;&#114;&#99;&#104; &#112;&#97;&#116;&#104;.
102 </p><dl>
103 <dt><i>path</i></dt>
104 <dd>
105 &#112;&#97;&#116;&#104; &#116;&#111; &#97;&#100;&#100; (&#115;&#116;&#114;&#105;&#110;&#103;)
106 </dd>
107 </dl>
108 <div align="right"><a href="#top">Up</a></div>
109 <hr /><hr />
110 <a NAME="getIcon" ID="getIcon"></a>
111 <h2>getIcon</h2>
112 <b>getIcon</b>(<i>key, cache = pixCache</i>)
113 <p>
114 &#77;&#111;&#100;&#117;&#108;&#101; &#102;&#117;&#110;&#99;&#116;&#105;&#111;&#110; &#116;&#111; &#114;&#101;&#116;&#114;&#105;&#101;v&#101; &#97;&#110; &#105;&#99;&#111;&#110;.
115 </p><dl>
116 <dt><i>key</i></dt>
117 <dd>
118 &#110;&#97;&#109;&#101; &#111;&#102; &#116;&#104;&#101; w&#97;&#110;&#116;&#101;&#100; &#105;&#99;&#111;&#110; (&#115;&#116;&#114;&#105;&#110;&#103;)
119 </dd>
120 </dl><dl>
121 <dt>Returns:</dt>
122 <dd>
123 &#116;&#104;&#101; &#114;&#101;&#113;&#117;&#101;&#115;&#116;&#101;&#100; &#105;&#99;&#111;&#110; (&#81;&#73;&#99;&#111;&#110;)
124 </dd>
125 </dl>
126 <div align="right"><a href="#top">Up</a></div>
127 <hr /><hr />
128 <a NAME="getPixmap" ID="getPixmap"></a>
129 <h2>getPixmap</h2>
130 <b>getPixmap</b>(<i>key, cache = pixCache</i>)
131 <p>
132 &#77;&#111;&#100;&#117;&#108;&#101; &#102;&#117;&#110;&#99;&#116;&#105;&#111;&#110; &#116;&#111; &#114;&#101;&#116;&#114;&#105;&#101;v&#101; &#97; &#112;&#105;x&#109;&#97;&#112;.
133 </p><dl>
134 <dt><i>key</i></dt>
135 <dd>
136 &#110;&#97;&#109;&#101; &#111;&#102; &#116;&#104;&#101; w&#97;&#110;&#116;&#101;&#100; &#112;&#105;x&#109;&#97;&#112; (&#115;&#116;&#114;&#105;&#110;&#103;)
137 </dd>
138 </dl><dl>
139 <dt>Returns:</dt>
140 <dd>
141 &#116;&#104;&#101; &#114;&#101;&#113;&#117;&#101;&#115;&#116;&#101;&#100; &#112;&#105;x&#109;&#97;&#112; (&#81;&#80;&#105;x&#109;&#97;&#112;)
142 </dd>
143 </dl>
144 <div align="right"><a href="#top">Up</a></div>
145 <hr />
146 </body></html>

eric ide

mercurial