ce63d18f65e32af5d5d7154ba5104743f18baf09
[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 loadMotifList();
33   void saveMotifList();
34   void toggleMotifs();
35   //\@}
36
37   void showMussaToolbar();
38   
39   void promptSaveOpenGlPixmap();
40
41 protected:
42   // display our wonderful mussa output
43   PathScene *scene;
44   QToolBar *mussaViewTB;
45   ImageSaveDialog *imageSaveDialog;
46   
47   QAction *aboutAction;
48   QAction *closeAction;
49   QAction *createNewAnalysisAction;
50   QAction *createSubAnalysisAction;
51   QAction *loadMotifListAction;
52   QAction *loadMupaAction;
53   QAction *loadSavedAnalysisAction;
54   QAction *saveMotifListAction;
55   QAction *showMussaViewToolbarAction;
56   QAction *toggleMotifsAction;
57   QAction *whatsThisAction;
58   QAction *saveOpenGlPixmapAction;
59
60   //! initialze the actions
61   void setupActions();
62   //! initialize this windows menu object
63   void setupMainMenu();
64   //! stub function to fill in QActions
65   void NotImplementedBox();
66 };
67
68 #endif