aboutsummaryrefslogtreecommitdiff
path: root/src/settings_pane.hh
diff options
context:
space:
mode:
authorccolin2021-01-02 01:10:54 +0100
committerccolin2021-01-02 01:10:54 +0100
commit861d505606d612bc328534dba3257e9ef9a1c269 (patch)
tree7ed7653ac0ec687317464b3518134b2244804a5a /src/settings_pane.hh
parent87f8c49cffe8a994c62c08cdb207e03ed4e0b6b8 (diff)
add basic collision detection
Diffstat (limited to 'src/settings_pane.hh')
-rw-r--r--src/settings_pane.hh27
1 files changed, 27 insertions, 0 deletions
diff --git a/src/settings_pane.hh b/src/settings_pane.hh
new file mode 100644
index 0000000..434f3f7
--- /dev/null
+++ b/src/settings_pane.hh
@@ -0,0 +1,27 @@
+#ifndef SETTINGS_PANE_HH
+#define SETTINGS_PANE_HH
+
+#include <QWidget>
+#include <QListWidget>
+
+
+class SettingsPane : public QWidget {
+ Q_OBJECT
+
+ QListWidget *collisions = nullptr;
+
+public:
+ SettingsPane(QWidget *parent=nullptr);
+
+public slots:
+ void addCollision(int idA, int idB, int frame);
+ void clearCollisions();
+
+signals:
+ void sphereRadiusChanged(double sqRadius);
+ void toggledTrajectories(int shown);
+ void toggledSupportLines(int shown);
+};
+
+
+#endif