1 #ifndef _SUBANALYSIS_H_
2 #define _SUBANALYSIS_H_
4 #include <boost/shared_ptr.hpp>
12 #include "qui/subanalysis/SequenceLocationModel.hpp"
13 #include "alg/mussa.hpp"
15 class SubanalysisWindow : public QWidget
20 SubanalysisWindow(MussaRef m, QWidget *parent = 0);
22 //! return a modifiable reference to our SequenceLocationModel
23 SequenceLocationModel& getModel();
26 //! clear our model and close the window
28 //! create a subanalysis and run it
30 //! provide a way for the model to tell us to update our gui
31 void modelUpdated(const QModelIndex&, int, int);
36 //! keep track of what analysis we're attached to
44 SequenceLocationModel model;
47 //! reference to a subanalysis window
48 typedef boost::shared_ptr<SubanalysisWindow> SubanalysisWindowRef;