• Skip to content
  • Skip to link menu
KDE 4.0 API Reference
  • KDE API Reference
  • API Reference
  • Sitemap
  • Contact Us
 

libkdegames

KGameLCDList Class Reference

#include <kgamelcd.h>

Inheritance diagram for KGameLCDList:

Inheritance graph
[legend]

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.

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

KGameLCDList::KGameLCDList ( const QString &  title,
QWidget *  parent = 0 
) [explicit]

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 (  ) 

Delete all QLCDNumber and clear the list.

Definition at line 243 of file kgamelcd.cpp.

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

Returns:
the title label.

Definition at line 225 of file kgamelcd.h.

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

Returns:
the QLCDNumber at index

Parameters:
i 

Definition at line 230 of file kgamelcd.h.

uint KGameLCDList::size (  )  const [inline]

Returns:
the number of QLCDNumber in the list.

Definition at line 235 of file kgamelcd.h.


The documentation for this class was generated from the following files:
  • kgamelcd.h
  • kgamelcd.cpp

libkdegames

Skip menu "libkdegames"
  • Main Page
  • Namespace List
  • Class Hierarchy
  • Alphabetical List
  • Class List
  • File List
  • Namespace Members
  • Class Members
  • Related Pages

API Reference

Skip menu "API Reference"
  • kblackbox
  • kgoldrunner
  • kmahjongg
  • ksquares
  • libkdegames
  •   highscore
  •   kgame
  •   kggzgames
  •   kggzmod
  •   kggznet
  • libkmahjongg
Generated for API Reference by doxygen 1.5.4
This website is maintained by Adriaan de Groot and Allen Winter.
KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal