From e3cb8532fcc863897b6aa9430b0ab786f421cb95 Mon Sep 17 00:00:00 2001 From: ccolin Date: Sun, 3 Jan 2021 22:39:23 +0100 Subject: rename "draw support lines" to "draw guides" --- src/settings_pane.cc | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/settings_pane.cc') 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::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); -- cgit v1.2.3-70-g09d2