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