diff options
author | Louie S <louie@example.com> | 2024-03-14 18:46:37 -0400 |
---|---|---|
committer | Louie S <louie@example.com> | 2024-03-14 18:46:37 -0400 |
commit | 3e1d2e46ceea202120b4ff814fbd872bc6fc60f3 (patch) | |
tree | dedaca23bdfb6ea98d092585de02e87b79d32b8f /src/ruleLayout.h | |
parent | 2e4227a8875dc9a25dd92d46d2f71eff7ae1499a (diff) |
RulesDialog menu working (functionality WIP)
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); }; |