libkdegames
KGameLCDList Class Reference
#include <kgamelcd.h>
Inheritance diagram for KGameLCDList:

Detailed Description
This widget holds a list of QLCDNumber arranged in a vertical layout.It also shows a label at the top of the list.
Definition at line 184 of file kgamelcd.h.
Public Member Functions | |
| KGameLCDList (const QString &title, QWidget *parent=0) | |
| KGameLCDList (QWidget *parent=0) | |
| ~KGameLCDList () | |
| void | append (QLCDNumber *lcd) |
| void | append (const QString &leading, QLCDNumber *lcd) |
| void | clear () |
| QLabel * | title () const |
| QLCDNumber * | lcd (uint i) const |
| uint | size () const |
Constructor & Destructor Documentation
Constructor.
- Parameters:
-
title is the content of the top label. parent passed to the QWidget constructor.
Definition at line 195 of file kgamelcd.cpp.
| KGameLCDList::KGameLCDList | ( | QWidget * | parent = 0 |
) |
Constructor.
Create a KGameLCDList with an empty top label.
- Parameters:
-
parent passed to the QWidget constructor.
Definition at line 201 of file kgamelcd.cpp.
| KGameLCDList::~KGameLCDList | ( | ) |
Definition at line 207 of file kgamelcd.cpp.
Member Function Documentation
| void KGameLCDList::append | ( | QLCDNumber * | lcd | ) |
Append a QLCDNumber at the bottom of the list.
The QLCDNumber should have the KGameLCDList as parent.
Definition at line 225 of file kgamelcd.cpp.
| void KGameLCDList::append | ( | const QString & | leading, | |
| QLCDNumber * | lcd | |||
| ) |
Append a QLCDNumber at the bottom of the list.
The QLCDNumber should have the KGameLCDList as parent.
Definition at line 230 of file kgamelcd.cpp.
| void KGameLCDList::clear | ( | ) |
| QLabel* KGameLCDList::title | ( | ) | const [inline] |
| QLCDNumber* KGameLCDList::lcd | ( | uint | i | ) | const [inline] |
| uint KGameLCDList::size | ( | ) | const [inline] |
The documentation for this class was generated from the following files:
KDE 4.0 API Reference