blob: 29a4debead1acded15c848c58449683d1406ab17 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
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
|