aboutsummaryrefslogtreecommitdiff
path: root/src/settings_pane.hh
diff options
context:
space:
mode:
authorccolin2021-01-04 14:04:44 +0100
committerccolin2021-01-04 14:04:44 +0100
commitd48a05212b6389818993ea8e7cc0f22b7903d4f7 (patch)
tree4c977cc46eb58012b73643ec5235d15c8694e523 /src/settings_pane.hh
parent0f06601bc69d08baaa6c5b11c03e59ac818c426e (diff)
rename CollisionItem to BookmarkItem, change settings pane layout
Diffstat (limited to 'src/settings_pane.hh')
-rw-r--r--src/settings_pane.hh7
1 files changed, 4 insertions, 3 deletions
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 <QListWidget>
-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);
};