diff options
author | Louie S <louie@example.com> | 2024-07-23 20:37:48 -0400 |
---|---|---|
committer | Louie S <louie@example.com> | 2024-07-23 20:37:48 -0400 |
commit | c34930425fadfc4083067b9306159cd8e8ecf6c6 (patch) | |
tree | d9c09709f1b9cf7e9bcf098d48c7036044098a7d /src/frontend/qtwidgets/ruleLayout.h | |
parent | f820f439910ef0243e6b9aded293190341b058ac (diff) |
Rearrange source file locations
Diffstat (limited to 'src/frontend/qtwidgets/ruleLayout.h')
-rw-r--r-- | src/frontend/qtwidgets/ruleLayout.h | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/src/frontend/qtwidgets/ruleLayout.h b/src/frontend/qtwidgets/ruleLayout.h new file mode 100644 index 0000000..29a4deb --- /dev/null +++ b/src/frontend/qtwidgets/ruleLayout.h @@ -0,0 +1,27 @@ +#ifndef RULELAYOUT_H +#define RULELAYOUT_H + +#include <QComboBox> +#include <QDate> +#include <QDateTimeEdit> +#include <QHBoxLayout> +#include <QLineEdit> +#include <QPushButton> + +#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 |