double m_halflife;
/**
- * If 95.2% of the isotopes are of this type, this
+ * If 95.2% of the isotopes are of this type, this
* variable will have the value 95.2
*/
double m_percentage;
return m_ionenergies;
}
-
/**
* @return the date of discovery of the element
*/
- int date() const {
+ int date() const {
return m_date;
}
}
/**
- * @return the crystalstructure of the element
+ * @return the crystal structure of the element
*/
QString crystalstructure() const{
return m_crystalstructure;
}
//FIXME I need to add a way to have more than one ionic radius
- QString ioncharge() const{
- return m_ionvalue;
+ QString ioncharge() const{
+ return m_ionvalue;
}
/**
}
/**
- * @return the electronegativity of the element in the
+ * @return the electronegativity of the element in the
* Pauling-scale
*/
double electroneg() const {
}
/**
- * @return the density of the element in gramm per mol
+ * @return the density of the element in gramms per mol
*/
double density() const {
return m_Density;
double radius( RADIUSTYPE type );
/**
- * @return the meanmass of the element
+ * @return the mean mass of the element
*/
double meanmass();
const QString adjustUnits( const int type, double value );
/**
- * missing
+ * types of datas
*/
enum TYPE
{
QPoint pos() const;
QPoint coords() const;
- /**
- * accessor for the element's color
- */
- QColor elementColor() const {
- return m_Color;
- }
+ /**
+ * accessor for the element's color
+ */
+ QColor elementColor() const {
+ return m_Color;
+ }
- QValueList<Isotope*> isotopes() const{
- return m_isotopeList;
- }
-
- void setupXY();
+ QValueList<Isotope*> isotopes() const{
+ return m_isotopeList;
+ }
+
+ void setupXY();
private:
- /*
+ /**
* the integer num represents the number of the element
*/
int m_ElementNumber;
int yPos() const;
double m_mass,
- m_MP,
- m_BP,
+ m_MP,
+ m_BP,
m_EN,
- m_EA,
+ m_EA,
m_Density,
m_RadiusAR,
m_RadiusCR,
m_RadiusIon;
- int m_number,
+ int m_number,
m_date,
m_biological;
/**
* draw the rectangle with the information
* @param simple if True more information will be shown
+ * @param isCrystal whether the elements should draw its crystal structure
*/
virtual void drawSelf( QPainter* p, bool simple = false, bool isCrystal = false );