eric6/Documentation/Source/eric6.E5Gui.E5TabWidget.html

changeset 7515
2d26ec7a563c
parent 7273
391d6b7b1eff
child 7900
72b88fb20261
equal deleted inserted replaced
7514:0960c7c1f497 7515:2d26ec7a563c
337 point the context menu was requested (QPoint) 337 point the context menu was requested (QPoint)
338 </dd> 338 </dd>
339 </dl> 339 </dl>
340 <a NAME="E5TabWidget.animationLabel" ID="E5TabWidget.animationLabel"></a> 340 <a NAME="E5TabWidget.animationLabel" ID="E5TabWidget.animationLabel"></a>
341 <h4>E5TabWidget.animationLabel</h4> 341 <h4>E5TabWidget.animationLabel</h4>
342 <b>animationLabel</b>(<i>index, animationFile, speed=100</i>) 342 <b>animationLabel</b>(<i>index, animationFile, interval=100</i>)
343 343
344 <p> 344 <p>
345 Public slot to set an animated icon. 345 Public slot to set an animated icon.
346 </p> 346 </p>
347 <dl> 347 <dl>
348 348
349 <dt><i>index</i></dt> 349 <dt><i>index</i> (int)</dt>
350 <dd> 350 <dd>
351 tab index (integer) 351 tab index
352 </dd> 352 </dd>
353 <dt><i>animationFile</i></dt> 353 <dt><i>animationFile</i> (str)</dt>
354 <dd> 354 <dd>
355 name of the file containing the animation (string) 355 name of the file containing the animation
356 </dd> 356 </dd>
357 <dt><i>speed</i></dt> 357 <dt><i>interval</i> (int)</dt>
358 <dd> 358 <dd>
359 animation speed of the icon in percent of the original 359 interval in milliseconds between animation frames
360 icon's speed (integer)
361 </dd> 360 </dd>
362 </dl> 361 </dl>
363 <dl> 362 <dl>
364 <dt>Returns:</dt> 363 <dt>Returns:</dt>
365 <dd> 364 <dd>
366 reference to the created label (QLabel) 365 reference to the created label
366 </dd>
367 </dl>
368 <dl>
369 <dt>Return Type:</dt>
370 <dd>
371 E5AnimatedLabel
367 </dd> 372 </dd>
368 </dl> 373 </dl>
369 <a NAME="E5TabWidget.moveTab" ID="E5TabWidget.moveTab"></a> 374 <a NAME="E5TabWidget.moveTab" ID="E5TabWidget.moveTab"></a>
370 <h4>E5TabWidget.moveTab</h4> 375 <h4>E5TabWidget.moveTab</h4>
371 <b>moveTab</b>(<i>curIndex, newIndex</i>) 376 <b>moveTab</b>(<i>curIndex, newIndex</i>)

eric ide

mercurial