From d48a05212b6389818993ea8e7cc0f22b7903d4f7 Mon Sep 17 00:00:00 2001 From: ccolin Date: Mon, 4 Jan 2021 14:04:44 +0100 Subject: rename CollisionItem to BookmarkItem, change settings pane layout --- src/settings_pane.hh | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'src/settings_pane.hh') diff --git a/src/settings_pane.hh b/src/settings_pane.hh index def73ae..6b6f198 100644 --- a/src/settings_pane.hh +++ b/src/settings_pane.hh @@ -5,11 +5,11 @@ #include -class CollisionItem : public QListWidgetItem { +class BookmarkItem : public QListWidgetItem { const int frame; public: - CollisionItem(QString text, int frame) + BookmarkItem(QString text, int frame) :QListWidgetItem(text), frame(frame) {} @@ -21,6 +21,7 @@ class SettingsPane : public QWidget { Q_OBJECT QListWidget *collisions = nullptr; + QListWidget *speeding_violations = nullptr; public: SettingsPane(QWidget *parent=nullptr); @@ -33,7 +34,7 @@ signals: void sphereRadiusChanged(double sqRadius); void toggledTrajectories(int shown); void toggledGuides(int shown); - void collisionClicked(int frame); + void bookmarkClicked(int frame); }; -- cgit v1.2.3-70-g09d2