1 #ifndef _MOTIF_DETAIL_H
2 #define _MOTIF_DETAIL_H
9 #include <QRegExpValidator>
12 //#include "alg/sequence.hpp"
13 #include "alg/color.hpp"
15 class MotifDetail : public QWidget
20 MotifDetail(QWidget *parent=0);
21 MotifDetail(const MotifDetail &);
22 MotifDetail(std::string& m, Color& c, std::string& name, QWidget *parent=0);
24 void setMotif(const std::string& m);
25 std::string motif() const;
27 void setName(const std::string& name);
28 std::string name() const;
30 void setColor(const Color&);
32 QColor qcolor() const;
43 QPushButton colorButton;