1 #ifndef _MOTIF_DETAIL_H
2 #define _MOTIF_DETAIL_H
10 #include <QRegExpValidator>
13 //#include "alg/sequence.hpp"
14 #include "alg/color.hpp"
16 class MotifDetail : public QWidget
21 MotifDetail(QWidget *parent=0);
22 MotifDetail(const MotifDetail &);
23 MotifDetail(std::string& m, Color& c, std::string& name, QWidget *parent=0);
25 void setMotif(const std::string& m);
26 std::string motif() const;
28 void setName(const std::string& name);
29 std::string name() const;
31 void setColor(const Color&);
33 QColor qcolor() const;
35 // is this motif enabled?
47 QCheckBox enabledButton;
48 QPushButton colorButton;