aboutsummaryrefslogtreecommitdiff
path: root/src/settings_pane.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/settings_pane.cc')
-rw-r--r--src/settings_pane.cc8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/settings_pane.cc b/src/settings_pane.cc
index 096bc08..281cd79 100644
--- a/src/settings_pane.cc
+++ b/src/settings_pane.cc
@@ -12,22 +12,22 @@ SettingsPane::SettingsPane(QWidget *parent)
QDoubleSpinBox *sphere_radius = new QDoubleSpinBox();
sphere_radius->setSingleStep(.1);
QCheckBox *show_trajectories = new QCheckBox();
- QCheckBox *show_support_lines = new QCheckBox();
+ QCheckBox *show_guides = new QCheckBox();
collisions = new QListWidget();
connect(sphere_radius, QOverload<double>::of(&QDoubleSpinBox::valueChanged),
this, &SettingsPane::sphereRadiusChanged);
connect(show_trajectories, &QCheckBox::stateChanged,
this, &SettingsPane::toggledTrajectories);
- connect(show_support_lines, &QCheckBox::stateChanged,
- this, &SettingsPane::toggledSupportLines);
+ connect(show_guides, &QCheckBox::stateChanged,
+ this, &SettingsPane::toggledGuides);
connect(collisions, &QListWidget::itemClicked,
[&](QListWidgetItem *item) { emit collisionClicked(((CollisionItem *) item)->getFrame()); });
QFormLayout *layout = new QFormLayout;
layout->addRow("Taille de la sphère de collision", sphere_radius);
layout->addRow("Afficher les trajectoires", show_trajectories);
- layout->addRow("Afficher les lignes de support", show_support_lines);
+ layout->addRow("Afficher les guides", show_guides);
QGroupBox *box = new QGroupBox();
box->setTitle("Collisions");
box->setFlat(true);