mirror of
https://github.com/keepassxreboot/keepassxc.git
synced 2025-08-08 22:42:34 -04:00
Add initial UI for entry editing.
This commit is contained in:
parent
e3da80fcc6
commit
0c91be8eac
10 changed files with 334 additions and 10 deletions
|
@ -18,20 +18,28 @@
|
|||
#ifndef KEEPASSX_DATABASEWIDGET_H
|
||||
#define KEEPASSX_DATABASEWIDGET_H
|
||||
|
||||
#include <QtGui/QWidget>
|
||||
#include <QtGui/QStackedWidget>
|
||||
|
||||
class Database;
|
||||
class EditEntryWidget;
|
||||
class Entry;
|
||||
class EntryView;
|
||||
class GroupView;
|
||||
|
||||
class DatabaseWidget : public QWidget
|
||||
class DatabaseWidget : public QStackedWidget
|
||||
{
|
||||
Q_OBJECT
|
||||
|
||||
public:
|
||||
explicit DatabaseWidget(Database* db, QWidget* parent = 0);
|
||||
|
||||
private Q_SLOTS:
|
||||
void switchToView();
|
||||
void switchToEdit(Entry* entry);
|
||||
|
||||
private:
|
||||
QWidget* m_mainWidget;
|
||||
EditEntryWidget* m_editWidget;
|
||||
GroupView* m_groupView;
|
||||
EntryView* m_entryView;
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue