1 #ifndef _SUBANALYSIS_WINDOW_H_
2 #define _SUBANALYSIS_WINDOW_H_
4 #include <boost/shared_ptr.hpp>
10 #include <QStringList>
14 #include "qui/subanalysis/SequenceLocationModel.hpp"
15 #include "alg/mussa.hpp"
17 class SubanalysisWindow : public QWidget
22 SubanalysisWindow(MussaRef m, QWidget *parent = 0);
24 //! return a modifiable reference to our SequenceLocationModel
25 SequenceLocationModel& getModel();
28 //! clear our model and close the window
30 //! create a subanalysis and run it
32 //! provide a way for the model to tell us to update our gui
33 void modelUpdated(const QModelIndex&, int, int);
38 //! keep track of what analysis we're attached to
40 QGridLayout *parameterLayout;
41 QLabel *thresholdLabel;
49 SequenceLocationModel model;
52 //! reference to a subanalysis window
53 typedef boost::shared_ptr<SubanalysisWindow> SubanalysisWindowRef;