Add window titles
[mussa.git] / qui / SubanalysisWindow.hpp
index 0bf32949c8f489ce82c5857c164a7f4531bbd8b6..9d9ef731db486d041ef1ce83718ed6fe60984388 100644 (file)
@@ -8,13 +8,14 @@
 #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();
@@ -26,8 +27,12 @@ public slots:
   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;