From afcae23cbf63b31a7ce111ffcd76c027b332bdf9 Mon Sep 17 00:00:00 2001 From: Louie S Date: Sat, 9 Mar 2024 16:53:38 -0500 Subject: Break entry/group/rule into sub-classes --- src/edit_entry_form.h | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 src/edit_entry_form.h (limited to 'src/edit_entry_form.h') diff --git a/src/edit_entry_form.h b/src/edit_entry_form.h new file mode 100644 index 0000000..e038175 --- /dev/null +++ b/src/edit_entry_form.h @@ -0,0 +1,25 @@ +#ifndef EDITENTRYFORM_H +#define EDITENTRYFORM_H + +#include + +#include "entry.h" +#include "ui_entry_form.h" + +// form to edit/update an entry +class EditEntryForm : public QDialog { + Q_OBJECT + + public: + EditEntryForm(const Entry &e); + + private: + Ui::entryDialog ui; + + Entry e; + + private slots: + void accept(); +}; + +#endif -- cgit