kalzium
KalziumDZTableType Class Reference
#include <kalziumtabletype.h>

Detailed Description
This class represents the table the DZ (Deutscher Zentralausschuss, "German Central Comitee") suggests.
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:
KDE 4.2 API Reference