summaryrefslogtreecommitdiffstats
path: root/tests/galaxy/main.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tests/galaxy/main.cpp')
-rw-r--r--tests/galaxy/main.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/galaxy/main.cpp b/tests/galaxy/main.cpp
index 1a6ee7b2..e23741da 100644
--- a/tests/galaxy/main.cpp
+++ b/tests/galaxy/main.cpp
@@ -90,6 +90,8 @@ int main(int argc, char **argv)
filteredCheckBox->setText(QStringLiteral("Filtered"));
filteredCheckBox->setChecked(false);
+ QLabel *fpsLabel = new QLabel(QStringLiteral(""));
+
vLayout->addWidget(new QLabel(QStringLiteral("Galaxy radius")));
vLayout->addWidget(radiusGalaxySlider);
vLayout->addWidget(new QLabel(QStringLiteral("Core radius")));
@@ -102,6 +104,7 @@ int main(int argc, char **argv)
vLayout->addWidget(eccentricityOuterSlider);
vLayout->addWidget(resetButton);
vLayout->addWidget(filteredCheckBox);
+ vLayout->addWidget(fpsLabel);
GalaxyData *modifier = new GalaxyData(graph);
@@ -122,6 +125,7 @@ int main(int argc, char **argv)
modifier->setSliders(radiusGalaxySlider, radiusCoreSlider, angleOffsetSlider,
eccentricityInnerSlider, eccentricityOuterSlider);
+ modifier->setFpsLabel(fpsLabel);
widget->show();
return app.exec();