center on path
[mussa.git] / qui / MussaAlignedWindow.hpp
index a9cbbfc47e77878707d7075406424c4ae26fb096..244a4d5c79c75b7052c2fc5aec72961e6e39a959 100644 (file)
@@ -3,6 +3,7 @@
 
 #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