libkdegames
KGameLCDList Class Reference
This widget holds a list of TQLCDNumber arranged in a vertical layout. More...
#include <kgamelcd.h>
Inherits QWidget.
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 190 of file kgamelcd.h.
Constructor & Destructor Documentation
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
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.
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.
void KGameLCDList::clear | ( | ) |
TQLabel* KGameLCDList::title | ( | ) | const [inline] |
TQLCDNumber* KGameLCDList::lcd | ( | uint | i | ) | const [inline] |
uint KGameLCDList::size | ( | ) | const [inline] |
The documentation for this class was generated from the following files: