[Kalzium] [Bug 130753] What's this message not updating element name

Pino Toscano toscano.pino at tiscali.it
Fri Jul 14 18:31:29 CEST 2006


------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
         
http://bugs.kde.org/show_bug.cgi?id=130753         
toscano.pino tiscali it changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|                            |FIXED



------- Additional Comments From toscano.pino tiscali it  2006-07-14 18:31 -------
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 ) );


------- Additional Comments From toscano.pino tiscali it  2006-07-14 18:31 -------
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 ) );


More information about the Kalzium mailing list