summaryrefslogtreecommitdiff
path: root/src/edit_entry_form.h
diff options
context:
space:
mode:
authorLouie S <louie@example.com>2024-03-09 16:53:38 -0500
committerLouie S <louie@example.com>2024-03-09 16:53:38 -0500
commitafcae23cbf63b31a7ce111ffcd76c027b332bdf9 (patch)
treee86001041d05e13cb778ada13c5a3addccf93a8d /src/edit_entry_form.h
parent312ea44966ca5ee65185fc837d15143e7dd59761 (diff)
Break entry/group/rule into sub-classes
Diffstat (limited to 'src/edit_entry_form.h')
-rw-r--r--src/edit_entry_form.h25
1 files changed, 25 insertions, 0 deletions
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 <QDialog>
+
+#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