#include <kgamelcd.h>
Inheritance diagram for KGameLCD:

Public Slots | |
| void | highlight () |
| Highlight the LCD with the QColorGourp::HighlightedText color for a small time (setHighlightTime). | |
| void | displayInt (int value) |
| Display the given integer with the (optionnal) leading string. | |
Public Member Functions | |
| KGameLCD (uint nbDigits, QWidget *parent=0, const char *name=0) | |
| ~KGameLCD () | |
| void | setDefaultBackgroundColor (const QColor &color) |
| Set the default background color. | |
| void | setDefaultColor (const QColor &color) |
| Set the default foreground color. | |
| void | setHighlightColor (const QColor &color) |
| Set highlight color. | |
| void | setLeadingString (const QString &s) |
| Set the string that will be displayed before the integer number to be displayed. | |
| void | setHighlightTime (uint time) |
| Set the highlight duration in milliseconds. | |
| void | resetColor () |
| Reset the foreground color to the default one. | |
| void | setColor (const QColor &color) |
| Set the foreground color. | |
Definition at line 42 of file kgamelcd.h.
|
||||||||||||||||
|
Definition at line 31 of file kgamelcd.cpp. References displayInt(). |
|
|
Definition at line 47 of file kgamelcd.cpp. |
|
|
Display the given integer with the (optionnal) leading string. Note: we cannot use display(int) since QLCDNumber::display is not virtual... And you cannot use QLCDNumber::intValue() to retrieve the given value. Definition at line 94 of file kgamelcd.cpp. Referenced by KGameLCD(), and setLeadingString(). |
|
|
Highlight the LCD with the QColorGourp::HighlightedText color for a small time (setHighlightTime).
Definition at line 100 of file kgamelcd.cpp. |
|
|
Reset the foreground color to the default one.
Definition at line 81 of file kgamelcd.cpp. References setColor(). Here is the call graph for this function: ![]() |
|
|
Set the foreground color.
Definition at line 86 of file kgamelcd.cpp. Referenced by resetColor(). |
|
|
Set the default background color.
Definition at line 50 of file kgamelcd.cpp. |
|
|
Set the default foreground color.
Definition at line 57 of file kgamelcd.cpp. |
|
|
Set highlight color.
Definition at line 65 of file kgamelcd.cpp. |
|
|
Set the highlight duration in milliseconds. The default value is 800 milliseconds. Definition at line 76 of file kgamelcd.cpp. |
|
|
Set the string that will be displayed before the integer number to be displayed. By default this string is null. Definition at line 70 of file kgamelcd.cpp. References displayInt(). |
1.4.6