blob: c38a51b119de6e3422e52bbf980c578c7a6118a7 (
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
28
29
30
31
|
#ifndef ENTRYLAYOUT_H
#define ENTRYLAYOUT_H
#include <QDateTime>
#include <QHBoxLayout>
#include <QString>
#include <QUrl>
#include "entry.h"
#include "rule.h"
class EntryLayout : public QHBoxLayout {
Q_OBJECT
public:
Entry entry;
EntryLayout(const Entry &e);
private:
QList<Rule> loadRules();
private slots:
void showContextMenu();
void editEntry();
void setRules();
void toggleDone();
void removeEntry();
};
#endif
|