summaryrefslogtreecommitdiff
path: root/src/ruleLayout.h
diff options
context:
space:
mode:
authorLouie S <louie@example.com>2024-03-14 18:46:37 -0400
committerLouie S <louie@example.com>2024-03-14 18:46:37 -0400
commit3e1d2e46ceea202120b4ff814fbd872bc6fc60f3 (patch)
treededaca23bdfb6ea98d092585de02e87b79d32b8f /src/ruleLayout.h
parent2e4227a8875dc9a25dd92d46d2f71eff7ae1499a (diff)
RulesDialog menu working (functionality WIP)
Diffstat (limited to 'src/ruleLayout.h')
-rw-r--r--src/ruleLayout.h15
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);
};