Commit Graph

71 Commits

Author SHA1 Message Date
Florian Geyer
7c70eccaf7 Add password repeat check for entry passwords. 2012-04-18 17:03:58 +02:00
Florian Geyer
fc8f1231c6 Fix expiry time and bool not being updated. 2012-04-18 17:03:58 +02:00
Florian Geyer
900420630d Fix checking if database has a key. 2012-04-18 17:03:57 +02:00
Florian Geyer
26436d764a Remove duplicate connect on currentChanged signal of the tab widget. 2012-04-18 17:03:57 +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
eb4f82a7ed Add hasKey property to database and also make it accessible via the DatabaseWidget. 2012-04-18 17:03:57 +02:00
Felix Geyer
3baaf6be97 Add TestGui::testEditEntry().
This tests that the database isn't marked as modified when we don't change
anything but still press the Ok button.
2012-04-14 20:31:35 +02:00
Felix Geyer
3d7479c67b Change EntryAttributes::copyFrom() to copyCustomKeysFrom().
That way we don't overwrite the default entries in EditEntryWidget::saveEntry().
2012-04-14 19:38:45 +02:00
Felix Geyer
8f79e914f4 Create m_entryAttachments in EditEntryWidget. Fixes a crash. 2012-04-14 18:45:32 +02:00
Felix Geyer
849f83e030 Add a new tab to the entry widget that shows attributes and attachments. 2012-04-14 15:43:41 +02:00
Felix Geyer
2b16648370 Add EntryAttachmentsModel and EntryAttributesModel. 2012-04-14 15:41:57 +02:00
Felix Geyer
0ca32ea110 Fix syntax error. 2012-04-11 23:40:53 +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
Florian Geyer
7880c0e4f5 Check both password edit fields. 2012-04-11 21:49:59 +02:00
Felix Geyer
b3063c6fc8 Small include file cleanup. 2012-04-05 19:08:45 +02:00
Felix Geyer
8fc68045f6 Move the code to open database files from DatabaseTabWidget to DatabaseOpenDialog. 2012-04-05 19:03:55 +02:00
Felix Geyer
9d1838a0fe Rename KeyOpenDialog to DatabaseOpenDialog. 2012-04-05 18:31:12 +02:00
Felix Geyer
2612fc8e44 Expand GUI to allow changing the master key. 2012-01-13 17:52:37 +01:00
Felix Geyer
279585fff4 Mark some constructor as explicit. 2012-01-11 19:18:35 +01:00
Felix Geyer
6422dee4fc Update include guard name. 2012-01-11 18:12:41 +01:00
Felix Geyer
40e96ad7b3 Make password and expiry information editable in EditEntryWidget. 2012-01-07 16:18:21 +01:00
Felix Geyer
bda22394f5 Add a dataPath() generater function instead of using static DataPath methods. 2012-01-05 22:36:06 +01:00
Felix Geyer
55c94e6166 Set application window icon. 2012-01-05 22:27:08 +01:00
Felix Geyer
00aafa69f5 Store database icons as QImage instead of QIcon.
This has the advantage that they can be used without a running X server.
Add methods to retrieve QPixmaps that are converted from the stored QImages
and cached by QPixmapCache.
2012-01-01 21:52:54 +01:00
Felix Geyer
fdf600e09a Mark some methods as private. 2012-01-01 18:10:51 +01:00
Felix Geyer
4cb8cffe3f Rename DatabaseManager to DatabaseTabWidget and turn it into a QTabWidget. 2011-12-30 18:43:24 +01:00
Florian Geyer
42773f51a4 Add function to get current database widget. 2011-12-29 20:03:20 +01:00
Felix Geyer
58d4a0208b Fix crash when editing an entry. 2011-12-29 19:04:25 +01:00
Felix Geyer
73b84ff670 Make the edit entry button work. 2011-12-29 19:01:58 +01:00
Felix Geyer
e11b0061d4 Fix coding style. 2011-12-28 19:05:31 +01:00
Florian Geyer
d2712b2a95 Pre-select current file in save as dialog. 2011-12-27 16:06:07 +01:00
Felix Geyer
4d8e9561a7 Implement GUI for creating entries. 2011-12-27 16:04:59 +01:00
Felix Geyer
019bcd380e Implement the GUI for editing and creating groups. 2011-12-27 15:49:06 +01:00
Felix Geyer
fb6ab63d6b Merge git://gitorious.org/~blueice/keepassx/blueices-keepassx into merge-request 2011-12-26 19:21:08 +01:00
Felix Geyer
509328343f Show KeyOpenDialog with show() instead of exec(). 2011-12-26 19:17:11 +01:00
Florian Geyer
cef8032a74 Activate corresponding tab when opening new database. 2011-12-26 18:58:14 +01:00
Felix Geyer
57388ac896 Add UI as a member variable instead of inheriting it. 2011-12-26 18:55:50 +01:00
Felix Geyer
f90831b809 Use an own FileDialog class instead of QFileDialog. 2011-12-26 01:21:29 +01:00
Felix Geyer
256dc89466 Remember last key file. 2011-12-25 20:36:45 +01:00
Felix Geyer
62e7ba6e55 Fix tab names and add tab tooltips. 2011-12-25 19:47:41 +01:00
Felix Geyer
21acb02e3e Fix code formatting. 2011-12-24 23:50:05 +01:00
Felix Geyer
f7b95842b9 Merge git://gitorious.org/~blueice/keepassx/blueices-keepassx into merge-request 2011-12-24 23:46:57 +01:00
Felix Geyer
c5100594b2 Add missing tr(). 2011-12-24 19:26:18 +01:00
Florian Geyer
1dc90c1a77 Implement save as. 2011-12-24 19:22:42 +01:00
Felix Geyer
566b239a50 Implement opening databases with key files. 2011-12-24 19:19:52 +01:00
Felix Geyer
cd919949fd Add a bunch of entry and group actions. 2011-12-16 17:56:13 +01:00
Felix Geyer
5df933be25 New actions: new, save and close database. 2011-11-16 18:47:17 +01:00
Felix Geyer
0ba03920df Automatically check password checkbox and make toggle password button work. 2011-11-16 18:46:09 +01:00