mirror of
https://github.com/keepassxreboot/keepassxc.git
synced 2025-04-06 05:57:37 +03:00
Add EntryView and DatabaseWidget.
This commit is contained in:
parent
e96c3bb011
commit
621b367f45
8 changed files with 170 additions and 7 deletions
10
src/main.cpp
10
src/main.cpp
|
@ -20,7 +20,7 @@
|
|||
|
||||
#include "core/Database.h"
|
||||
#include "core/Parser.h"
|
||||
#include "gui/GroupModel.h"
|
||||
#include "gui/DatabaseWidget.h"
|
||||
|
||||
#include "../tests/config-keepassx-tests.h"
|
||||
|
||||
|
@ -32,12 +32,8 @@ int main(int argc, char **argv)
|
|||
Parser* parser = new Parser(db);
|
||||
parser->parse(QString(KEEPASSX_TEST_DIR).append("/NewDatabase.xml"));
|
||||
|
||||
GroupModel groupModel(db);
|
||||
DatabaseWidget dbWidget(db);
|
||||
dbWidget.show();
|
||||
|
||||
QTreeView view;
|
||||
view.setModel(&groupModel);
|
||||
view.setHeaderHidden(true);
|
||||
view.expandAll();
|
||||
view.show();
|
||||
return app.exec();
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue