7988:c4c17121eff8 | 7989:a21d673a8f99 |
---|---|
296 | 296 |
297 <p> | 297 <p> |
298 Private method to calculate the width of the LED. | 298 Private method to calculate the width of the LED. |
299 </p> | 299 </p> |
300 <dl> | 300 <dl> |
301 <dt>Returns:</dt> | 301 <dt>Return:</dt> |
302 <dd> | 302 <dd> |
303 new width of the LED (integer) | 303 new width of the LED (integer) |
304 </dd> | 304 </dd> |
305 </dl> | 305 </dl> |
306 <a NAME="E5Led.__paintRectangular" ID="E5Led.__paintRectangular"></a> | 306 <a NAME="E5Led.__paintRectangular" ID="E5Led.__paintRectangular"></a> |
323 | 323 |
324 <p> | 324 <p> |
325 Public method to return the LED color. | 325 Public method to return the LED color. |
326 </p> | 326 </p> |
327 <dl> | 327 <dl> |
328 <dt>Returns:</dt> | 328 <dt>Return:</dt> |
329 <dd> | 329 <dd> |
330 color of the LED (QColor) | 330 color of the LED (QColor) |
331 </dd> | 331 </dd> |
332 </dl> | 332 </dl> |
333 <a NAME="E5Led.darkFactor" ID="E5Led.darkFactor"></a> | 333 <a NAME="E5Led.darkFactor" ID="E5Led.darkFactor"></a> |
336 | 336 |
337 <p> | 337 <p> |
338 Public method to return the dark factor. | 338 Public method to return the dark factor. |
339 </p> | 339 </p> |
340 <dl> | 340 <dl> |
341 <dt>Returns:</dt> | 341 <dt>Return:</dt> |
342 <dd> | 342 <dd> |
343 the current dark factor (integer) | 343 the current dark factor (integer) |
344 </dd> | 344 </dd> |
345 </dl> | 345 </dl> |
346 <a NAME="E5Led.isFramed" ID="E5Led.isFramed"></a> | 346 <a NAME="E5Led.isFramed" ID="E5Led.isFramed"></a> |
349 | 349 |
350 <p> | 350 <p> |
351 Public method to return the framed state. | 351 Public method to return the framed state. |
352 </p> | 352 </p> |
353 <dl> | 353 <dl> |
354 <dt>Returns:</dt> | 354 <dt>Return:</dt> |
355 <dd> | 355 <dd> |
356 flag indicating the current framed state (boolean) | 356 flag indicating the current framed state (boolean) |
357 </dd> | 357 </dd> |
358 </dl> | 358 </dl> |
359 <a NAME="E5Led.isOn" ID="E5Led.isOn"></a> | 359 <a NAME="E5Led.isOn" ID="E5Led.isOn"></a> |
362 | 362 |
363 <p> | 363 <p> |
364 Public method to return the LED state. | 364 Public method to return the LED state. |
365 </p> | 365 </p> |
366 <dl> | 366 <dl> |
367 <dt>Returns:</dt> | 367 <dt>Return:</dt> |
368 <dd> | 368 <dd> |
369 flag indicating the light state (boolean) | 369 flag indicating the light state (boolean) |
370 </dd> | 370 </dd> |
371 </dl> | 371 </dl> |
372 <a NAME="E5Led.minimumSizeHint" ID="E5Led.minimumSizeHint"></a> | 372 <a NAME="E5Led.minimumSizeHint" ID="E5Led.minimumSizeHint"></a> |
375 | 375 |
376 <p> | 376 <p> |
377 Public method to give a hint about our minimum size. | 377 Public method to give a hint about our minimum size. |
378 </p> | 378 </p> |
379 <dl> | 379 <dl> |
380 <dt>Returns:</dt> | 380 <dt>Return:</dt> |
381 <dd> | 381 <dd> |
382 size hint (QSize) | 382 size hint (QSize) |
383 </dd> | 383 </dd> |
384 </dl> | 384 </dl> |
385 <a NAME="E5Led.off" ID="E5Led.off"></a> | 385 <a NAME="E5Led.off" ID="E5Led.off"></a> |
423 | 423 |
424 <p> | 424 <p> |
425 Public method to return the LED rectangular ratio [= width / height]. | 425 Public method to return the LED rectangular ratio [= width / height]. |
426 </p> | 426 </p> |
427 <dl> | 427 <dl> |
428 <dt>Returns:</dt> | 428 <dt>Return:</dt> |
429 <dd> | 429 <dd> |
430 LED rectangular ratio (float) | 430 LED rectangular ratio (float) |
431 </dd> | 431 </dd> |
432 </dl> | 432 </dl> |
433 <a NAME="E5Led.setColor" ID="E5Led.setColor"></a> | 433 <a NAME="E5Led.setColor" ID="E5Led.setColor"></a> |
520 | 520 |
521 <p> | 521 <p> |
522 Public method to return the LED shape. | 522 Public method to return the LED shape. |
523 </p> | 523 </p> |
524 <dl> | 524 <dl> |
525 <dt>Returns:</dt> | 525 <dt>Return:</dt> |
526 <dd> | 526 <dd> |
527 LED shape (E5LedCircular, E5LedRectangular) | 527 LED shape (E5LedCircular, E5LedRectangular) |
528 </dd> | 528 </dd> |
529 </dl> | 529 </dl> |
530 <a NAME="E5Led.sizeHint" ID="E5Led.sizeHint"></a> | 530 <a NAME="E5Led.sizeHint" ID="E5Led.sizeHint"></a> |
533 | 533 |
534 <p> | 534 <p> |
535 Public method to give a hint about our desired size. | 535 Public method to give a hint about our desired size. |
536 </p> | 536 </p> |
537 <dl> | 537 <dl> |
538 <dt>Returns:</dt> | 538 <dt>Return:</dt> |
539 <dd> | 539 <dd> |
540 size hint (QSize) | 540 size hint (QSize) |
541 </dd> | 541 </dd> |
542 </dl> | 542 </dl> |
543 <a NAME="E5Led.toggle" ID="E5Led.toggle"></a> | 543 <a NAME="E5Led.toggle" ID="E5Led.toggle"></a> |