aboutsummaryrefslogtreecommitdiff
path: root/src/settings_pane.hh
diff options
context:
space:
mode:
Diffstat (limited to 'src/settings_pane.hh')
-rw-r--r--src/settings_pane.hh13
1 files changed, 13 insertions, 0 deletions
diff --git a/src/settings_pane.hh b/src/settings_pane.hh
index 434f3f7..25cdf6f 100644
--- a/src/settings_pane.hh
+++ b/src/settings_pane.hh
@@ -5,6 +5,18 @@
#include <QListWidget>
+class CollisionItem : public QListWidgetItem {
+ const int frame;
+
+public:
+ CollisionItem(QString text, int frame)
+ :QListWidgetItem(text),
+ frame(frame) {}
+
+ int getFrame() const { return frame; }
+};
+
+
class SettingsPane : public QWidget {
Q_OBJECT
@@ -21,6 +33,7 @@ signals:
void sphereRadiusChanged(double sqRadius);
void toggledTrajectories(int shown);
void toggledSupportLines(int shown);
+ void collisionClicked(int frame);
};