#include <boost/shared_ptr.hpp>
+#include <QDir>
#include <QMainWindow>
#include <QMenu>
#include <QToolBar>
#include "qui/ZoomWidget.hpp"
#include "qui/ThresholdWidget.hpp"
#include "qui/seqbrowser/SequenceBrowserWidget.hpp"
-#include "qui/SubanalysisWindow.hpp"
+#include "qui/subanalysis/SubanalysisWindow.hpp"
//! Show sequence alignments
class MussaAlignedWindow : public QMainWindow
* sequence portions from both the mussa window and the sequence view window
* \param parent is the typical Qt pointer to a parent widget
*/
- MussaAlignedWindow(MussaRef analysis, const std::set<int>& paths,
+ MussaAlignedWindow(MussaRef analysis,
+ boost::shared_ptr<QDir> default_dir,
+ const std::set<int>& paths,
SubanalysisWindowRef window, QWidget *parent=0);
public slots:
//! just force updating the window
void update();
+
+ //! set the title based on the analysis
+ void updateTitle();
+ //! display how many base pairs were copied on the status bar
+ void showBasePairsCopied(size_t);
protected:
// figure out what Alignments we have (needed for setupAlignmentMenus)
void setupAlignmentMenus();
void computeMatchLines();
- MussaRef analysis;
+ MussaRef analysis;
+ boost::shared_ptr<QDir> default_dir;
//std::vector<Sequence> sequences;
//const std::set<int>& selected_paths;
std::vector<ConservedPath> selected_paths;