1 #ifndef _MUSSAWINDOW_H_
2 #define _MUSSAWINDOW_H_
11 #include "qui/MussaAlignedWindow.hpp"
12 #include "qui/seqbrowser/SequenceBrowserWidget.hpp"
13 #include "qui/ThresholdWidget.hpp"
19 class MussaWindow : public QMainWindow
24 MussaWindow(Mussa* analysis=0, QWidget *parent=0);
27 //! display an about box, contemplating the politics of the author list
30 //! \defgroup AnalysisFunctions Components related to running analyses
32 //! open a window to collect the information needed to create a new analysis
33 void createNewAnalysis();
34 //! launch a sub analysis
35 void createSubAnalysis();
38 //! \defgroup MotifHandling Handling of motif lists
46 //! load a mussa parameter file (which specifies an analysis to run)
48 //! load a previously run analysis
49 void loadSavedAnalysis();
50 //! set the soft threshold used by the Nway_Path algorithm
51 void setSoftThreshold(int thres);
53 void showMussaToolbar();
55 //! open new window showing our alignment
56 void viewMussaAlignment();
60 std::list<MussaAlignedWindow *> aligned_windows;
62 // display our wonderful mussa output
63 SequenceBrowserWidget browser;
66 ThresholdWidget threshold;
71 QAction *createNewAnalysisAction;
72 QAction *createSubAnalysisAction;
73 QAction *loadMotifListAction;
74 QAction *loadMupaAction;
75 QAction *loadSavedAnalysisAction;
76 QAction *saveMotifListAction;
77 QAction *showMussaViewToolbarAction;
78 QAction *toggleMotifsAction;
79 QAction *saveBrowserPixmapAction;
80 QAction *whatsThisAction;
81 QAction *viewMussaAlignmentAction;
83 //! initialze the actions
85 //! initialize this windows menu object
87 //! stub function to fill in QActions
88 void NotImplementedBox();
89 //! update the SequenceBrowser with our analysis
90 void updateAnalysis();
91 //! update the view of conserved windows