* improved the informationdialog
* tooltip now contains information, not just dummy-stuff
svn path=/trunk/kdeedu/kalzium/src/element.cpp; revision=396091
QString Element::parsedOrbits()
{
+ if ( m_orbits == "0" )
+ return i18n( "structure means orbital configuration in this case", "Unknown structure" );
+
QString orbits = m_orbits;
QRegExp rxs("([a-z])([0-9]+)");
QRegExp rxb("([a-z]{2}) ",false);
}
}
}
+ else if ( type == EN ) //Electronegativity
+ {
+ val = electroneg();
+ if ( val == -1 )
+ v = i18n( "Value not defined" );
+ else
+ v = QString::number( val );
+ }
else if ( type == RADIUS ) // its a length
{
val = radius();
BOILINGPOINT,
MELTINGPOINT,
IE,
- IE2
+ IE2,
+ EN
};