Allow disabling motifs
[mussa.git] / qui / motif_editor / MotifDetail.hpp
index a503a673971c2c5ab661a7f4ce101ce29d4bb1f5..6c882d3f11123f797d02524565ab3a6e73023262 100644 (file)
@@ -3,6 +3,7 @@
 
 #include <string>
 
+#include <QCheckBox>
 #include <QColor>
 #include <QLineEdit>
 #include <QPushButton>
@@ -31,6 +32,9 @@ public:
   Color color() const;
   QColor qcolor() const;
 
+  // is this motif enabled?
+  bool MotifDetail::enabled() const;
+
 public slots:
   void promptColor();
 
@@ -40,6 +44,7 @@ private:
   Color motif_color;
 
   // widgets
+  QCheckBox enabledButton;
   QPushButton colorButton;
   QLineEdit motifText;
   QLineEdit motifName;