diff options
Diffstat (limited to 'selectionhandler.h')
-rw-r--r-- | selectionhandler.h | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/selectionhandler.h b/selectionhandler.h new file mode 100644 index 0000000..e5b9686 --- /dev/null +++ b/selectionhandler.h @@ -0,0 +1,24 @@ +#ifndef SELECTIONHANDLER_H +#define SELECTIONHANDLER_H + +#include <QObject> +#include <QSet> +#include <armadillo> + +class SelectionHandler : public QObject +{ + Q_OBJECT +public: + SelectionHandler(const arma::uvec &sampleIndices); + +signals: + void selectionChanged(const QSet<int> &selection); + +public slots: + void setSelection(const QSet<int> &selection); + +private: + arma::uvec m_sampleIndices; +}; + +#endif // SELECTIONHANDLER_H |