From 0518b806d8ce25c69847ec8c403276193611b2e1 Mon Sep 17 00:00:00 2001 From: Samuel Fadel Date: Thu, 17 Sep 2015 12:20:24 -0300 Subject: Additional interactive functionalities. - Selection linking between subsample plot and main plot - Dumb "effectiveness" coloring --- selectionhandler.h | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 selectionhandler.h (limited to 'selectionhandler.h') 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 +#include + +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 -- cgit v1.2.3