diff options
Diffstat (limited to 'src/ruleLayout.h')
-rw-r--r-- | src/ruleLayout.h | 15 |
1 files changed, 13 insertions, 2 deletions
diff --git a/src/ruleLayout.h b/src/ruleLayout.h index 45aafc1..29a4deb 100644 --- a/src/ruleLayout.h +++ b/src/ruleLayout.h @@ -1,14 +1,25 @@ #ifndef RULELAYOUT_H #define RULELAYOUT_H +#include <QComboBox> +#include <QDate> +#include <QDateTimeEdit> #include <QHBoxLayout> +#include <QLineEdit> +#include <QPushButton> #include "rule.h" -// TODO consider getting rid of this class (unneccesary) -class RuleLayout : QHBoxLayout { +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); }; |