summaryrefslogtreecommitdiff
path: root/src/edit_entry_form.h
blob: 6a10a40ef7c2117b800fba93c9c50819083bc3ff (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
#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 entry;

	private slots:
		void accept();
};

#endif