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

kalzium

KalziumDZTableType Class Reference

#include <kalziumtabletype.h>

Inheritance diagram for KalziumDZTableType:

Inheritance graph
[legend]

List of all members.


Detailed Description

This class represents the table the DZ (Deutscher Zentralausschuss, "German Central Comitee") suggests.

Author:
Carsten Niehaus

Definition at line 258 of file kalziumtabletype.h.


Public Member Functions

QString description () const
int elementAtCoords (const QPoint &coords) const
QRect elementRect (const int numelem) const
QByteArray name () const
QSize size () const

Static Public Member Functions

static KalziumDZTableType * instance ()

Member Function Documentation

QString KalziumDZTableType::description (  )  const [virtual]

Returns the description of this table type.

Used in all the visible places.

Implements KalziumTableType.

Definition at line 566 of file kalziumtabletype.cpp.

int KalziumDZTableType::elementAtCoords ( const QPoint &  coords  )  const [virtual]

Returns:
the number of the element at the coordinates coords.

If there is no element it will return 0. For example, for Carbon "6" will be returned

Implements KalziumTableType.

Definition at line 576 of file kalziumtabletype.cpp.

QRect KalziumDZTableType::elementRect ( const int  numelem  )  const [virtual]

Returns the rect for the element with atomic number numelem.

Implements KalziumTableType.

Definition at line 595 of file kalziumtabletype.cpp.

KalziumDZTableType * KalziumDZTableType::instance (  )  [static]

Get its instance.

Reimplemented from KalziumTableType.

Definition at line 547 of file kalziumtabletype.cpp.

QByteArray KalziumDZTableType::name (  )  const [virtual]

Returns the ID of this table type.

Mainly used when saving/loading.

Implements KalziumTableType.

Definition at line 561 of file kalziumtabletype.cpp.

QSize KalziumDZTableType::size (  )  const [virtual]

Returns the size of this table type.

Implements KalziumTableType.

Definition at line 571 of file kalziumtabletype.cpp.


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

kalzium

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

kdeedu

Skip menu "kdeedu"
  • kalzium
  • kanagram
  • kig
  •   lib
  • klettres
  • kstars
  • libkdeedu
  •   keduvocdocument
  •   docs
  •   src
  • parley
  •   stepcore
Generated for kdeedu 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