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