KGameLCDList Class Reference

#include <kgamelcd.h>

List of all members.


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.

Since:
3.2

Definition at line 190 of file kgamelcd.h.


Public Member Functions

 KGameLCDList (const QString &title, QWidget *parent=0, const char *name=0)
 KGameLCDList (QWidget *parent=0, const char *name=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

KGameLCDList::KGameLCDList ( const QString &  title,
QWidget *  parent = 0,
const char *  name = 0 
)

Constructor.

Parameters:
title is the content of the top label.
parent passed to the QWidget constructor
name passed to the QWidget constructor

Definition at line 194 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 224 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 229 of file kgamelcd.cpp.

void KGameLCDList::clear (  ) 

Delete all QLCDNumber and clear the list.

Definition at line 242 of file kgamelcd.cpp.

QLabel* KGameLCDList::title (  )  const [inline]

Returns:
the title label.

Definition at line 227 of file kgamelcd.h.

QLCDNumber* KGameLCDList::lcd ( uint  i  )  const [inline]

Returns:
the QLCDNumber at index

Parameters:
i 

Definition at line 232 of file kgamelcd.h.

uint KGameLCDList::size (  )  const [inline]

Returns:
the number of QLCDNumber in the list.

Definition at line 237 of file kgamelcd.h.


The documentation for this class was generated from the following files:
KDE Home | KDE Accessibility Home | Description of Access Keys