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

kalzium

KalziumClassicTableType Class Reference

#include <kalziumtabletype.h>

Inheritance diagram for KalziumClassicTableType:

Inheritance graph
[legend]

List of all members.


Detailed Description

The class representing the "classic" periodic table, and its metrics.

Author:
Pino Toscano

Definition at line 169 of file kalziumtabletype.h.


Public Member Functions

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

Static Public Member Functions

static KalziumClassicTableType * instance ()

Member Function Documentation

KalziumClassicTableType * KalziumClassicTableType::instance (  )  [static]

Get its instance.

Reimplemented from KalziumTableType.

Definition at line 239 of file kalziumtabletype.cpp.

QByteArray KalziumClassicTableType::name (  )  const [virtual]

Returns the ID of this table type.

Mainly used when saving/loading.

Implements KalziumTableType.

Definition at line 253 of file kalziumtabletype.cpp.

QString KalziumClassicTableType::description (  )  const [virtual]

Returns the description of this table type.

Used in all the visible places.

Implements KalziumTableType.

Definition at line 258 of file kalziumtabletype.cpp.

QSize KalziumClassicTableType::size (  )  const [virtual]

Returns the size of this table type.

Implements KalziumTableType.

Definition at line 263 of file kalziumtabletype.cpp.

int KalziumClassicTableType::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 268 of file kalziumtabletype.cpp.

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

Returns the rect for the element with atomic number numelem.

Implements KalziumTableType.

Definition at line 287 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
  • klettres
  • kstars
  • libkdeedu
  •   keduvocdocument
  •   docs
  •   src
  • parley
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