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.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