Make MussaWindow UI objects pointers
[mussa.git] / qui / MussaWindow.hpp
index d81d027b621debb87be8603f2424128113b7247c..83692d394fdc9fd30e852959e1d64c6ec8183982 100644 (file)
@@ -99,14 +99,14 @@ protected:
   boost::filesystem::path default_dir;
   std::list<boost::shared_ptr<MussaAlignedWindow> > aligned_windows;
   MotifEditor *motif_editor;
-  MussaSetupDialog setup_analysis_dialog;
-  SubanalysisWindow subanalysis_window;
+  MussaSetupDialog *setup_analysis_dialog;
+  boost::shared_ptr<SubanalysisWindow> subanalysis_window;
 
   // display our wonderful mussa output
-  SequenceBrowserWidget browser;
-  QToolBar mussaViewTB;
-  ZoomWidget zoom;
-  ThresholdWidget threshold;
+  SequenceBrowserWidget *browser;
+  QToolBar *mussaViewTB;
+  ZoomWidget *zoom;
+  ThresholdWidget *threshold;
   QProgressDialog *progress_dialog;
 
   QAction *aboutAction;