projects
/
mussa.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
keep motifs after closing window
[mussa.git]
/
qui
/
motif_editor
/
MotifModel.hpp
diff --git
a/qui/motif_editor/MotifModel.hpp
b/qui/motif_editor/MotifModel.hpp
index b077cdcb5d8de92dee7c1d25493b3afe5e6c5f60..5cf288a99c6a1b21b0614b7bdc4911799f08ad66 100644
(file)
--- a/
qui/motif_editor/MotifModel.hpp
+++ b/
qui/motif_editor/MotifModel.hpp
@@
-23,6
+23,10
@@
class MotifModel : public QAbstractTableModel
typedef model_type::const_iterator const_iterator;
enum cell_names { EnabledCell, ColorCell, NameCell, SequenceCell };
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
//! \@{
//! \defgroup VectorInterface
//! \addtogroup VectorInterface
//! \@{
@@
-75,6
+79,7
@@
class MotifModel : public QAbstractTableModel
// const QModelIndex& parent=QModelIndex());
//! \@}
private:
// const QModelIndex& parent=QModelIndex());
//! \@}
private:
+ MussaRef analysis;
model_type motifs;
};
model_type motifs;
};