diff options
Diffstat (limited to 'src/frontend/qtwidgets/entryLayout.h')
-rw-r--r-- | src/frontend/qtwidgets/entryLayout.h | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/src/frontend/qtwidgets/entryLayout.h b/src/frontend/qtwidgets/entryLayout.h new file mode 100644 index 0000000..54e523f --- /dev/null +++ b/src/frontend/qtwidgets/entryLayout.h @@ -0,0 +1,32 @@ +#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 cloneEntry(); + void removeEntry(); +}; + +#endif |