Skip to content

Commit

Permalink
feature: add timestep to tooltip
Browse files Browse the repository at this point in the history
  • Loading branch information
elfin-sbreuers committed Oct 16, 2022
1 parent 0fe47e2 commit 56796df
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion src/pipeline/simulation/configuration.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -63,11 +63,16 @@ QString Configuration::toString()
QStringList elements;
elements << createParagraph({tr("Type") + ": " + getName()});

elements << createParagraph({
auto general = QStringList({
tr("General"),
keyValue(tr("Algorithm"), algorithm),
keyValue(tr("Steps"), numberOfSteps),
});
if (!isMinimisation())
{
general << (keyValue(tr("Step size"), timeStep) + " fs");
}
elements << createParagraph(general);

if (isMinimisation())
{
Expand Down

0 comments on commit 56796df

Please sign in to comment.