Commit Graph
55 Commits
Author SHA1 Message Date
Felix Geyer 668103a00f Show group and entry view context menus from MainWindow.
This allows us to drop the duplicate actions in DatabaseWidget.
2012-08-04 22:06:41 +02:00
Florian Geyer 15c18dd899 Do not try to open a non-existing database. 2012-07-28 10:19:32 +02:00
Felix Geyer 3a2f387892 Add action to open the entry URL.
Closes #37
2012-07-27 18:38:52 +02:00
Felix Geyer 5786d0c279 Regain focus after native file dialogs have been closed.
For some reason this happens on Mac OS X.
We work around it by calling activateWindow().

Closes #39
2012-07-25 12:18:16 +02:00
Felix Geyer ecea101962 Return Q_NULLPTR instead of 0 when the return type is a pointer. 2012-07-23 14:58:57 +02:00
Felix Geyer 288fa732ca Add global shortcut widget to SettingsWidget and register shortcut on startup. 2012-07-14 19:09:28 +02:00
Felix Geyer 651c00239a Add an auto-type entry action. 2012-07-12 22:35:51 +02:00
Felix Geyer ce633b54be Prevent opening a database multiple times in the same instance.
Refs #18
2012-07-08 10:26:42 +02:00
Felix Geyer b579eb954e Use QSaveFile to save databases. 2012-07-06 18:50:52 +02:00
Felix Geyer ee3bc89a54 Coding style fixes. 2012-06-30 00:22:07 +02:00
Felix Geyer ca13ad8d25 Delete open databases when DatabaseTabWidget is destructed. 2012-06-29 23:40:51 +02:00
Florian Geyer 9ae6d2cd05 Update last databases on open and save as. 2012-06-29 23:30:13 +02:00
Felix Geyer 68155e8f89 Make use of Q_NULLPTR. 2012-06-29 14:15:16 +02:00
Felix Geyer 92af92ccbe Convert DatabaseOpenDialog into a widget on DatabaseWidget. 2012-06-29 10:36:35 +02:00
Florian Geyer 204822b66f Improve auto save handling. 2012-06-24 19:30:30 +02:00
Florian Geyer 056447fad9 Add editFinished signal which can be used to auto save the database. 2012-06-14 21:18:04 +02:00
Florian Geyer 2c88810459 Coding style fixes. 2012-06-12 10:00:02 +02:00
Thom Troy bd5dd130e5 Add auto save on exit 2012-06-12 10:00:02 +02:00
Thom Troy e439e057a0 Fix extra check that wasn't needed 2012-06-12 10:00:01 +02:00
Thom Troy 17f4e23215 Added automatically saving DB after change 2012-06-12 10:00:01 +02:00
Franklin Strube 21302782e1 allow any filetype to be opened as a database 2012-06-06 10:46:42 +02:00
Florian Geyer 8aefb1ed82 Indicate read-only state in window title. 2012-05-28 19:01:38 +02:00
Florian Geyer 6f48983efe Remember last opened files. 2012-05-27 23:41:33 +02:00
Felix Geyer f43ad8d062 Support copying username and password to the clipboard. 2012-05-26 16:37:57 +02:00
Florian Geyer e4a5cd214f Improve search.
Find as you type.
Add shortcut.
Hide search widgets when not used.

Refs #24
2012-05-20 12:57:50 +02:00
Florian Geyer eb82df5994 Add entry clone functionality. 2012-05-16 10:30:25 +02:00
Felix Geyer 7ebee78c75 Create src/gui/{entry,group}/ and move corresponding files to these dirs. 2012-05-16 10:22:04 +02:00
Felix Geyer 00ae8aabf1 Switch database tab when hovering over it in drag and drop.
Closes #26
2012-05-16 10:05:58 +02:00
Felix Geyer cd41727583 Get rid of Database pointer in Metadata. 2012-05-14 17:04:05 +02:00
Felix Geyer 05c41c083e Implement GUI to import KeePass 1 databases.
Closes #2
2012-05-12 10:13:00 +02:00
Felix Geyer 587a647c11 New TODO comment style.
Qt Creator 2.5 is able to parse those.
2012-05-11 12:39:06 +02:00
Florian Geyer 93a868a571 Don't show message box when creation of database is canceled. 2012-05-09 20:56:22 +02:00
Florian Geyer f20d892573 Fix use of wrong slot when connecting the close request signal of the database widget. 2012-05-09 20:11:37 +02:00
Florian Geyer 07aa46c2d6 Activate corresponding tab when closing a database. 2012-05-09 20:11:27 +02:00
Florian Geyer b217475dff Set default name for root group when creating new database. 2012-05-02 16:26:32 +02:00
Florian Geyer 272da8c99c Fix check if file can be opened read only. 2012-04-28 21:43:23 +02:00
Felix Geyer e4bc302d3d Coding style fixes. 2012-04-25 20:22:55 +02:00
Florian Geyer c29c423ec8 Add enum to describe current mode of database widget. 2012-04-25 19:46:19 +02:00
Felix Geyer 974d4f5807 Allow passing a filename and password on the command line.
Passing passwords on the command line is not exactly best practice but will
greatly improve development productivity.
2012-04-24 11:47:16 +02:00
Florian Geyer 9726046e24 Display current tab name in window title. 2012-04-22 00:11:17 +02:00
Florian Geyer e7d0dfbd26 Ask before closing database when in edit mode.
Fixes #12
2012-04-22 00:11:17 +02:00
Florian Geyer 8467e7756d Add ability to delete groups via gui. 2012-04-22 00:11:17 +02:00
Florian Geyer b1db565bee Hide the tar bar when only one database is opened.
Closes #10
2012-04-21 18:24:30 +02:00
Florian Geyer 1fc5f7a69f Add database settings widget and ability to change transform rounds count. 2012-04-21 17:28:44 +02:00
Florian Geyer 5661f29f7d Add ability to delete entries via gui. 2012-04-18 23:06:21 +02:00
Florian Geyer 89f138a868 Remove unnecessary currentIndexChanged signal in database widget. 2012-04-18 17:03:58 +02:00
Florian Geyer fec19b475e Disable/enable menu actions depending on what currently can be done. 2012-04-18 17:03:57 +02:00
Florian Geyer 73e1104442 Fix database name showing a star at the end when asking to save changes. 2012-04-11 21:50:20 +02:00
Florian Geyer a058dcee5d Multiple DatabaseTabWidget fixes.
Close databases on exit. Ask to save changes on database close.
Remove database from db list on database close.
Delete file pointer on database close.
Require to set master key at database creation time.
Append "*" to tabname if database is modified.
Handle database modified signals in database tab widget.
2012-04-11 21:50:20 +02:00
Felix Geyer e39827d777 Only delete old file when the new one has been saved successfully. 2012-04-11 21:50:20 +02:00