test MotifModel and MotifElement
[mussa.git] / qui / motif_editor / MotifModel.hpp
index b077cdcb5d8de92dee7c1d25493b3afe5e6c5f60..9f51187dceba4ed9ff2ee0ca1a685030ecbf9ebc 100644 (file)
@@ -23,6 +23,10 @@ class MotifModel : public QAbstractTableModel
     typedef model_type::const_iterator const_iterator; 
 
     enum cell_names { EnabledCell, ColorCell, NameCell, SequenceCell };
+
+    //! return what analysis we were attached to
+    const MussaRef getAnalysis() const;
+    
     //! \defgroup VectorInterface
     //! \addtogroup VectorInterface
     //! \@{
@@ -74,7 +78,9 @@ class MotifModel : public QAbstractTableModel
     //bool removeRows(int row, int count,
     //                const QModelIndex& parent=QModelIndex());
     //! \@}
+    static const size_t model_column_size;
   private:     
+    MussaRef analysis;
     model_type motifs;
 };