[Kalzium] [Bug 140361] Rearanging little things in main window

cniehaus at gmx.de cniehaus at gmx.de
Sat Feb 17 11:54:47 CET 2007


------- 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=140361         




------- Additional Comments From cniehaus gmx de  2007-02-17 11:54 -------
SVN commit 634444 by cniehaus:

Moved the calculator down

CCBUG:140361


 M  +5 -5      kalzium.cpp  


--- trunk/KDE/kdeedu/kalzium/src/kalzium.cpp #634443:634444
 @ -290,22 +290,22  @
 	lay->addItem( new QSpacerItem( 10, 10, QSizePolicy::Fixed, QSizePolicy::MinimumExpanding ) );
 	m_toolbox->addItem( fake, KIcon( "overview" ), i18n( "Overview" ) );
 
-	m_calcWidget = new MolcalcWidget( m_toolbox );
-	m_calcWidget->setObjectName( "molcalcwidget" );
-	m_toolbox->addItem( m_calcWidget, KIcon( "calculate" ), i18n( "Calculate" ) );
-
 	m_somWidget = new SOMWidgetIMPL( m_toolbox );
 	m_somWidget->setObjectName( "somWidget" );
 	connect( m_somWidget, SIGNAL( temperatureChanged( int ) ),
 	         m_PeriodicTableView, SLOT( setTemperature( int ) ) );
 	m_toolbox->addItem( m_somWidget, KIcon( "statematter" ), i18n( "State of Matter" ) );
 
-  m_timeWidget = new TimeWidgetImpl( m_toolbox );
+    m_timeWidget = new TimeWidgetImpl( m_toolbox );
 	m_timeWidget->setObjectName( "timeWidget" );
 	connect( m_timeWidget->time_box, SIGNAL( valueChanged( int ) ),
 	         m_PeriodicTableView, SLOT( setTime( int ) ) );
 	m_toolbox->addItem( m_timeWidget, KIcon( "timeline" ), i18n( "Timeline" ) );
 
+	m_calcWidget = new MolcalcWidget( m_toolbox );
+	m_calcWidget->setObjectName( "molcalcwidget" );
+	m_toolbox->addItem( m_calcWidget, KIcon( "calculate" ), i18n( "Calculate" ) );
+
 	connect( m_toolbox, SIGNAL( currentChanged( int ) ), this, SLOT( slotToolboxCurrentChanged( int ) ) );
 
 	addDockWidget( Qt::LeftDockWidgetArea, m_dockWin );


More information about the Kalzium mailing list