kalzium
PeriodicTableView Class Reference
#include <periodictableview.h>

Detailed Description
A PeriodicTableView is the widget on which we paint a periodic table.It does not contain any code for painting, as all the painting routines belongs to KalziumPainter.
Definition at line 47 of file periodictableview.h.
Constructor & Destructor Documentation
| PeriodicTableView::PeriodicTableView | ( | QWidget * | parent = 0 |
) |
| PeriodicTableView::~PeriodicTableView | ( | ) |
Definition at line 73 of file periodictableview.cpp.
Member Function Documentation
| void PeriodicTableView::setFullDraw | ( | ) |
| void PeriodicTableView::setNumeration | ( | int | which | ) |
Sets the numeration type to the one with index which.
Definition at line 268 of file periodictableview.cpp.
| void PeriodicTableView::setValueLimit | ( | int | value, | |
| ChemicalDataObject::BlueObelisk | type | |||
| ) |
put the limit for the type specified, but do not actually (de)activate it
- Parameters:
-
type type of the valuevalue the value of the the limit for type
Definition at line 224 of file periodictableview.cpp.
| void PeriodicTableView::generateSvg | ( | const QString & | filename | ) |
Generate a SVG from the current table and save it in the file filename.
Definition at line 111 of file periodictableview.cpp.
| void PeriodicTableView::activateColorScheme | ( | const int | nr | ) |
Sets the scheme to use.
- Parameters:
-
nr is the index of the new scheme
Definition at line 81 of file periodictableview.cpp.
| KalziumSchemeType * PeriodicTableView::scheme | ( | ) | const |
- Returns:
- the KalziumSchemeType of the current view
Definition at line 91 of file periodictableview.cpp.
| QString PeriodicTableView::shortName | ( | ) | const [inline] |
- Returns:
- the short and descriptive name of this PeriodicTableView
Definition at line 95 of file periodictableview.h.
| KalziumGradientType * PeriodicTableView::gradient | ( | ) | const |
| void PeriodicTableView::setGradient | ( | int | which | ) |
| void PeriodicTableView::setMode | ( | KalziumPainter::MODE | m | ) |
Definition at line 96 of file periodictableview.cpp.
| KalziumPainter::MODE PeriodicTableView::mode | ( | ) | const |
| int PeriodicTableView::sliderValue | ( | ChemicalDataObject::BlueObelisk | type | ) |
- Parameters:
-
type the type of value which is searched for
- Returns:
- the value of the
type
Definition at line 233 of file periodictableview.cpp.
| QBrush PeriodicTableView::brushForElement | ( | int | element | ) | const |
| KalziumTableType * PeriodicTableView::tableType | ( | ) | const |
Definition at line 243 of file periodictableview.cpp.
| void PeriodicTableView::paintEvent | ( | QPaintEvent * | e | ) | [protected, virtual] |
| void PeriodicTableView::mouseReleaseEvent | ( | QMouseEvent * | mouse | ) | [protected, virtual] |
| void PeriodicTableView::mousePressEvent | ( | QMouseEvent * | event | ) | [protected, virtual] |
| void PeriodicTableView::mouseMoveEvent | ( | QMouseEvent * | event | ) | [protected, virtual] |
| void PeriodicTableView::setTemperature | ( | int | temp | ) | [slot] |
This method sets the color for the buttons corresponding to the given temperature temp.
- Parameters:
-
temp is the temperature to which all buttons will be set
Definition at line 289 of file periodictableview.cpp.
| void PeriodicTableView::setTime | ( | int | time | ) | [slot] |
Definition at line 296 of file periodictableview.cpp.
| void PeriodicTableView::slotChangeTable | ( | int | table | ) | [slot] |
Definition at line 248 of file periodictableview.cpp.
| void PeriodicTableView::unSelect | ( | ) | [slot] |
| void PeriodicTableView::ElementClicked | ( | int | ) | [signal] |
this signal is emitted when an element is clicked
| void PeriodicTableView::MouseOver | ( | int | ) | [signal] |
This signal is emitted when the mouse pointer is over an element.
| void PeriodicTableView::ModeChanged | ( | KalziumPainter::MODE | ) | [signal] |
| void PeriodicTableView::TableTypeChanged | ( | KalziumTableType * | ) | [signal] |
| void PeriodicTableView::GradientTypeChanged | ( | KalziumGradientType * | ) | [signal] |
| void PeriodicTableView::SchemeChanged | ( | KalziumSchemeType * | ) | [signal] |
The documentation for this class was generated from the following files:
KDE 4.0 API Reference