Bug 140361 - Rearanging little things in main window
Summary: Rearanging little things in main window
Status: RESOLVED FIXED
Alias: None
Product: kalzium
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: unspecified Linux
: NOR wishlist
Target Milestone: ---
Assignee: Kalzium Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-01-20 18:27 UTC by david
Modified: 2008-08-05 19:57 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description david 2007-01-20 18:27:09 UTC
Version:            (using KDE KDE 3.5.5)
Installed from:    Unspecified0

First, it is related to Kalzium 1.4.5. and may be fixed.
I have a french localisation, so the name may not be the same.

First of all, I would separate the Molecule things from the Atom things.
The mass calculator is, in the side bar, between the view of curent atom and the time thing.

Atom things :
In fact, it would be nice to group same things together :
go to view->view->display ... when you want to show family,groups, acidity, ...
go to the sidebar when you whant to display date of discovery or state % temperature.
For me, the best would be a unique dropdown box in the side-bar to choose the table properties, and the things which may be of interest depending of selected view.
The view menu may be a copy of the dropdown list.

Molecule things:
have a look on KDE-look for the mockup on wich I base the view.
You have an history of results, and an edit line.
the edit line is parsed and depending of content, the button show "calculate wheigh" of "find factors"
Any entry of the history can be easily copy pasted, either in plain text or in more formated view ( H2O with the 2 diplayed litle at the right botom corner of the H ) so that you can use it in text editor or word processor.
I would also add a "show molecule in 3D" somewere. If Kalzium alow to show more than one at the same time, it may be in the history, if it is a weight calculation, display only the molecule, if it is a reaction, display all the molecule of the same side, with a show next button. 
I think it is to complicated to calculate the different state of a reaction ( chemical link by link ) to show an animation of the reaction.

The edit line has an auto completion feature, looking in the list of molecule begining the same way than the actual one ( forget what is before a "+" or "->" and the lower case letters)

The molecules in the history are recognized, and separated, so that you can click one and it is added to the edit line.
Moreother, the history has a "chain reaction" button, which copy the result of the reaction as a reactor. The result contain the previous equation too.
for equations whith multiple products, I don't know. Harder to chain.
Comment 1 cniehaus 2007-02-17 11:54:45 UTC
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 );
Comment 2 Carsten Niehaus 2007-02-17 12:01:01 UTC
David, could you split this bug in several small ones which only ask for one specific thing? That way it is easier to track each bug...

Also, which mockup? Please give me the URL. (I mean this sentence of you: "have a look on KDE-look for the mockup on wich I base the view.")

What do you mean with "chemical link by link"?

This is a wishlist-bug of its own: "I would also add a "show molecule in 3D" somewere."
Comment 3 Carsten Niehaus 2008-08-05 19:57:08 UTC
I consider those parts that I understand done.

David: If you think that things are missing please reopen the bug and explain what is missing. If possible open one bug per issue.