#include <QWidget>
#include "qui/SequenceLocationModel.hpp"
+#include "alg/mussa.hpp"
class SubanalysisWindow : public QWidget
{
Q_OBJECT
public:
- SubanalysisWindow(QWidget *parent = 0);
+ SubanalysisWindow(MussaRef m, QWidget *parent = 0);
//! return a modifiable reference to our SequenceLocationModel
SequenceLocationModel& getModel();
void run();
//! provide a way for the model to tell us to update our gui
void modelUpdated(const QModelIndex&, int, int);
+ //! update our title
+ void updateTitle();
-private:
+private:
+ //! keep track of what analysis we're attached to
+ MussaRef analysis;
QSpinBox *window;
QSpinBox *threshold;
QTableView *table;