From 3e1d2e46ceea202120b4ff814fbd872bc6fc60f3 Mon Sep 17 00:00:00 2001 From: Louie S Date: Thu, 14 Mar 2024 18:46:37 -0400 Subject: RulesDialog menu working (functionality WIP) --- src/ruleLayout.h | 15 +++++++++++++-- 1 file changed, 13 insertions(+), 2 deletions(-) (limited to 'src/ruleLayout.h') 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 +#include +#include #include +#include +#include #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); }; -- cgit