diff options
author | ccolin | 2021-01-02 01:10:54 +0100 |
---|---|---|
committer | ccolin | 2021-01-02 01:10:54 +0100 |
commit | 861d505606d612bc328534dba3257e9ef9a1c269 (patch) | |
tree | 7ed7653ac0ec687317464b3518134b2244804a5a /src/settings_pane.hh | |
parent | 87f8c49cffe8a994c62c08cdb207e03ed4e0b6b8 (diff) |
add basic collision detection
Diffstat (limited to 'src/settings_pane.hh')
-rw-r--r-- | src/settings_pane.hh | 27 |
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 |