1 #ifndef MOTIFELEMENT_HPP_
2 #define MOTIFELEMENT_HPP_
7 #include "alg/color.hpp"
8 #include "alg/sequence.hpp"
13 MotifElement(const Sequence& seq, Color c=Color(1.0,0.0,0.0,1.0));
15 //! is the element "empty"
18 //! should we search the analysis for this element?
19 bool isEnabled() const;
20 //! set the state for searching the analysis for this element?
21 void setEnabled(bool);
23 //! return color should this motif be drawn as
24 Color getColor() const;
25 //! set what color this motif should be drawn as
26 void setColor(const Color& c);
27 //! return QColor should this motif should be drawn as
28 QColor getQColor() const;
29 //! set color using QColor
30 void setQColor(const QColor& c);
33 const Sequence& getSequence() const;
35 void setSequence(const Sequence& seq);
37 void setSequence(const std::string& seq_text);
39 QString getSequenceText() const;
42 std::string getName() const;
44 void setName(const std::string& seq_name);
54 #endif /*MOTIFELEMENT_HPP_*/