aboutsummaryrefslogtreecommitdiff
path: root/selectionhandler.h
blob: 4c4a2ca31c4f49a4cbb457fee1cab6ff9ef45d96 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
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