Summary: | What's this message not updating element name | ||
---|---|---|---|
Product: | [Applications] kalzium | Reporter: | mvillarino <mvillarino> |
Component: | general | Assignee: | Kalzium Developers <kalzium> |
Status: | RESOLVED FIXED | ||
Severity: | normal | ||
Priority: | NOR | ||
Version: | unspecified | ||
Target Milestone: | --- | ||
Platform: | Debian testing | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: |
Description
mvillarino
2006-07-13 10:01:16 UTC
SVN commit 562385 by pino: Set the Whats This when updating the dialog, not when creating the dialog. BUG: 130753 M +5 -5 detailinfodlg.cpp --- branches/KDE/3.5/kdeedu/kalzium/src/detailinfodlg.cpp #562384:562385 @@ -348,11 +348,6 @@ QVBoxLayout *modelLayout = new QVBoxLayout( m_pModelTab ); modelLayout->setMargin( 0 ); wOrbits = new OrbitsWidget( m_pModelTab ); - QWhatsThis::add( wOrbits, - i18n( "Here you can see the atomic hull of %1. %2 has the configuration %3." ) - .arg( m_element->elname() ) - .arg( m_element->elname() ) - .arg( m_element->parsedOrbits() ) ); modelLayout->addWidget( wOrbits ); // html tabs @@ -399,6 +394,11 @@ // updating atomic model tab wOrbits->setElementNumber( m_elementNumber ); + QWhatsThis::add( wOrbits, + i18n( "Here you can see the atomic hull of %1. %2 has the configuration %3." ) + .arg( m_element->elname() ) + .arg( m_element->elname() ) + .arg( m_element->parsedOrbits() ) ); // updating html tabs fillHTMLTab( m_htmlpages["chemical"], getHtml( CHEMICAL ) ); SVN commit 562386 by pino: Set the Whats This when updating the dialog, not when creating the dialog. CCBUG: 130753 M +7 -7 detailinfodlg.cpp --- trunk/KDE/kdeedu/kalzium/src/detailinfodlg.cpp #562385:562386 @@ -401,13 +401,6 @@ QVBoxLayout *modelLayout = new QVBoxLayout( m_pModelTab ); modelLayout->setMargin( 0 ); wOrbits = new OrbitsWidget( m_pModelTab ); -/* - wOrbits->setWhatsThis( - i18n( "Here you can see the atomic hull of %1. %2 has the configuration %3." ) - .arg( m_element->dataAsString( ChemicalDataObject::name ) ) - .arg( m_element->dataAsString( ChemicalDataObject::name ) ) - .arg( "" ));//m_element->parsedOrbits() ) ); -*/ modelLayout->addWidget( wOrbits ); // html tabs @@ -458,6 +451,13 @@ // updating atomic model tab wOrbits->setElementNumber( m_elementNumber ); +/* + wOrbits->setWhatsThis( + i18n( "Here you can see the atomic hull of %1. %2 has the configuration %3." ) + .arg( m_element->dataAsString( ChemicalDataObject::name ) ) + .arg( m_element->dataAsString( ChemicalDataObject::name ) ) + .arg( "" ));//m_element->parsedOrbits() ) ); +*/ // updating html tabs fillHTMLTab( m_htmlpages["chemical"], getHtml( CHEMICAL ) ); |