allow opening multiple MussaWindows
[mussa.git] / qui / MussaWindow.hpp
index b1dc3291b610a55721bfdc04e1d0b1afa8a0dc1d..d27f6186cc48f1781689e4ad11efa19ca6856e38 100644 (file)
@@ -26,6 +26,7 @@ class MussaWindow : public QMainWindow
 
 public: 
   MussaWindow(Mussa* analysis=0, QWidget *parent=0);
+  ~MussaWindow();
 
   //! switch to a new analysis
   void setAnalysis(Mussa *new_analysis);
@@ -57,6 +58,9 @@ public slots:
   //! set the soft threshold used by the Nway_Path algorithm
   void setSoftThreshold(int thres);
 
+  //! open a new mussa window so one can compare analyses
+  void newMussaWindow();
+
   void showMussaToolbar();
 
   //! open new window showing our alignment
@@ -85,6 +89,7 @@ protected:
   QAction *loadMotifListAction;
   QAction *loadMupaAction;
   QAction *loadSavedAnalysisAction;
+  QAction *newMussaWindowAction;
   QAction *saveMotifListAction;
   QAction *showMussaViewToolbarAction;
   QAction *toggleMotifsAction;