diff options
author | ccolin | 2021-01-03 22:39:23 +0100 |
---|---|---|
committer | ccolin | 2021-01-03 22:39:23 +0100 |
commit | e3cb8532fcc863897b6aa9430b0ab786f421cb95 (patch) | |
tree | f3ff3d2408021b124f7bb2a0995f626d0db3f2ac /src/settings_pane.cc | |
parent | cbf29fc087179fbda1527d3c4cea82c2b8e9f695 (diff) |
rename "draw support lines" to "draw guides"
Diffstat (limited to 'src/settings_pane.cc')
-rw-r--r-- | src/settings_pane.cc | 8 |
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); |