KGameLCDList Class Reference
#include <kgamelcd.h>
Inherits TQWidget.
Public Member Functions | |
KGameLCDList (const TQString &title, TQWidget *parent=0, const char *name=0) | |
KGameLCDList (TQWidget *parent=0, const char *name=0) | |
void | append (TQLCDNumber *lcd) |
void | append (const TQString &leading, TQLCDNumber *lcd) |
void | clear () |
TQLabel * | title () const |
TQLCDNumber * | lcd (uint i) const |
uint | size () const |
Detailed Description
This widget holds a list of TQLCDNumber arranged in a vertical layout.
It also shows a label at the top of the list.
- Since
- 3.2
Definition at line 192 of file kgamelcd.h.
Constructor & Destructor Documentation
◆ KGameLCDList()
KGameLCDList::KGameLCDList | ( | const TQString & | title, |
TQWidget * | parent = 0 , |
||
const char * | name = 0 |
||
) |
Constructor.
- Parameters
-
title is the content of the top label. parent passed to the TQWidget constructor name passed to the TQWidget constructor
Definition at line 194 of file kgamelcd.cpp.
Member Function Documentation
◆ append() [1/2]
void KGameLCDList::append | ( | TQLCDNumber * | lcd | ) |
Append a TQLCDNumber at the bottom of the list.
The TQLCDNumber should have the KGameLCDList as parent.
Definition at line 224 of file kgamelcd.cpp.
◆ append() [2/2]
void KGameLCDList::append | ( | const TQString & | leading, |
TQLCDNumber * | lcd | ||
) |
Append a TQLCDNumber at the bottom of the list.
The TQLCDNumber should have the KGameLCDList as parent.
Definition at line 229 of file kgamelcd.cpp.
◆ clear()
void KGameLCDList::clear | ( | ) |
Delete all TQLCDNumber and clear the list.
Definition at line 242 of file kgamelcd.cpp.
◆ lcd()
|
inline |
◆ size()
|
inline |
- Returns
- the number of TQLCDNumber in the list.
Definition at line 240 of file kgamelcd.h.
◆ title()
|
inline |
- Returns
- the title label.
Definition at line 230 of file kgamelcd.h.
The documentation for this class was generated from the following files: