Documentation/Source/eric5.E5Gui.E5SqueezeLabels.html

changeset 55
b5c84934de9c
child 58
37f0444c3479
equal deleted inserted replaced
54:31463df17fd5 55:b5c84934de9c
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.E5Gui.E5SqueezeLabels</title>
6 <style>
7 body {
8 background:white;
9 margin: 0em 1em 10em 1em;
10 color: black;
11 }
12
13 h1 { color: white; background: #4FA4FF; }
14 h2 { color: white; background: #4FA4FF; }
15 h3 { color: white; background: #00557F; }
16 h4 { color: white; background: #00557F; }
17
18 a { color: #AA5500; }
19
20 </style>
21 </head>
22 <body><a NAME="top" ID="top"></a>
23 <h1>eric5.E5Gui.E5SqueezeLabels</h1>
24 <p>
25 &#77;&#111;&#100;&#117;&#108;&#101; &#105;&#109;&#112;&#108;&#101;&#109;&#101;&#110;&#116;&#105;&#110;&#103; &#108;&#97;&#98;&#101;&#108;&#115; &#116;&#104;&#97;&#116; &#115;&#113;&#117;&#101;&#101;z&#101; &#116;&#104;&#101;&#105;&#114; &#99;&#111;&#110;&#116;&#101;&#110;&#116;&#115; &#116;&#111; &#102;&#105;&#116; &#116;&#104;&#101; &#115;&#105;z&#101; &#111;&#102; &#116;&#104;&#101; &#108;&#97;&#98;&#101;&#108;.
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="#E5SqueezeLabel">E5SqueezeLabel</a></td>
35 <td>&#67;&#108;&#97;&#115;&#115; &#105;&#109;&#112;&#108;&#101;&#109;&#101;&#110;&#116;&#105;&#110;&#103; &#97; &#108;&#97;&#98;&#101;&#108; &#116;&#104;&#97;&#116; &#115;&#113;&#117;&#101;&#101;z&#101;&#115; &#105;&#116;&#115; &#99;&#111;&#110;&#116;&#101;&#110;&#116;&#115; &#116;&#111; &#102;&#105;&#116; &#105;&#116;'&#115; &#115;&#105;z&#101;.</td>
36 </tr><tr>
37 <td><a href="#E5SqueezeLabelPath">E5SqueezeLabelPath</a></td>
38 <td>&#67;&#108;&#97;&#115;&#115; &#105;&#109;&#112;&#108;&#101;&#109;&#101;&#110;&#116;&#105;&#110;&#103; &#97; &#108;&#97;&#98;&#101;&#108; &#115;&#104;&#111;w&#105;&#110;&#103; &#97; &#102;&#105;&#108;&#101; &#112;&#97;&#116;&#104; &#99;&#111;&#109;&#112;&#97;&#99;&#116;&#101;&#100; &#116;&#111; &#102;&#105;&#116; &#105;&#116;'&#115; &#115;&#105;z&#101;.</td>
39 </tr>
40 </table>
41 <h3>Functions</h3>
42 <table>
43 <tr><td>None</td></tr>
44 </table>
45 <hr /><hr />
46 <a NAME="E5SqueezeLabel" ID="E5SqueezeLabel"></a>
47 <h2>E5SqueezeLabel</h2>
48 <p>
49 &#67;&#108;&#97;&#115;&#115; &#105;&#109;&#112;&#108;&#101;&#109;&#101;&#110;&#116;&#105;&#110;&#103; &#97; &#108;&#97;&#98;&#101;&#108; &#116;&#104;&#97;&#116; &#115;&#113;&#117;&#101;&#101;z&#101;&#115; &#105;&#116;&#115; &#99;&#111;&#110;&#116;&#101;&#110;&#116;&#115; &#116;&#111; &#102;&#105;&#116; &#105;&#116;'&#115; &#115;&#105;z&#101;.
50 </p>
51 <h3>Derived from</h3>
52 QLabel
53 <h3>Class Attributes</h3>
54 <table>
55 <tr><td>None</td></tr>
56 </table>
57 <h3>Methods</h3>
58 <table>
59 <tr>
60 <td><a href="#E5SqueezeLabel.__init__">E5SqueezeLabel</a></td>
61 <td>&#67;&#111;&#110;&#115;&#116;&#114;&#117;&#99;&#116;&#111;&#114;</td>
62 </tr><tr>
63 <td><a href="#E5SqueezeLabel.paintEvent">paintEvent</a></td>
64 <td>&#80;&#114;&#111;&#116;&#101;&#99;&#116;&#101;&#100; &#109;&#101;&#116;&#104;&#111;&#100; &#99;&#97;&#108;&#108;&#101;&#100; w&#104;&#101;&#110; &#115;&#111;&#109;&#101; &#112;&#97;&#105;&#110;&#116;&#105;&#110;&#103; &#105;&#115; &#114;&#101;&#113;&#117;&#105;&#114;&#101;&#100;.</td>
65 </tr><tr>
66 <td><a href="#E5SqueezeLabel.setText">setText</a></td>
67 <td>&#80;&#117;&#98;&#108;&#105;&#99; &#109;&#101;&#116;&#104;&#111;&#100; &#116;&#111; &#115;&#101;&#116; &#116;&#104;&#101; &#108;&#97;&#98;&#101;&#108;'&#115; &#116;&#101;x&#116;.</td>
68 </tr>
69 </table>
70 <a NAME="E5SqueezeLabel.__init__" ID="E5SqueezeLabel.__init__"></a>
71 <h4>E5SqueezeLabel (Constructor)</h4>
72 <b>E5SqueezeLabel</b>(<i>parent = None</i>)
73 <p>
74 &#67;&#111;&#110;&#115;&#116;&#114;&#117;&#99;&#116;&#111;&#114;
75 </p><dl>
76 <dt><i>parent</i></dt>
77 <dd>
78 &#114;&#101;&#102;&#101;&#114;&#101;&#110;&#99;&#101; &#116;&#111; &#116;&#104;&#101; &#112;&#97;&#114;&#101;&#110;&#116; &#87;&#105;&#100;&#103;&#101;&#116; (&#81;&#87;&#105;&#100;&#103;&#101;&#116;)
79 </dd>
80 </dl><a NAME="E5SqueezeLabel.paintEvent" ID="E5SqueezeLabel.paintEvent"></a>
81 <h4>E5SqueezeLabel.paintEvent</h4>
82 <b>paintEvent</b>(<i>event</i>)
83 <p>
84 &#80;&#114;&#111;&#116;&#101;&#99;&#116;&#101;&#100; &#109;&#101;&#116;&#104;&#111;&#100; &#99;&#97;&#108;&#108;&#101;&#100; w&#104;&#101;&#110; &#115;&#111;&#109;&#101; &#112;&#97;&#105;&#110;&#116;&#105;&#110;&#103; &#105;&#115; &#114;&#101;&#113;&#117;&#105;&#114;&#101;&#100;.
85 </p><dl>
86 <dt><i>event</i></dt>
87 <dd>
88 &#114;&#101;&#102;&#101;&#114;&#101;&#110;&#99;&#101; &#116;&#111; &#116;&#104;&#101; &#112;&#97;&#105;&#110;&#116; &#101;v&#101;&#110;&#116; (&#81;&#80;&#97;&#105;&#110;&#116;&#69;v&#101;&#110;&#116;)
89 </dd>
90 </dl><a NAME="E5SqueezeLabel.setText" ID="E5SqueezeLabel.setText"></a>
91 <h4>E5SqueezeLabel.setText</h4>
92 <b>setText</b>(<i>txt</i>)
93 <p>
94 &#80;&#117;&#98;&#108;&#105;&#99; &#109;&#101;&#116;&#104;&#111;&#100; &#116;&#111; &#115;&#101;&#116; &#116;&#104;&#101; &#108;&#97;&#98;&#101;&#108;'&#115; &#116;&#101;x&#116;.
95 </p><dl>
96 <dt><i>txt</i></dt>
97 <dd>
98 &#116;&#104;&#101; &#116;&#101;x&#116; &#116;&#111; &#98;&#101; &#115;&#104;&#111;w&#110; (&#115;&#116;&#114;&#105;&#110;&#103;)
99 </dd>
100 </dl>
101 <div align="right"><a href="#top">Up</a></div>
102 <hr /><hr />
103 <a NAME="E5SqueezeLabelPath" ID="E5SqueezeLabelPath"></a>
104 <h2>E5SqueezeLabelPath</h2>
105 <p>
106 &#67;&#108;&#97;&#115;&#115; &#105;&#109;&#112;&#108;&#101;&#109;&#101;&#110;&#116;&#105;&#110;&#103; &#97; &#108;&#97;&#98;&#101;&#108; &#115;&#104;&#111;w&#105;&#110;&#103; &#97; &#102;&#105;&#108;&#101; &#112;&#97;&#116;&#104; &#99;&#111;&#109;&#112;&#97;&#99;&#116;&#101;&#100; &#116;&#111; &#102;&#105;&#116; &#105;&#116;'&#115; &#115;&#105;z&#101;.
107 </p>
108 <h3>Derived from</h3>
109 QLabel
110 <h3>Class Attributes</h3>
111 <table>
112 <tr><td>None</td></tr>
113 </table>
114 <h3>Methods</h3>
115 <table>
116 <tr>
117 <td><a href="#E5SqueezeLabelPath.__init__">E5SqueezeLabelPath</a></td>
118 <td>&#67;&#111;&#110;&#115;&#116;&#114;&#117;&#99;&#116;&#111;&#114;</td>
119 </tr><tr>
120 <td><a href="#E5SqueezeLabelPath.length">length</a></td>
121 <td>&#80;&#117;&#98;&#108;&#105;&#99; &#109;&#101;&#116;&#104;&#111;&#100; &#116;&#111; &#114;&#101;&#116;&#117;&#114;&#110; &#116;&#104;&#101; &#108;&#101;&#110;&#103;&#116;&#104; &#111;&#102; &#97; &#116;&#101;x&#116; &#105;&#110; &#112;&#105;x&#101;&#108;&#115;.</td>
122 </tr><tr>
123 <td><a href="#E5SqueezeLabelPath.paintEvent">paintEvent</a></td>
124 <td>&#80;&#114;&#111;&#116;&#101;&#99;&#116;&#101;&#100; &#109;&#101;&#116;&#104;&#111;&#100; &#99;&#97;&#108;&#108;&#101;&#100; w&#104;&#101;&#110; &#115;&#111;&#109;&#101; &#112;&#97;&#105;&#110;&#116;&#105;&#110;&#103; &#105;&#115; &#114;&#101;&#113;&#117;&#105;&#114;&#101;&#100;.</td>
125 </tr><tr>
126 <td><a href="#E5SqueezeLabelPath.setPath">setPath</a></td>
127 <td>&#80;&#117;&#98;&#108;&#105;&#99; &#109;&#101;&#116;&#104;&#111;&#100; &#116;&#111; &#115;&#101;&#116; &#116;&#104;&#101; &#112;&#97;&#116;&#104; &#111;&#102; &#116;&#104;&#101; &#108;&#97;&#98;&#101;&#108;.</td>
128 </tr><tr>
129 <td><a href="#E5SqueezeLabelPath.setSurrounding">setSurrounding</a></td>
130 <td>&#80;&#117;&#98;&#108;&#105;&#99; &#109;&#101;&#116;&#104;&#111;&#100; &#116;&#111; &#115;&#101;&#116; &#116;&#104;&#101; &#115;&#117;&#114;&#114;&#111;&#117;&#110;&#100;&#105;&#110;&#103; &#111;&#102; &#116;&#104;&#101; &#112;&#97;&#116;&#104; &#115;&#116;&#114;&#105;&#110;&#103;.</td>
131 </tr><tr>
132 <td><a href="#E5SqueezeLabelPath.setTextPath">setTextPath</a></td>
133 <td>&#80;&#117;&#98;&#108;&#105;&#99; &#109;&#101;&#116;&#104;&#111;&#100; &#116;&#111; &#115;&#101;&#116; &#116;&#104;&#101; &#115;&#117;&#114;&#114;&#111;&#117;&#110;&#100;&#105;&#110;&#103; &#97;&#110;&#100; &#116;&#104;&#101; &#112;&#97;&#116;&#104; &#111;&#102; &#116;&#104;&#101; &#108;&#97;&#98;&#101;&#108;.</td>
134 </tr>
135 </table>
136 <a NAME="E5SqueezeLabelPath.__init__" ID="E5SqueezeLabelPath.__init__"></a>
137 <h4>E5SqueezeLabelPath (Constructor)</h4>
138 <b>E5SqueezeLabelPath</b>(<i>parent = None</i>)
139 <p>
140 &#67;&#111;&#110;&#115;&#116;&#114;&#117;&#99;&#116;&#111;&#114;
141 </p><dl>
142 <dt><i>parent</i></dt>
143 <dd>
144 &#114;&#101;&#102;&#101;&#114;&#101;&#110;&#99;&#101; &#116;&#111; &#116;&#104;&#101; &#112;&#97;&#114;&#101;&#110;&#116; &#87;&#105;&#100;&#103;&#101;&#116; (&#81;&#87;&#105;&#100;&#103;&#101;&#116;)
145 </dd>
146 </dl><a NAME="E5SqueezeLabelPath.length" ID="E5SqueezeLabelPath.length"></a>
147 <h4>E5SqueezeLabelPath.length</h4>
148 <b>length</b>(<i>txt</i>)
149 <p>
150 &#80;&#117;&#98;&#108;&#105;&#99; &#109;&#101;&#116;&#104;&#111;&#100; &#116;&#111; &#114;&#101;&#116;&#117;&#114;&#110; &#116;&#104;&#101; &#108;&#101;&#110;&#103;&#116;&#104; &#111;&#102; &#97; &#116;&#101;x&#116; &#105;&#110; &#112;&#105;x&#101;&#108;&#115;.
151 </p><dl>
152 <dt><i>txt</i></dt>
153 <dd>
154 &#116;&#101;x&#116; &#116;&#111; &#99;&#97;&#108;&#99;&#117;&#108;&#97;&#116;&#101; &#116;&#104;&#101; &#108;&#101;&#110;&#103;&#116;&#104; &#102;&#111;&#114; &#97;&#102;&#116;&#101;&#114; w&#114;&#97;&#112;&#112;&#101;&#100; (&#115;&#116;&#114;&#105;&#110;&#103;)
155 </dd>
156 </dl><dl>
157 <dt>Returns:</dt>
158 <dd>
159 &#108;&#101;&#110;&#103;&#116;&#104; &#111;&#102; &#116;&#104;&#101; w&#114;&#97;&#112;&#112;&#101;&#100; &#116;&#101;x&#116; &#105;&#110; &#112;&#105;x&#101;&#108;&#115; (&#105;&#110;&#116;&#101;&#103;&#101;&#114;)
160 </dd>
161 </dl><a NAME="E5SqueezeLabelPath.paintEvent" ID="E5SqueezeLabelPath.paintEvent"></a>
162 <h4>E5SqueezeLabelPath.paintEvent</h4>
163 <b>paintEvent</b>(<i>event</i>)
164 <p>
165 &#80;&#114;&#111;&#116;&#101;&#99;&#116;&#101;&#100; &#109;&#101;&#116;&#104;&#111;&#100; &#99;&#97;&#108;&#108;&#101;&#100; w&#104;&#101;&#110; &#115;&#111;&#109;&#101; &#112;&#97;&#105;&#110;&#116;&#105;&#110;&#103; &#105;&#115; &#114;&#101;&#113;&#117;&#105;&#114;&#101;&#100;.
166 </p><dl>
167 <dt><i>event</i></dt>
168 <dd>
169 &#114;&#101;&#102;&#101;&#114;&#101;&#110;&#99;&#101; &#116;&#111; &#116;&#104;&#101; &#112;&#97;&#105;&#110;&#116; &#101;v&#101;&#110;&#116; (&#81;&#80;&#97;&#105;&#110;&#116;&#69;v&#101;&#110;&#116;)
170 </dd>
171 </dl><a NAME="E5SqueezeLabelPath.setPath" ID="E5SqueezeLabelPath.setPath"></a>
172 <h4>E5SqueezeLabelPath.setPath</h4>
173 <b>setPath</b>(<i>path</i>)
174 <p>
175 &#80;&#117;&#98;&#108;&#105;&#99; &#109;&#101;&#116;&#104;&#111;&#100; &#116;&#111; &#115;&#101;&#116; &#116;&#104;&#101; &#112;&#97;&#116;&#104; &#111;&#102; &#116;&#104;&#101; &#108;&#97;&#98;&#101;&#108;.
176 </p><dl>
177 <dt><i>path</i></dt>
178 <dd>
179 &#112;&#97;&#116;&#104; &#116;&#111; &#98;&#101; &#115;&#104;&#111;w&#110; (&#115;&#116;&#114;&#105;&#110;&#103;)
180 </dd>
181 </dl><a NAME="E5SqueezeLabelPath.setSurrounding" ID="E5SqueezeLabelPath.setSurrounding"></a>
182 <h4>E5SqueezeLabelPath.setSurrounding</h4>
183 <b>setSurrounding</b>(<i>surrounding</i>)
184 <p>
185 &#80;&#117;&#98;&#108;&#105;&#99; &#109;&#101;&#116;&#104;&#111;&#100; &#116;&#111; &#115;&#101;&#116; &#116;&#104;&#101; &#115;&#117;&#114;&#114;&#111;&#117;&#110;&#100;&#105;&#110;&#103; &#111;&#102; &#116;&#104;&#101; &#112;&#97;&#116;&#104; &#115;&#116;&#114;&#105;&#110;&#103;.
186 </p><dl>
187 <dt><i>surrounding</i></dt>
188 <dd>
189 &#116;&#104;&#101; &#97; &#115;&#116;&#114;&#105;&#110;&#103; &#99;&#111;&#110;&#116;&#97;&#105;&#110;&#103; &#112;&#108;&#97;&#99;&#101;&#104;&#111;&#108;&#100;&#101;&#114;&#115; &#102;&#111;&#114; &#116;&#104;&#101; &#112;&#97;&#116;&#104; (&#115;&#116;&#114;&#105;&#110;&#103;)
190 </dd>
191 </dl><a NAME="E5SqueezeLabelPath.setTextPath" ID="E5SqueezeLabelPath.setTextPath"></a>
192 <h4>E5SqueezeLabelPath.setTextPath</h4>
193 <b>setTextPath</b>(<i>surrounding, path</i>)
194 <p>
195 &#80;&#117;&#98;&#108;&#105;&#99; &#109;&#101;&#116;&#104;&#111;&#100; &#116;&#111; &#115;&#101;&#116; &#116;&#104;&#101; &#115;&#117;&#114;&#114;&#111;&#117;&#110;&#100;&#105;&#110;&#103; &#97;&#110;&#100; &#116;&#104;&#101; &#112;&#97;&#116;&#104; &#111;&#102; &#116;&#104;&#101; &#108;&#97;&#98;&#101;&#108;.
196 </p><dl>
197 <dt><i>surrounding</i></dt>
198 <dd>
199 &#116;&#104;&#101; &#97; &#115;&#116;&#114;&#105;&#110;&#103; &#99;&#111;&#110;&#116;&#97;&#105;&#110;&#103; &#112;&#108;&#97;&#99;&#101;&#104;&#111;&#108;&#100;&#101;&#114;&#115; &#102;&#111;&#114; &#116;&#104;&#101; &#112;&#97;&#116;&#104; (&#115;&#116;&#114;&#105;&#110;&#103;)
200 </dd><dt><i>path</i></dt>
201 <dd>
202 &#112;&#97;&#116;&#104; &#116;&#111; &#98;&#101; &#115;&#104;&#111;w&#110; (&#115;&#116;&#114;&#105;&#110;&#103;)
203 </dd>
204 </dl>
205 <div align="right"><a href="#top">Up</a></div>
206 <hr />
207 </body></html>

eric ide

mercurial