kalzium
IsotopeItem Class Reference
#include <nuclideboard.h>
Inheritance diagram for IsotopeItem:

Detailed Description
The class represtens the items which is drawn on the QGraphicsScene.Each such item represents on Isotope.
Definition at line 62 of file nuclideboard.h.
Public Types | |
| enum | IsotopeType { alpha, ec, multiple, bplus, bminus, stable } |
| enum | { Type = UserType + 1 } |
Public Member Functions | |
| IsotopeItem (Isotope *isotope, qreal x, qreal y, qreal width, qreal height, QGraphicsItem *parent=0) | |
| Isotope * | isotope () const |
| int | type () const |
Protected Member Functions | |
| void | mousePressEvent (QGraphicsSceneMouseEvent *event) |
Member Enumeration Documentation
| anonymous enum |
Constructor & Destructor Documentation
| IsotopeItem::IsotopeItem | ( | Isotope * | isotope, | |
| qreal | x, | |||
| qreal | y, | |||
| qreal | width, | |||
| qreal | height, | |||
| QGraphicsItem * | parent = 0 | |||
| ) |
Member Function Documentation
| Isotope* IsotopeItem::isotope | ( | ) | const [inline] |
| int IsotopeItem::type | ( | ) | const [inline] |
| void IsotopeItem::mousePressEvent | ( | QGraphicsSceneMouseEvent * | event | ) | [protected] |
Definition at line 136 of file nuclideboard.cpp.
The documentation for this class was generated from the following files:
KDE 4.0 API Reference