1 #ifndef _SUBANALYSIS_H_
2 #define _SUBANALYSIS_H_
10 #include "qui/SequenceLocationModel.hpp"
11 #include "alg/mussa.hpp"
13 class SubanalysisWindow : public QWidget
18 SubanalysisWindow(MussaRef m, QWidget *parent = 0);
20 //! return a modifiable reference to our SequenceLocationModel
21 SequenceLocationModel& getModel();
24 //! clear our model and close the window
26 //! create a subanalysis and run it
28 //! provide a way for the model to tell us to update our gui
29 void modelUpdated(const QModelIndex&, int, int);
34 //! keep track of what analysis we're attached to
42 SequenceLocationModel model;
45 //! reference to a subanalysis window
46 typedef boost::shared_ptr<SubanalysisWindow> SubanalysisWindowRef;