load and display a motif list
[mussa.git] / qui / PathWindow.hpp
1 #ifndef _PATHWINDOW_H_
2 #define _PATHWINDOW_H_
3
4 #include <QMainWindow>
5 #include <QPixmap>
6 class QAction;
7 class PathScene;
8 class ImageSaveDialog;
9 class Mussa;
10
11 class PathWindow : public QMainWindow
12 {
13   Q_OBJECT
14
15 public: 
16   PathWindow(Mussa* analysis=0, QWidget *parent=0);
17
18 public slots:
19   //! display an about box, contemplating the politics of the author list
20   void about();
21
22   //! \defgroup AnalysisFunctions Components related to running analyses
23   //\@{
24   //! open a window to collect the information needed to create a new analysis
25   void createNewAnalysis();
26   //! launch a sub analysis
27   void createSubAnalysis();
28   //\@}
29
30   //! \defgroup MotifHandling Handling of motif lists
31   //\@{
32   void saveMotifList();
33   void toggleMotifs();
34   //\@}
35
36   void showMussaToolbar();
37   
38   void promptSaveOpenGlPixmap();
39
40 protected:
41   // display our wonderful mussa output
42   PathScene *scene;
43   QToolBar *mussaViewTB;
44   ImageSaveDialog *imageSaveDialog;
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   QAction *saveOpenGlPixmapAction;
58
59   //! initialze the actions
60   void setupActions();
61   //! initialize this windows menu object
62   void setupMainMenu();
63   //! stub function to fill in QActions
64   void NotImplementedBox();
65 };
66
67 #endif