• Skip to content
  • Skip to link menu
Trinity API Reference
  • Trinity API Reference
  • libtdegames
 

libtdegames

Public Member Functions | List of all members
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() [1/2]

KGameLCDList::KGameLCDList ( const TQString &  title,
TQWidget *  parent = 0,
const char *  name = 0 
)

Constructor.

Parameters
titleis the content of the top label.
parentpassed to the TQWidget constructor
namepassed to the TQWidget constructor

Definition at line 194 of file kgamelcd.cpp.

◆ KGameLCDList() [2/2]

KGameLCDList::KGameLCDList ( TQWidget *  parent = 0,
const char *  name = 0 
)

Definition at line 201 of file kgamelcd.cpp.

◆ ~KGameLCDList()

KGameLCDList::~KGameLCDList ( )

Definition at line 207 of file kgamelcd.cpp.

Member Function Documentation

◆ append() [1/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.

◆ append() [2/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.

◆ clear()

void KGameLCDList::clear ( )

Delete all TQLCDNumber and clear the list.

Definition at line 242 of file kgamelcd.cpp.

◆ lcd()

TQLCDNumber * KGameLCDList::lcd ( uint  i) const
inline
Returns
the TQLCDNumber at index
Parameters
i

Definition at line 235 of file kgamelcd.h.

◆ size()

uint KGameLCDList::size ( ) const
inline
Returns
the number of TQLCDNumber in the list.

Definition at line 240 of file kgamelcd.h.

◆ title()

TQLabel * KGameLCDList::title ( ) const
inline
Returns
the title label.

Definition at line 230 of file kgamelcd.h.


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

libtdegames

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

libtdegames

Skip menu "libtdegames"
  • libtdegames
Generated for libtdegames by doxygen 1.9.4
This website is maintained by Timothy Pearson.