summaryrefslogtreecommitdiff
path: root/src/frontend/qtwidgets/editEntryForm.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/frontend/qtwidgets/editEntryForm.h')
-rw-r--r--src/frontend/qtwidgets/editEntryForm.h25
1 files changed, 25 insertions, 0 deletions
diff --git a/src/frontend/qtwidgets/editEntryForm.h b/src/frontend/qtwidgets/editEntryForm.h
new file mode 100644
index 0000000..6231478
--- /dev/null
+++ b/src/frontend/qtwidgets/editEntryForm.h
@@ -0,0 +1,25 @@
+#ifndef EDITENTRYFORM_H
+#define EDITENTRYFORM_H
+
+#include <QDialog>
+
+#include "entry.h"
+#include "ui_entryForm.h"
+
+// form to edit/update an entry
+class EditEntryForm : public QDialog {
+ Q_OBJECT
+
+ public:
+ EditEntryForm(const Entry &e);
+
+ private:
+ Ui::entryDialog ui;
+
+ Entry entry;
+
+ private slots:
+ void accept();
+};
+
+#endif