Logo Search packages:      
Sourcecode: kalzium version File versions  Download package

Public Slots | Public Member Functions | Protected Member Functions | Private Attributes

nuclearCalculator Class Reference

Collaboration diagram for nuclearCalculator:
Collaboration graph
[legend]

List of all members.

Public Slots

void calculate ()
 occurs when any quantity is changed
void calculate ()
 This function is called when any quantity is changed.
void calculateFinalAmount ()
 Calculates the final amount and updates the UI.
void calculateFinalAmount ()
 Calculates the final amount.
void calculateInitAmount ()
 Calculates the initial amount.
void calculateInitAmount ()
 Calculates the initial amount and updates the UI.
void calculateTime ()
 Calculates the time required and updates the UI.
void calculateTime ()
 Calculates the time required.
void configChanged ()
void elementChanged (int index)
 occurs when the element is changed
void elementChanged (int index)
 This function is called when the element is changed.
void error (int mode)
void error (int mode)
void finalAmtChanged ()
 occurs when the final amount is changed in the UI
void finalAmtChanged ()
 This function is called when the final amount is changed in the UI.
void halfLifeChanged ()
 This function is called when the halfLife is changed.
void halfLifeChanged ()
 occurs when the halfLife is changed
void init ()
 This function is called during initialisation.
void initAmtChanged ()
 occurs when the initial amount is changed in the UI
void initAmtChanged ()
 This function is called when the initial amount is changed in the UI.
void isotopeChanged (int index)
 This function is called when the isotope is changed.
void isotopeChanged (int index)
 occurs when the isotope is changed
void reset ()
 This function is called to reset / initialise the calculator.
void setMode (int mode)
void setMode (int mode)
void showSlider (bool show)
 This function hides the slider just under the time spinBox in the UI.
void sliderMoved (int x)
void timeChanged ()
 This function is called when the time is changed in the UI.
void timeChanged ()
 occurs when the time is changed in the UI

Public Member Functions

virtual QGraphicsWidget * graphicsWidget ()
virtual void init ()
 nuclearCalculator (QWidget *parent=0)
 nuclearCalculator (QObject *parent, const QVariantList &args)

Protected Member Functions

void configAccepted ()
void createConfigurationInterface (KConfigDialog *parent)

Private Attributes

Plasma::ComboBox * m_calculationMode
bool m_configUpdated
Converter * m_converter
Element m_Element
Plasma::ComboBox * m_element
Element m_element
Plasma::Label * m_error
Value m_finalAmount
Value m_FinalAmount
Plasma::SpinBox * m_finalAmt
Plasma::ComboBox * m_finalType
Plasma::ComboBox * m_finalUnit
Value m_halfLife
Value m_HalfLife
Plasma::SpinBox * m_halfLife
Plasma::ComboBox * m_halfLifeUnit
Value m_initAmount
Value m_InitAmount
Plasma::SpinBox * m_initAmt
Plasma::ComboBox * m_initType
Plasma::ComboBox * m_initUnit
Isotope m_isotope
Isotope m_Isotope
Plasma::ComboBox * m_isotope
double m_Mass
double m_mass
bool m_massOnly
int m_mode
Plasma::Label * m_numHalfLives
Plasma::PushButton * m_reset
Plasma::SpinBox * m_time
Value m_time
Value m_Time
Plasma::ComboBox * m_timeUnit
QGraphicsWidget * m_widget
Ui::nuclearCalculatorConfig ui
 Designer Config file.
Ui::nuclearCalculator ui

Detailed Description

Definition at line 51 of file nuclearCalculator.h.


The documentation for this class was generated from the following files:

Generated by  Doxygen 1.6.0   Back to index