#include <set>
+#include <QStatusBar>
#include <QWidget>
#include "alg/mussa.hpp"
#include "qui/seqbrowser/SequenceBrowserWidget.hpp"
class MussaAlignedWindow : public QWidget
{
public:
- MussaAlignedWindow(Mussa& m, const std::set<int>& sel_paths, QWidget *parent=0);
+ //! construct an aligned window for an analysis and selected paths
+ MussaAlignedWindow(Mussa&, const std::set<int>&, QWidget *parent=0);
+
+public slots:
+ //! use selected_paths[pathid] to set the starting position of our sequence
+ void setAlignment(size_t pathid);
protected:
+ void setSelectedPaths(Mussa &m, const std::set<int>& sel_paths);
+
Mussa &analysis;
- const std::set<int>& selected_paths;
-
+ //const std::set<int>& selected_paths;
+ std::vector<ExtendedConservedPath> selected_paths;
SequenceBrowserWidget browser;
+ QStatusBar status;
};
#endif