1aefe0cda3ce9fc54204fd1fb601e5c6856eea66
[mussa.git] / qui / PathWindow.h
1 #ifndef _PATHWINDOW_H_
2 #define _PATHWINDOW_H_
3
4 #include <QMainWindow>
5
6 class QAction;
7 class PathScene;
8
9 class PathWindow : public QMainWindow
10 {
11   Q_OBJECT
12
13 public: 
14   PathWindow(QWidget *parent=0);
15
16 public slots:
17   //! display an about box, contemplating the politics of the author list
18   void about();
19
20   //! \defgroup AnalysisFunctions Components related to running analyses
21   //\@{
22   //! open a window to collect the information needed to create a new analysis
23   void createNewAnalysis();
24   //! launch a sub analysis
25   void createSubAnalysis();
26   //! load a mussa parameter file (which specifies an analysis to run)
27   void loadMupa( );
28   //! load a previously run analysis
29   void loadSavedAnalysis();
30   //\@}
31
32   //! \defgroup MotifHandling Handling of motif lists
33   //\@{
34   void loadMotifList();
35   void saveMotifList();
36   void toggleMotifs();
37   //\@}
38
39   void showMussaToolbar();
40
41 protected:
42   // display our wonderful mussa output
43   PathScene *scene;
44   QToolBar *mussaViewTB;
45   
46   QAction *aboutAction;
47   QAction *closeAction;
48   QAction *createNewAnalysisAction;
49   QAction *createSubAnalysisAction;
50   QAction *loadMotifListAction;
51   QAction *loadMupaAction;
52   QAction *loadSavedAnalysisAction;
53   QAction *saveMotifListAction;
54   QAction *showMussaViewToolbarAction;
55   QAction *toggleMotifsAction;
56   QAction *whatsThisAction;
57
58   //! initialze the actions
59   void setupActions();
60   //! initialize this windows menu object
61   void setupMainMenu();
62   //! stub function to fill in QActions
63   void NotImplementedBox();
64 };
65
66 #endif