#ifndef RULELAYOUT_H #define RULELAYOUT_H #include #include #include #include #include #include #include "rule.h" class RuleLayout : public QHBoxLayout { Q_OBJECT public: Rule rule; QComboBox *when_widget; QDateTimeEdit *date_widget; QLineEdit *color_widget; // TODO consider making this a color selector widget QLineEdit *highlight_widget; // TODO consider making this a color selector widget QPushButton *del_button; RuleLayout(const Rule &r); }; #endif