1 #ifndef _MUSSAWINDOW_H_
2 #define _MUSSAWINDOW_H_
9 #include "qui/seqbrowser/SequenceBrowserWidget.hpp"
10 #include "qui/ThresholdWidget.hpp"
16 class MussaWindow : public QMainWindow
21 MussaWindow(Mussa* analysis=0, QWidget *parent=0);
24 //! display an about box, contemplating the politics of the author list
27 //! \defgroup AnalysisFunctions Components related to running analyses
29 //! open a window to collect the information needed to create a new analysis
30 void createNewAnalysis();
31 //! launch a sub analysis
32 void createSubAnalysis();
35 //! \defgroup MotifHandling Handling of motif lists
43 //! load a mussa parameter file (which specifies an analysis to run)
45 //! load a previously run analysis
46 void loadSavedAnalysis();
47 //! set the soft threshold used by the Nway_Path algorithm
48 void setSoftThreshold(int thres);
50 void showMussaToolbar();
52 //! open new window showing our alignment
53 void viewMussaAlignment();
57 // display our wonderful mussa output
58 SequenceBrowserWidget browser;
61 ThresholdWidget threshold;
66 QAction *createNewAnalysisAction;
67 QAction *createSubAnalysisAction;
68 QAction *loadMotifListAction;
69 QAction *loadMupaAction;
70 QAction *loadSavedAnalysisAction;
71 QAction *saveMotifListAction;
72 QAction *showMussaViewToolbarAction;
73 QAction *toggleMotifsAction;
74 QAction *saveBrowserPixmapAction;
75 QAction *whatsThisAction;
76 QAction *viewMussaAlignmentAction;
78 //! initialze the actions
80 //! initialize this windows menu object
82 //! stub function to fill in QActions
83 void NotImplementedBox();
84 //! update the SequenceBrowser with our analysis
85 void updateAnalysis();
86 //! update the view of conserved windows