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 65 of file nuclideboard.h.
Public Types | |
| enum | { Type = UserType + 1 } |
| enum | IsotopeType { alpha, ec, multiple, bplus, bminus, stable } |
Public Member Functions | |
| QRectF | boundingRect () const |
| Isotope * | isotope () const |
| IsotopeItem (Isotope *isotope, qreal x, qreal y, qreal width, qreal height, QGraphicsItem *parent=0) | |
| void | paint (QPainter *painter, const QStyleOptionGraphicsItem *option, QWidget *widget=0) |
| 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
| QRectF IsotopeItem::boundingRect | ( | ) | const [inline] |
Definition at line 87 of file nuclideboard.h.
| Isotope* IsotopeItem::isotope | ( | ) | const [inline] |
| void IsotopeItem::mousePressEvent | ( | QGraphicsSceneMouseEvent * | event | ) | [protected] |
Definition at line 184 of file nuclideboard.cpp.
| void IsotopeItem::paint | ( | QPainter * | painter, | |
| const QStyleOptionGraphicsItem * | option, | |||
| QWidget * | widget = 0 | |||
| ) |
Definition at line 148 of file nuclideboard.cpp.
| int IsotopeItem::type | ( | ) | const [inline] |
The documentation for this class was generated from the following files:
KDE 4.2 API Reference