provide a user interface to edit motifs
[mussa.git] / qui / MussaWindow.hpp
index 14c1e1f967a883c8eeb2321ad54f03035a3c101a..0d5f4127b2cc59a36ea3881987de043e5f4bf787 100644 (file)
@@ -9,6 +9,7 @@
 #include <QToolBar>
 
 #include "qui/MussaAlignedWindow.hpp"
+#include "qui/motif_editor/MotifEditor.hpp"
 #include "qui/seqbrowser/SequenceBrowserWidget.hpp"
 #include "qui/ThresholdWidget.hpp"
 
@@ -38,6 +39,7 @@ public slots:
   //! \defgroup MotifHandling Handling of motif lists
   //\@{
   //! load motifs
+  void editMotifs();
   void loadMotifList();
   void saveMotifList();
   void toggleMotifs();
@@ -54,10 +56,14 @@ public slots:
 
   //! open new window showing our alignment
   void viewMussaAlignment();
-  
+
+signals:
+  void changedAnnotations();
+
 protected:
   Mussa *analysis;
   std::list<MussaAlignedWindow *> aligned_windows;
+  MotifEditor *motif_editor;
 
   // display our wonderful mussa output
   SequenceBrowserWidget browser;
@@ -65,11 +71,13 @@ protected:
   QSpinBox zoomBox;
   ThresholdWidget threshold;
   QLabel zoomLabel;
+  
 
   QAction *aboutAction;
   QAction *closeAction;
   QAction *createNewAnalysisAction;
   QAction *createSubAnalysisAction;
+  QAction *editMotifsAction;
   QAction *loadMotifListAction;
   QAction *loadMupaAction;
   QAction *loadSavedAnalysisAction;
@@ -86,10 +94,14 @@ protected:
   void setupMainMenu();
   //! stub function to fill in QActions
   void NotImplementedBox();
+
+protected slots:  
   //! update the SequenceBrowser with our analysis
   void updateAnalysis();
   //! update the view of conserved windows
   void updateLinks();
+  //! update annotations?
+  void updateAnnotations();
 };
 
 #endif