1 #ifndef _MUSSAWINDOW_H_
2 #define _MUSSAWINDOW_H_
11 #include "qui/MussaAlignedWindow.hpp"
12 #include "qui/motif_editor/MotifEditor.hpp"
13 #include "qui/mussa_setup_dialog/MussaSetupDialog.hpp"
14 #include "qui/seqbrowser/SequenceBrowserWidget.hpp"
15 #include "qui/ThresholdWidget.hpp"
21 class MussaWindow : public QMainWindow
26 MussaWindow(Mussa* analysis=0, QWidget *parent=0);
28 //! switch to a new analysis
29 void setAnalysis(Mussa *new_analysis);
31 //! display an about box, contemplating the politics of the author list
34 //! \defgroup AnalysisFunctions Components related to running analyses
36 //! open a window to collect the information needed to create a new analysis
37 void createNewAnalysis();
38 //! launch a sub analysis
39 void createSubAnalysis();
42 //! \defgroup MotifHandling Handling of motif lists
51 //! load a mussa parameter file (which specifies an analysis to run)
53 //! load a previously run analysis
54 void loadSavedAnalysis();
55 //! set the soft threshold used by the Nway_Path algorithm
56 void setSoftThreshold(int thres);
58 void showMussaToolbar();
60 //! open new window showing our alignment
61 void viewMussaAlignment();
64 void changedAnnotations();
68 std::list<MussaAlignedWindow *> aligned_windows;
69 MotifEditor *motif_editor;
70 MussaSetupDialog setup_analysis_dialog;
72 // display our wonderful mussa output
73 SequenceBrowserWidget browser;
76 ThresholdWidget threshold;
82 QAction *createNewAnalysisAction;
83 QAction *createSubAnalysisAction;
84 QAction *editMotifsAction;
85 QAction *loadMotifListAction;
86 QAction *loadMupaAction;
87 QAction *loadSavedAnalysisAction;
88 QAction *saveMotifListAction;
89 QAction *showMussaViewToolbarAction;
90 QAction *toggleMotifsAction;
91 QAction *saveBrowserPixmapAction;
92 QAction *whatsThisAction;
93 QAction *viewMussaAlignmentAction;
95 //! initialze the actions
97 //! initialize this windows menu object
99 //! stub function to fill in QActions
100 void NotImplementedBox();
103 //! update the SequenceBrowser with our analysis
104 void updateAnalysis();
105 //! update the view of conserved windows
107 //! update annotations?
108 void updateAnnotations();