test motif editor
[mussa.git] / qui / motif_editor / MotifEditor.hpp
index 6efe8767b64b44856bf56b9fd70f6cc794b503f2..1cc8a2fff846e16050d77371550b2c5b622fc37b 100644 (file)
@@ -24,6 +24,12 @@ public:
   //! resize cells
   void updateView();
   
+  //! return the analysis, intended for testing
+  MussaRef get_analysis() { return analysis; }
+  //! return the internal model used by the editor
+  //! this is mostly intended for testing
+  MotifModel *get_model() { return model; }
+   
 public slots:
   //! create model and attach it to the table view  
   void updateModel();
@@ -35,6 +41,8 @@ signals:
   void changedMotifs();
   
 private:
+  //! initialize all our gui widgets
+  void setupWidgets();
   MussaRef analysis;
 
   QPushButton *applyButton;