Felix Geyer
cf8186312a
Refactor parts of EditEntryWidget::saveEntry() into updateEntryData().
2016-10-02 21:45:54 -04:00
Felix Geyer
8f87b5cfd4
Split EditWidgetIcons::save() into state() and reset().
2016-10-02 21:45:54 -04:00
Felix Geyer
c78822f6e6
Merge branch '2.0'
2016-10-02 21:45:54 -04:00
Jonathan
2146392a2f
Merge pull request #8 from daniellandau/save-with-ctrl-return
...
Save entry with ctrl+return keyboard shortcut
2016-10-02 10:10:33 -04:00
Felix Geyer
3415073051
Display an error message when opening the database fails.
...
Closes #462
2016-09-29 22:08:29 -04:00
Felix Geyer
878995366a
Ask the user before moving an entry to the recycle bin.
...
Closes #447
2016-09-02 12:00:12 +02:00
Felix Geyer
595b1011dd
Refresh fileInfo after creating the file.
...
Fixes canonicalFilePath() returning an empty string.
2016-09-02 11:35:39 +02:00
Felix Geyer
9bb291235d
Fix monospace font on Windows.
...
Closes #424
2016-09-02 11:35:39 +02:00
Felix Geyer
7d4ef0b8d0
Generate new password whenever the generator widget is opened.
...
Closes #414
2016-09-02 11:35:39 +02:00
Felix Geyer
cd1192b409
Allow deleting the recycle bin.
...
Closes #46
2016-08-03 23:45:04 +02:00
Felix Geyer
bf2fd63131
Fix crash when deleting parent group of recycle bin.
...
In these cases delete the group instead of trying to move it to the recycle bin.
Closes #520
2016-08-03 23:27:02 +02:00
Daniel Landau
029da87346
Save and exit entry editing with Ctrl+Return
...
When the cursor is on most fields, you can use Return to end editing and
save, but on the Notes field Return just changes the line. This commit
adds a shortcut to the whole widget to save with Ctrl+Return, so that
saving and exiting is quick even when editing notes.
2016-08-02 16:10:54 +03:00
Felix Geyer
9532bedd7d
Update min. length for password generator.
...
Update the minimum length for the password generator depending on the chosen
options.
Closes #420
2016-07-31 22:07:47 +02:00
Felix Geyer
e9c8363b70
Save to canonical file path so we don't overwrite symlinks.
...
When saving a database we previously replaced symlinks with a regular file.
Closes #442
2016-07-31 18:29:43 +02:00
Felix Geyer
fb57ed2bcd
Add proper error handling when QSaveFile::open() fails.
...
Based on pull request by Valeriy <jazzvoid@gmail.com>
Closes #450
2016-07-31 17:07:31 +02:00
Felix Geyer
57ec558396
Detect image format solely on content.
...
Otherwise reading fails if the file extension is wrong.
Closes #512
2016-07-31 15:36:29 +02:00
Felix Geyer
6e2de1cd79
Display proper error message when reading an icon fails.
...
Refs #512
2016-07-31 14:44:45 +02:00
Felix Geyer
48eca3e11f
Display an error message when opening the database fails.
...
Closes #462
2016-05-20 16:49:32 +02:00
Jonathan White
aba4fa94be
Merge remote-tracking branch 'keepassx/master'
...
# Conflicts:
# README.md
# share/translations/keepassx_de.ts
# src/CMakeLists.txt
# src/gui/MainWindow.h
2016-02-27 19:11:09 -05:00
Felix Geyer
d6d92ce90a
Merge branch '2.0'
2016-02-08 18:13:29 +01:00
Felix Geyer
aff935b3c7
Properly handle a missing key filename.
2016-01-31 17:08:50 +01:00
Felix Geyer
7a017041bf
Allow opening databases that have no password and keyfile.
...
Closes #391
2016-01-31 16:17:24 +01:00
Felix Geyer
bfae81ec70
Use C++11 keyword directly in new methods.
2016-01-29 17:25:32 +01:00
Felix Geyer
71d4cb781d
Merge branch '2.0'
2016-01-29 17:22:37 +01:00
Felix Geyer
eb56bd8973
Add repair functionality to strip invalid XML chars.
...
Refs #392
2016-01-28 23:07:04 +01:00
Felix Geyer
93585aded7
Always display scaled custom icons.
...
Closes #322
2016-01-26 22:44:38 +01:00
Florian Geyer
5e6b17aba4
Disable password generator button when showing entry in history mode.
...
Closes #422
2016-01-22 22:55:28 +01:00
Florian Geyer
c51098e2cf
Flush temporary file before opening attachment.
...
Closes #390
2015-12-16 21:38:20 +01:00
Felix Geyer
ecfbf72a57
Merge branch '2.0'
2015-12-15 21:05:00 +01:00
Felix Geyer
a3b936fcd0
Coding style fixes.
2015-12-06 20:27:09 +01:00
Felix Geyer
efc4cd5969
Merge remote-tracking branch 'github/pr/74'
2015-12-06 19:21:38 +01:00
Felix Geyer
7839280cb3
Check if the tray icon is visible before minimizing to it.
2015-11-01 23:32:37 +01:00
Felix Geyer
dff3fc0572
Coding style fixes.
2015-10-15 18:02:31 +02:00
Felix Geyer
5de0ec94e0
Stop using deprecated methods from QtAlgorithms.
2015-10-13 22:52:07 +02:00
Felix Geyer
6e45cf0dab
Use C++11 keywords directly.
2015-10-11 10:47:30 +02:00
Felix Geyer
dc7b6623a9
Merge branch '2.0'
2015-10-11 10:44:30 +02:00
Felix Geyer
e98c30f633
Disable systray on OS X.
...
It's not useful on that platform.
Refs #326
2015-10-10 17:10:29 +02:00
Felix Geyer
316a7e6fb7
Expose version of used libraries in the About dialog.
2015-10-10 17:10:29 +02:00
Felix Geyer
58ed99d562
OS X: Restore main window when clicking on the docker icon.
...
Apparently this worked previously. Maybe a regression in Qt?
Refs #326
2015-10-10 17:10:27 +02:00
Felix Geyer
840642394f
Cope with focusWidget/activeWindow returning windows that are minimized.
2015-10-10 12:07:28 +02:00
Frank Nießen
9484af5329
Minimize-On-Startup: call configuredMinimizeWindow() function of MainWindow to hide it after database is unlocked
2015-10-08 20:30:03 +02:00
Frank Nießen
3cf1a16398
Minimize-On-Startup: add function to minimize mainwindow if all four tray settings are true
2015-10-08 19:25:42 +02:00
Frank Nießen
0f0af12353
Minimize-On-Startup: get and set new setting from/to config object
2015-10-08 19:09:58 +02:00
Frank Nießen
28a1eb86da
Minimize-On-Startup: new checkbox in ui
2015-10-08 19:09:41 +02:00
Frank Nießen
86f12d9e83
cleaner handling of TrayIconEnabled
2015-10-08 16:27:29 +02:00
Frank Nießen
539f86fd0b
respect setting of parent checkboxes for minimizeToTray
2015-10-08 15:13:22 +02:00
Frank Nießen
c93b12ff05
better handling and display for systray checkbox buttons
2015-10-06 21:12:59 +02:00
Florian Geyer
ebeedba072
Reset visibility state of password field on unlocking.
...
Closes #354
2015-09-28 22:30:29 +02:00
Felix Geyer
568dfde074
Fix minimum size of AboutDialog.
...
Also make the dialog non-resizeable.
Closes #352
2015-09-28 22:08:33 +02:00
Felix Geyer
b8c1829857
Improve tray icon behavior on OS X.
...
Previously the main window had issues on restore:
- was sometimes hidden again.
- window was unresponsive, all actions disabled.
2015-09-27 23:16:18 +02:00
Felix Geyer
3b2a39fd38
Merge branch '2.0'
2015-09-26 11:44:27 +02:00
Felix Geyer
bcb54bc38a
Avoid dereferencing QLists.
2015-09-25 21:34:56 +02:00
Felix Geyer
9d42db9849
Mark more methods as override.
2015-09-25 21:34:56 +02:00
Felix Geyer
2edf414aa4
Fix compiler warning on OS X and Windows.
2015-09-24 18:45:23 +02:00
Felix Geyer
d559db4fb1
Merge branch '2.0'
2015-09-21 23:23:51 +02:00
Felix Geyer
bb38be40f6
Enable Ctrl+M shortcut to minimize window on all platforms.
...
Closes #329
2015-09-13 22:33:07 +02:00
Felix Geyer
f236c32063
Clear clipboard when locking databases.
...
Closes #342
2015-09-13 12:38:19 +02:00
Benjamin Robin
d84af2def0
Fix the open recent database menu.
...
With at least Qt 5.5 the action text is automatically modified from
/home/ben/db.kdbx to /&home/ben/db.kdbx
So add the path of the database to the action using setData
Signed-off-by: Benjamin Robin <dev@benjarobin.fr>
2015-09-12 14:00:03 +02:00
Felix Geyer
7fa0eddc5f
Make C++11 mandatory.
2015-09-12 13:55:50 +02:00
Felix Geyer
9882f16614
Remove Tools::currentDateTimeUtc().
2015-09-12 13:51:49 +02:00
Felix Geyer
3b07098731
Port native event filter to Qt 5.
2015-09-12 13:51:49 +02:00
Felix Geyer
5ad9edc3fd
QDesktopServices::storageLocation() calls to QStandardPaths.
2015-09-12 13:51:49 +02:00
Felix Geyer
c714fc89f1
Add missing include statements.
2015-09-12 13:51:49 +02:00
Felix Geyer
e3cde7b55e
Adapt to setSupportedDragActions() begin removed.
...
Models have a virtual supportedDragActions() now.
2015-09-12 13:51:49 +02:00
Felix Geyer
531018e58d
Remove QSaveFile and QLockFile.
...
They are part of Qt >= 5.1.
2015-09-12 13:51:49 +02:00
Felix Geyer
0b43607aa1
Make sure we use the native file dialog on Windows and OS X.
2015-09-06 13:32:12 +02:00
Felix Geyer
e75efb8bfb
Improve setting the default file extension in FileDialog.
...
Largely from PR #105 by Charles Brunet <charles@cbrunet.net>
2015-09-05 19:10:26 +02:00
Akinori MUSHA
5c7c7f54fa
Improve UI of the search edit.
...
- The copy action (Control+C) when no text is selected copies the
password of the current entry. This should be reasonable when
Control+B copies the username.
- Down at EOL moves the focus to the entry view. Enter and Tab should
do that, but it would be handy for user to be able to get to the third
entry by hitting Down three times.
2015-08-05 19:02:17 +09:00
Felix Geyer
98417d6465
Set default extension when selected filename doesn't have one.
...
Closes #79
2015-07-25 18:16:33 +02:00
Felix Geyer
0ea64afe92
Fix type of default value for options.
2015-07-25 18:13:57 +02:00
Felix Geyer
a862f62fe8
Set a default filename when saving a new database.
...
Closes #308
2015-07-25 17:47:45 +02:00
Florian Geyer
41a7c96968
Close search before locking database and add additional check on current group.
...
Closes #309 .
2015-07-20 22:45:57 +02:00
Felix Geyer
606e36acf3
Detect and display more errors when writing databases.
2015-07-20 21:35:48 +02:00
Felix Geyer
84ee8b993f
Explicity hide the tray icon before deleting it.
...
In some conditions the tray icon stayed visible until the application
was closed.
Tested on Kubuntu 15.04 (KDE Plasma 5.2).
2015-07-19 21:14:08 +02:00
Felix Geyer
7d3fb58cf5
Fix lock file location in saveDatabaseAs().
...
Previously the directory of the lock file path was empty when
saving to a new file.
saveFile.open() doesn't create the file and canonicalPath()
only works when the file exists.
2015-07-19 00:41:35 +02:00
Felix Geyer
df5da2fcef
Fix lock file handling in saveDatabaseAs().
2015-07-18 22:46:45 +02:00
Felix Geyer
6327eaf587
Fix tab name for read-only databases.
2015-07-18 18:29:19 +02:00
Felix Geyer
b1fd99f4c4
Enable document mode of DatabaseTabWidget.
...
This fixes a visual artifact when the GTK style is used and
only one database tab is open.
Closes #131
2015-07-18 18:27:17 +02:00
Felix Geyer
c6fe0da569
Abort closing the app if saving a database failed.
2015-07-18 17:36:08 +02:00
Florian Geyer
b9fe2c1bf9
Small clean up.
2015-07-18 13:23:36 +02:00
Florian Geyer
3efc8f457a
Display git revision in about dialog.
2015-07-18 13:14:13 +02:00
Florian Geyer
fa0fe6d33d
Make tab order consistent.
2015-07-16 23:50:35 +02:00
Felix Geyer
826cd472c8
Group all copy to clipboard menu entries together.
2015-07-16 20:09:23 +02:00
Felix Geyer
8ecab15c33
Merge remote-tracking branch 'github/pr/112'
...
Closes #149
2015-07-16 20:06:44 +02:00
Felix Geyer
c9520214e2
Merge remote-tracking branch 'github/pr/72'
2015-07-16 20:04:26 +02:00
Felix Geyer
6d1ca363af
Remove support for clearing the Klipper history.
...
KDE Plasma 5 doesn't provide the DBus interface anymore and
this avoids the QtDBus dependency.
2015-07-16 20:02:10 +02:00
Felix Geyer
2170794d9c
Guess the scheme when opening URLs.
...
Closes #293
2015-07-16 19:52:34 +02:00
Felix Geyer
d3a7e0dee9
Merge remote-tracking branch 'github/pr/108'
2015-07-16 19:32:07 +02:00
Felix Geyer
ceb6a0383e
Add ability to export databases to CSV files.
...
Based on implementation by Florian Geyer <blueice@fobos.de>
Closes #57
2015-07-14 22:14:34 +02:00
Felix Geyer
af84261eb6
Avoid calling QDesktopServices::openUrl() when cmd is empty.
2015-07-13 22:41:03 +02:00
Felix Geyer
274f86fd04
Merge branch 'pr-94'
...
https://github.com/keepassx/keepassx/pull/94
Closes #244
2015-07-13 22:36:56 +02:00
Felix Geyer
bcc3108c3d
Coding style cleanup.
2015-07-13 22:36:20 +02:00
Felix Geyer
5f1b286630
Merge branch 'pr-95'
...
https://github.com/keepassx/keepassx/pull/95
Closes #283
2015-07-13 22:22:45 +02:00
Felix Geyer
721bec9794
Make sure we don't lock the database while a dialog is open.
...
This can happen when
- the user is picking out a file to save the database as
- a dialog asking the user to save/discard/cancel the current database
changes is active
It is dangerous to lock the databases while these actions are still
in progress.
Closes #208
2015-07-13 21:25:38 +02:00
Codifier
280a1aceb9
Bug #149
...
Moved the actionEntryCopyUsername and actionEntryCopyPassword actions to the root level of the context menu, for easier access and changed their labels to 'Copy username' and 'Copy password', respectively.
2015-07-12 20:54:02 +02:00
denk-mal
5982763bed
implement a (nonperfect) hide-to-tray on win close
2015-06-18 15:23:41 +02:00
Andy Zeigler
bcd3de1180
Add keyboard shortcut (Ctrl-Alt-U) for copy URL to clipboard.
2015-06-12 19:29:02 -07:00
Florian Geyer
f4361dd4d5
Fix enabled state of copy notes action.
2015-06-05 18:37:22 +02:00
Ivan
a115bbdc6f
Merge branch 'master' of https://github.com/keepassx/keepassx
2015-05-22 21:06:32 -07:00
Felix Geyer
c535736853
Add GUI for changing default group auto-type sequence.
...
Closes #175
2015-05-14 12:59:36 +02:00
Amir Pakdel
0458dad6dc
Code cleanups
2015-05-13 14:34:48 -04:00
Felix Geyer
7e1faadd11
Merge remote-tracking branch 'github/pr/96'
...
Closes #218
2015-05-12 23:35:19 +02:00
Felix Geyer
fceb93061d
Merge remote-tracking branch 'github/pr/97'
...
Closes #290
2015-05-12 22:31:51 +02:00
Amir Pakdel
c9d007fcdf
Always clearing ChangeMasterKeyWidget.m_key
2015-05-12 16:31:14 -04:00
Felix Geyer
05b5446e94
Protect opened databases with a file lock.
...
Closes #18
2015-05-12 22:24:45 +02:00
Amir Pakdel
b45437d502
Refactored DatabaseWidget::currentEntryHas*()
2015-05-12 15:54:39 -04:00
Amir Pakdel
a599787a25
Bug #290
...
Show realted menu option to current entry only if the corresponding
field is not empty.
2015-05-12 15:50:10 -04:00
Amir Pakdel
58061af959
Bug #218
...
Do not accept faulty files as Key File. Moreover, do not clear keys
unless we have a key to add.
2015-05-12 15:17:39 -04:00
Ivan
33ed4fd7cf
Merge branch 'master' of https://github.com/keepassx/keepassx
2015-05-12 11:03:48 -07:00
Amir Pakdel
8bf1bb0517
Bug #283
...
Updated messages related to saivng and closing a database to make
them more clear about what is going to happen.
2015-05-12 13:46:48 -04:00
Amir Pakdel
d26cff520f
Bug #244
...
Supporting cmd:// URLs
2015-05-12 12:25:43 -04:00
Felix Geyer
4362c3ea38
Handle cipher errors in TransformKeyBenchmarkThread.
2015-05-09 23:38:04 +02:00
Felix Geyer
a762cef0a9
Catch and handle all errors from libgcrypt.
2015-05-09 23:21:44 +02:00
dartraiden
3fca61dc24
spelling correction, fixed typos
2015-05-06 19:38:43 +03:00
Felix Geyer
6c9c0fd5c5
Look for a close button when pressing the escape key.
2015-05-03 19:59:11 +02:00
Felix Geyer
f3d956ceed
Display a Close button for history items.
...
Previously we had Ok and Cancel with the same action.
2015-05-03 18:59:19 +02:00
Felix Geyer
b9c9c56059
Use common EditEntryWidget::clear() method.
2015-05-03 18:58:44 +02:00
Felix Geyer
bed58cde84
Fix crash when pressing "cancel" on a history item.
2015-05-03 18:48:58 +02:00
Felix Geyer
ecb2e337ef
Hide Auto-Type action when it's not available.
2015-04-14 23:12:10 +02:00
Felix Geyer
2dde18b179
Adjust coding style.
2015-04-14 23:10:37 +02:00
Felix Geyer
6411b9bd66
Merge remote-tracking branch 'github/pr/82'
...
https://github.com/keepassx/keepassx/pull/82
Closes #145
2015-04-14 23:07:14 +02:00
Ivan
d70ee509b4
Merge branch 'master' of https://github.com/keepassx/keepassx
2015-04-11 15:41:25 -07:00
Felix Geyer
bd3ae05fcf
Rename Extras menu to Tools and move Lock Databases action to it.
2015-04-05 10:48:08 +02:00
Felix Geyer
b055d524e8
Merge branch 'lockdb'
2015-04-05 10:38:58 +02:00
Felix Geyer
9e051e835b
Close databases when they are locked.
...
Previously we've only hidden access to them.
Closes #275
2015-04-05 10:38:36 +02:00
Ivan
e20968bdfe
Merge branch 'master' of https://github.com/keepassx/keepassx
2015-04-04 23:31:12 -07:00
Felix Geyer
3ab1072e9e
Scale new custom icons down to 64x64 if they are larger.
2015-03-31 22:31:04 +02:00
Joe Harvell
00df73ced0
Issue #270 - turning off key location memory
...
Add general settting for whether or not to remember last key files
2015-03-14 22:06:53 -05:00
IvanF
2e94066e50
Fixes to get code to compile with latest upstream.
2015-01-30 00:35:38 -08:00
IvanF
61c6962bf2
Deleted unused and unrelated files
...
Merged lots of changes from upstream that were missed or ignored
2015-01-30 00:29:01 -08:00
IvanF
9cbdd58af5
Fixed HTTP settings and service start-up
2015-01-30 00:04:27 -08:00
IvanF
eea9d7db97
Added http service start to MainWindow
...
Added http settings pane to SettingsWidget
Settings are probably broken still
2015-01-29 01:19:15 -08:00
IvanF
235baa3dcc
Merge branch 'master' of https://github.com/keepassx/keepassx
...
Conflicts:
README.md
src/core/Config.cpp
src/gui/DatabaseTabWidget.cpp
src/gui/DatabaseTabWidget.h
src/gui/DatabaseWidget.cpp
src/gui/DatabaseWidget.h
src/gui/MainWindow.cpp
src/gui/MainWindow.h
src/gui/MainWindow.ui
src/gui/SearchWidget.ui
src/gui/SettingsWidget.cpp
src/gui/SettingsWidgetGeneral.ui
2015-01-29 00:17:39 -08:00
Felix Geyer
33650c4a04
Add non-const version of Group::groupsRecursive().
2015-01-11 16:20:24 +01:00
Victor Häggqvist
019cf9684c
change tabindex, put password inputs after each other
2015-01-01 02:25:43 +01:00
Akinori MUSHA
e4758c1984
Fix the temporary filename template so that the original suffix is preserved.
2014-12-22 23:47:16 +09:00
Felix Geyer
876a75b572
Disable attachment buttons when none is selected.
2014-12-03 23:26:42 +01:00
Felix Geyer
c39898dad9
Support opening attachments directly.
2014-12-03 21:50:17 +01:00
Florian Geyer
2adc64939f
Correct handling of keyfile argument.
...
Closes #223 .
2014-12-01 22:47:22 +01:00
Felix Geyer
07e4fbacd4
Remove ModifiedOnExpandedStateChanges config option.
...
I'm pretty sure noone knew what it actually does.
This is the sort of option users shouldn't be bothered with.
2014-11-30 23:04:17 +01:00
Akinori MUSHA
dd79105baa
Complete remove the toggle search action.
2014-11-19 11:46:38 +09:00
Akinori MUSHA
b1c3814972
Make Ctrl+F not toggle the search mode but always enable it.
...
Switching back from other applications, the previous behavior of Ctrl+F
would often bother you in that it would dismiss the search widget if it
was already enabled when you meant by the key you wanted to perform a
search.
Making Ctrl+F always set you in search mode should save user from having
to care about the mode which is persistent across application switching
and database locking.
2014-11-18 19:46:53 +09:00
Felix Geyer
87468b648b
Use specific monospace fonts as fallback on Mac OS X.
...
Qt (4.8.6) doesn't seem to be able to resolve the generic monospace
font family.
Closes #214
2014-11-02 11:44:03 +01:00
Felix Geyer
4cdb9a645d
Add an option to display a tray icon.
...
Also implement "Minimize to tray" functionality.
2014-11-02 11:44:03 +01:00
Florian Geyer
f1aa6aca26
Fix copy custom attributes menu.
2014-10-09 21:36:08 +02:00
Florian Geyer
72b59d541a
Clear available languages when loading settings.
...
Thanks to Victor Häggqvist for spotting this.
2014-09-05 10:12:35 +02:00
David Kolossa
3a0648cf25
! binds stronger than ==
...
This should just avoid useless copying if more than 1 attribute is
selected (and the option to copy attributes is unavailable).
This also fixes a clang warning.
2014-06-16 15:40:28 +02:00
Sebastien Fricker
06e08557ac
New setting: enablin/disabling the automatic reload on changes
2014-06-09 10:51:24 +02:00
Sebastien Fricker
95fdefdcc7
Merge github.com:keepassx/keepassx
...
Conflicts:
src/gui/DatabaseWidget.cpp
2014-06-09 09:54:29 +02:00
Felix Geyer
7137990a21
Clear clipboard only if copied text is still present.
...
Closes #198
2014-05-26 18:41:48 +02:00
Felix Geyer
28694ae687
Add initial support for translations.
2014-05-18 01:33:22 +02:00
Felix Geyer
becd3a0019
Increase the EntryView default column size a bit.
2014-05-17 19:01:43 +02:00
Felix Geyer
8cc1e6008e
Use plurals in translations.
2014-05-17 18:17:31 +02:00
Felix Geyer
910788c038
Mark some strings as untranslatable.
2014-05-17 18:17:31 +02:00
Felix Geyer
9391de74c7
Block non-user updates in DatabaseWidgetStateSync.
2014-05-17 18:17:31 +02:00
Florian Geyer
c806f9ebf4
Correct tr-calls.
2014-05-17 18:13:22 +02:00
Felix Geyer
e776de8eeb
Remember and synchronize entry column sizes.
...
Closes #159
2014-05-17 12:51:16 +02:00
Felix Geyer
a25b28ffee
Rename config option window/Geometry to GUI/MainWindowGeometry.
2014-05-17 11:38:48 +02:00
Felix Geyer
0e75e6ff03
Make DatabaseWidget splitter non-collapsible.
2014-05-17 11:27:04 +02:00
Felix Geyer
76da4a6cd4
Use QSplitter::setStretchFactor() convenience method.
2014-05-17 11:25:45 +02:00
Felix Geyer
8a4100adbd
Make DatabaseWidget::emit{Group,Entry}ContextMenuRequested() private.
2014-05-17 11:22:45 +02:00
Felix Geyer
584f4b50bf
Coding style fix.
2014-05-17 11:21:50 +02:00
Felix Geyer
9ac01c930d
Drop DatabaseWidget::groupView() and entryView().
2014-05-17 11:21:17 +02:00
Felix Geyer
d874f58a39
Synchronize DatabaseWidget splitter sizes.
2014-05-17 11:16:27 +02:00
Florian Geyer
05de45dadb
Improve tab order.
2014-05-16 19:49:58 +02:00
Felix Geyer
4ab887c773
Initally select first entry in EntryView.
...
Closes #104
2014-05-16 19:10:30 +02:00
Florian Geyer
552ca7bf71
Stop search timer when closing search.
2014-05-16 18:56:01 +02:00
Felix Geyer
2d8ba2b394
Focus the search field instead of closing it when pressing the shortcut.
...
Closes #124
2014-05-16 13:10:26 +02:00
Florian Geyer
8bf4826003
Move search into separate class.
2014-05-15 23:50:40 +02:00
Felix Geyer
e361b0dd81
Fix typo canDeleteCurrentGoup() -> canDeleteCurrentGroup().
2014-05-15 22:56:36 +02:00
Felix Geyer
ce7e01a1b1
const-ify several methods.
2014-05-15 22:53:59 +02:00
Felix Geyer
cda5e990ac
Show in-edit-mode warning when database is locked.
2014-05-15 22:51:13 +02:00
Florian Geyer
50cbd80925
Remove obsolete method in EntryView.
2014-05-15 18:55:17 +02:00
Felix Geyer
75d3e6261b
Coding style fix.
2014-05-15 18:41:11 +02:00
Felix Geyer
147cd4ed7b
Add option to use the entry title for auto-type window matching.
2014-05-15 18:30:57 +02:00
Florian Geyer
9363d23e09
Remove dependency to Group- and EntryView from MainWindow.
2014-05-15 18:05:58 +02:00
Sebastien Fricker
7a8d4577f1
Automatic reload of a database when it get modified
...
When the database if modified by an other instance of KeePassX, KeePassX
detect it and reload automatically the database.
2014-05-03 16:59:41 +02:00
Florian Geyer
b718e9d8f2
Make sure copy actions are disabled when database is locked.
...
Closes #189
2014-05-03 08:28:56 +02:00
Jascha Dachtera
65eb71e645
Merge branch 'master' of https://github.com/keepassx/keepassx
2014-05-02 21:29:12 +02:00
Felix Geyer
c917096d3c
Show the inherited value in EditGroupWidget.
2014-04-26 18:34:26 +02:00
Jascha Dachtera
65626f0da2
Merge branch 'master' of https://github.com/keepassx/keepassx
...
Use SymmetricCipherGcrypt directly in Protocol.cpp to make it work with the latest master
revision.
2014-04-18 13:59:24 +02:00
Florian Geyer
ad26d962dc
Add option in settings for using group icons for newly created entries.
...
Closes #174
2014-04-14 23:38:09 +02:00
Florian Geyer
967a9f0195
Add check if parent group has custom icon.
...
Refs #174
2014-04-14 23:20:24 +02:00
Charles Brunet
6c663a19bf
Use folder icon when not defaut icon
2014-04-14 22:59:38 +02:00
Felix Geyer
0b9167c78b
Add an option to always ask before performing auto-type.
...
Closes #120
2014-04-14 22:57:18 +02:00
Felix Geyer
2963752585
Disallow global auto-typing when the database is locked.
2014-04-12 15:29:03 +02:00
Florian Geyer
1decdc6c11
Only save geometry when close event is accepted.
2014-03-24 20:03:40 +01:00
Florian Geyer
6659745e2b
Rename settings key for window geometry.
2014-03-24 20:03:40 +01:00
Florian Geyer
1e2d1a1b17
Refactor saving of window geometry.
...
Closes #154
2014-03-24 20:03:40 +01:00
Florian Geyer
f300ca5b7b
Remember window size.
...
Refs #154
2014-03-24 20:03:40 +01:00
Keith Bennett
c7158234dc
Removed assert test for indexFromEntry.
...
When no row is selected, row equals -1. Some operations call
indexFromEntry when there is no row selected and these should
be allowed to succeed.
2014-03-23 19:09:49 +00:00
Keith Bennett
b28cb19ae3
Added keybinding for copy URL
2014-03-23 19:09:48 +00:00
Keith Bennett
86a01b6984
Ensure that external DB changes are always detected.
...
QFileSystemWatcher seems to reset itself occasionally. This patch
works around the issue by re-applying the QFileSystemWatcher
whenever a change is handled.
2014-03-23 19:09:48 +00:00
Keith Bennett
b953ea9042
Tidied up layout of the search field.
2014-03-23 17:25:40 +00:00
Keith Bennett
a9a724714f
Stop qsearchfield from swallowing keypresses.
2014-03-23 17:25:39 +00:00
Keith Bennett
a627870bbb
Added a new DatabaseWidget modal state.
...
Commit d8857bf4
attempted to fix currentMode() while the DB had not
yet been opened. However, the fix meant that the title bar always
displayed the state as being "locked". This change works around the
issue by introducing a new modal state for when the DB is not yet
open.
2014-03-23 17:25:39 +00:00
Keith Bennett
b27ba03d42
Replaced qhttpserver with libmicrohttp.
...
The qhttpserver seems to be riddled with memory leaks and was
continuously crashing. I don't know Qt well enough to fix it so
I have replaced it with libmicrohttp. This is not nearly as
elegant but it is much more stable.
2014-03-23 17:25:39 +00:00
Keith Bennett
0c33019f93
Fixed building of qocoa subtree.
2014-03-22 17:04:59 +00:00
Keith Bennett
16598a8386
Merge commit 'f52f6e2d44bc3a08a5b2fa281459af8baac68f0d' as 'src/gui/qocoa'
2014-03-22 17:02:43 +00:00
Keith Bennett
304cebefe4
Removed qocoa so we can replace it with a subtree.
2014-03-22 17:01:53 +00:00
Keith Bennett
73f91db939
Merged keepassx-http.
2014-03-22 14:49:32 +00:00
Felix Geyer
b9370c6e79
More careful null checking and member initalization.
2014-03-22 12:10:49 +01:00
Florian Geyer
54bb7462f6
Add find action to entries menu.
...
Closes #122
2014-03-08 11:42:26 +01:00
Felix Geyer
b6497d9245
Coding style fixes.
2014-01-14 21:00:27 +01:00
Felix Geyer
811eb2714f
Add copy username and password actions to the clipboard.
...
Also add corresponding icons that I've put together from
various Oxygen icons.
2014-01-14 19:53:42 +01:00
Felix Geyer
a914b837a1
Drop new database action from the toolbar.
...
It's not a common operation.
2014-01-14 19:40:20 +01:00
Felix Geyer
04c9332a99
Drop superfluous PasswordGeneratorWidget::togglePassword slot.
2014-01-13 21:40:23 +01:00
Felix Geyer
97f374a189
Use monospace font in the password generator combo box.
2014-01-13 21:39:55 +01:00
Felix Geyer
6f3648d63e
Uncheck the correct widget in ChangeMasterKeyWidget.
...
We want to enable the password group but mask the password in the line edit.
2014-01-13 00:24:29 +01:00
Felix Geyer
350cf4b00a
Move password generator widget to the right row.
2014-01-13 00:24:29 +01:00
Felix Geyer
3af2307468
Reworked the PasswordGeneratorWidget.
...
It's loosely based on OS X PasswordAssistant. Generation happens as soon as a
change is made, and on open of the widget. A combobox has been added to allow
one to choose from some randomally-generated alternatives, and the UI is
generally been made a bit more compact.
Written by Michael Curtis <michael@moltenmercury.org> and revised by me.
Closes #119
https://github.com/keepassx/keepassx/pull/38
2014-01-13 00:24:25 +01:00
Felix Geyer
29c997e1bc
Add an option to show passwords by default.
...
Closes #93
2014-01-12 17:23:47 +01:00
Felix Geyer
223c5a1651
Use an icon for the button that shows/masks passwords.
...
Closes #38
Additionally make use of the new PasswordEdit class where possible.
2014-01-12 17:13:10 +01:00
Felix Geyer
4ded95a060
Add PasswordEdit class.
...
It displays passwords in monospace which closes #51
2014-01-12 17:13:03 +01:00
Felix Geyer
8e86437e89
Disable settings spinboxes by default.
...
They get enabled when the corresponding checkboxes are checked.
2014-01-07 21:58:49 +01:00
Felix Geyer
a8edad1e27
Add option to lock databases after user inactivity.
...
Closes #62
2014-01-07 21:57:38 +01:00
Felix Geyer
41162ea2e8
Only try to click the focused button when pressing enter.
...
It makes no sense when pressing the escape button.
2014-01-02 10:51:51 +01:00
Felix Geyer
b9a955c048
Add some more actions to the toolbar.
2013-12-05 22:14:01 +01:00
Florian Geyer
4b41dd30e6
Merge branch 'attributes'.
2013-12-02 00:01:20 +01:00
Florian Geyer
fc3cc12038
Optimize deletion of copy to clipboard actions.
2013-12-01 15:58:19 +01:00
Felix Geyer
3d8ff5b585
Hide auto-type settings when the plugin is not available.
...
Closes #121
2013-12-01 12:20:05 +01:00
Florian Geyer
a3b95c1c38
Remove unnecessary removeAction call in MainWindow.
2013-12-01 10:36:50 +01:00
Florian Geyer
2308099260
Small refactoring in DatabaseWidget.
2013-12-01 09:59:43 +01:00
Florian Geyer
4a3da3abe7
Hard code copy action for default attributes.
2013-12-01 09:43:41 +01:00
Florian Geyer
3e4811791a
Delete actions after removal from menu.
2013-11-30 16:19:48 +01:00
Florian Geyer
34f12ac39c
Remove duplicate menu entries to copy username and password.
2013-11-30 16:05:10 +01:00
Felix Geyer
ea628af580
Merge branch 'staging'
2013-11-30 12:15:16 +01:00
Veeti Paananen
9cae8a412a
Save password generator settings
...
Remember the used values for the password generator and restore them the
next time the user opens the generation dialog.
2013-11-30 11:27:39 +01:00
Felix Geyer
f2dfef8c41
Add flags to Entry::clone() for customized cloning.
2013-11-22 13:32:13 +01:00
Felix Geyer
74e912ccd3
Remember the dir when opening/saving attachments.
2013-11-22 10:30:50 +01:00
Felix Geyer
755241df5c
Focus entryView when pressing enter in the search field.
2013-11-17 10:55:58 +01:00
Felix Geyer
9080864167
Fix tab focus order in ui files.
2013-11-17 10:15:50 +01:00
Felix Geyer
091e87aeb3
EditEntryWidget: move the URL field beneath the password.
2013-11-16 22:30:39 +01:00
Charles Brunet
4a870f61f1
Added option to minimize window when copying data to clipboard
...
https://github.com/keepassx/keepassx/pull/24
2013-10-29 20:54:56 +01:00
Felix Geyer
5daf0853c9
Coding style fixes.
2013-10-13 18:08:50 +02:00
Felix Geyer
3dd4681e69
Fix EntryView not emitting activated() signals on return key press.
...
AutoTypeSelectDialog relies on this behavior.
2013-10-10 22:47:32 +02:00
Felix Geyer
d5b70b1bef
Add a QMessageBox wrapper class to help gui tests.
...
QMessageBox displays modal dialogs which blocks the gui tests.
To work around this we add a MessageBox wrapper class where
the tests can set the answer for the next dialog.
The answer is then returned without actually showing the dialog.
2013-10-08 22:09:20 +02:00
Felix Geyer
551637f0c2
Allow removing multiple entries.
2013-10-08 21:36:01 +02:00
Felix Geyer
8778df5789
Drop entries from search results when moved to the recycle bin.
2013-10-08 21:13:20 +02:00
Felix Geyer
6504b6f2bd
Drop Qt module name from include statements.
...
This is a preparation to be able to build KeePassX against Qt 5.
2013-10-03 15:18:16 +02:00
Jens Dieskau
035271d469
Only edit entries on doubleclick (not single) or with enter key.
...
https://github.com/keepassx/keepassx/pull/19
2013-09-29 17:35:34 +02:00
Francois Ferrand
d8857bf42d
Fix currentMode() while DB is not yet open.
2013-05-02 13:58:00 +02:00
Francois Ferrand
a85ac07576
Qocoa compilation fix for MacOS.
2013-05-02 13:58:00 +02:00
Francois Ferrand
d2ab008aa0
Auto-reload settings.
2013-04-30 17:31:08 +02:00
Felix Geyer
2be045eb8f
Initalize m_database in EditGroupWidget ctor.
2013-04-29 22:31:50 +02:00
Francois Ferrand
f4ff8b17f7
Use search field for search.
...
Search options are presented in a context menu on the search field, as well as
links in search header.
2013-04-29 18:05:08 +02:00
Francois Ferrand
d5c8787451
Detect background changes to database file.
...
This gives the option to reload the database.
TODO:
- Settings for reloadBehavior (ask, reloadUnchanged, ignore)
- Improve notification, by using a header instead of dialog: nicer, less
intrusive, gives more options to user, and works better when multiple databases
are open.
- Keep tab order on reload.
2013-04-29 09:11:26 +02:00
Florian Geyer
94e6d3f89b
Fix coding style.
2013-04-27 11:23:51 +02:00
Florian Geyer
94ac9c9ea1
Rename config key for last opened databases.
2013-04-27 11:22:38 +02:00
Francois Ferrand
850c7c7ecf
Option to automatically reopen databases which were last opened.
2013-04-24 13:30:30 +02:00
Francois Ferrand
7ff475977e
Favicon download button.
2013-04-22 11:25:01 +02:00
Francois Ferrand
af394ff65c
Settings UI integration.
2013-04-19 11:29:46 +02:00
Florian Geyer
bbf183bef7
Add settings option to control if previous databases are opened on startup.
...
Closes #36
2013-04-18 22:42:22 +02:00
Florian Geyer
f0985ff9d9
Remember opened databases on quit.
...
Refs #36
2013-04-18 21:52:08 +02:00
Florian Geyer
ba3baf3595
Open EditEntryWidget when empty url column is activated.
2013-04-14 19:14:06 +02:00
Francois Ferrand
b9e58c77af
Use splitter in 'Additional attributes'.
2013-04-12 15:18:10 +02:00
Francois Ferrand
ea992bc3e6
Support KeyPassHttp protocol.
...
Allows using passIfox (firefox) and Chromeipass (chrome).
2013-04-12 15:16:56 +02:00
Francois Ferrand
20f3f23576
Customizable toolbar icon size.
2013-04-11 12:11:33 +02:00
Florian Geyer
34c6b416b0
Add enum for EntryModel column.
2013-04-07 22:17:32 +02:00
Florian Geyer
bf906a7867
Open url when an entry is activated via its url column.
...
Closes #55
2013-04-07 22:17:32 +02:00
Felix Geyer
5a96e19ce9
Copy custom icons when copying/moving entries/groups to another database.
2013-04-07 18:32:43 +02:00
Felix Geyer
8ed0379136
Enable the frame for QLineEdits in EditWidgetProperties.
2013-04-07 12:49:05 +02:00
Felix Geyer
4e2f5b1a5b
Return true from dropMimeData() when IgnoreAction is passed.
2013-04-07 12:43:20 +02:00
Felix Geyer
317f603262
Support copying entries and groups using drag'n'drop.
...
Closes #74
2013-04-07 12:43:19 +02:00
Felix Geyer
701013baab
Turn two for loops into Q_FOREACH.
2013-04-07 12:43:13 +02:00
Felix Geyer
4b3bee6400
Add extra checks so we never return empty QMimeData from mimeData().
2013-04-07 11:50:42 +02:00
Felix Geyer
91868969ca
Make sure we don't add entries/groups multiple times to the drag'n'drop data.
2013-04-07 11:47:50 +02:00
Felix Geyer
be288d26ca
Change Entry::clone() to set a random uuid.
2013-04-04 21:25:11 +02:00
Felix Geyer
82eca1a5bf
Coding style fixes.
2013-03-24 14:04:08 +01:00
Felix Geyer
7be87051ab
Add asserts in GroupModel::groupAboutToRemove().
2013-03-24 14:00:23 +01:00
Felix Geyer
db08058c4e
Ignore an unused variable.
2013-03-24 13:58:13 +01:00
Felix Geyer
c6edeaddb7
Add icon for the auto-type action.
2013-03-22 19:51:39 +01:00
Felix Geyer
5dadedbf70
Implement the GUI for the password generator.
...
Closes #52
2013-03-12 22:42:06 +01:00
Florian Geyer
006eadfb9e
Fix include statements.
2013-03-12 19:27:17 +01:00
Florian Geyer
870417d9c4
Add dummy PasswordGeneratorWidget.
...
Refs #52
2013-03-10 22:33:03 +01:00
Florian Geyer
f9dc314e72
Revert "Show correct group name when opening an entry from seach results."
...
Did not want to push this.
This reverts commit 4daac65cc5
.
2013-03-10 20:03:22 +01:00
Florian Geyer
36ad91b447
Entry edit: merge notes and main widget.
...
Closes #59
2013-03-10 19:47:08 +01:00
Florian Geyer
4daac65cc5
Show correct group name when opening an entry from seach results.
2012-12-27 10:50:48 +01:00
Florian Geyer
50148e9640
Check if a database is present before trying to create the CopyAttributesMenu.
...
Closes #50
2012-11-10 18:46:01 +01:00
Florian Geyer
107a2e4a5c
Fix sort order when closing the search and an entry was moved.
2012-11-03 18:57:31 +01:00
Florian Geyer
e9b704d21f
Make sure the presets menu has a parent.
2012-11-02 16:33:10 +01:00
Florian Geyer
848abfc1a7
Handle entry/group title with %1 etc. correctly.
2012-11-02 10:31:06 +01:00
Florian Geyer
64394c0b15
Correct window title when database name contains %1.
2012-11-02 10:15:37 +01:00
Florian Geyer
8748c76de2
Refactor updateWindowTitle function.
2012-11-02 01:07:39 +01:00
Florian Geyer
a77c426b2d
Adjust title when settings widget is active.
2012-11-02 00:41:34 +01:00
Florian Geyer
b0280e9d93
Small refactoring in EditWidget and EditEntryWidget.
2012-10-29 23:44:10 +01:00
Florian Geyer
25f15073cc
Refactor EditEntryWidget.
2012-10-29 23:11:42 +01:00
Florian Geyer
34a1eef252
Clear out includes.
2012-10-29 22:50:57 +01:00
Florian Geyer
771a041750
Refactor EditWidgetProperties.
2012-10-29 22:41:37 +01:00
Florian Geyer
ff0d53d945
Add properties tab in EditEntryWidget.
2012-10-29 19:59:09 +01:00
Florian Geyer
afe2c00841
Rename "EditGroupWidgetProperties" to "EditWidgetProperties".
2012-10-29 19:29:18 +01:00
Florian Geyer
9a7a88eea2
Rename "Advanced" to "Properties" in EditGroupWidget.
2012-10-29 19:05:51 +01:00
Florian Geyer
ddd5e8a209
Add menu entry to copy an entry attribute to clipboard.
2012-10-24 20:03:33 +02:00
Felix Geyer
caec47b1e5
Fix drag'n'drop of multiple entries.
...
Previously only the first entry was moved.
2012-10-21 22:31:21 +02:00
Florian Geyer
08415bd824
Improve headline in EditEntryWidget.
2012-10-21 21:50:05 +02:00
Felix Geyer
59da03d660
Make TriState strings translatable.
2012-10-21 15:11:09 +02:00
Felix Geyer
b17cb60b5c
Coding style fixes.
2012-10-21 15:09:01 +02:00
Felix Geyer
788cc02685
Make sure all auto-type settings are saved and the UI is reset before loading entries.
2012-10-21 12:47:30 +02:00
Florian Geyer
807924c0bc
Refactor EditGroupWidget.
2012-10-20 17:53:33 +02:00
Florian Geyer
1558dd8309
Make group autotype setting editable via GUI.
2012-10-20 17:26:23 +02:00
Florian Geyer
dd82c9f8f9
Search in root group by default.
2012-10-20 16:57:14 +02:00
Felix Geyer
e166722026
Implement database locking.
...
Closes #35
2012-10-12 12:12:00 +02:00
Felix Geyer
ba7b787dd3
Minimize the main window with Command + M on Mac OS.
...
Closes #42
2012-09-01 11:14:05 +02:00
Florian Geyer
de1a94ff61
Add presets for expire date.
...
Closes #44
2012-08-18 17:33:41 +02:00
Florian Geyer
6c695e3fd0
Remember show toolbar option.
...
Closes #43
2012-08-15 19:50:31 +02:00
Felix Geyer
6e206704f9
Make sure the clipboard is cleared before the QApplication instance is destroyed.
...
Also add safety check so we don't try to use the clipboard if it's not available.
2012-08-04 22:06:41 +02:00
Felix Geyer
9c378216f6
Coding style fixes.
2012-08-04 22:06:41 +02:00
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
886187baee
Show a busy cursor while doing master key transformations.
2012-07-27 18:54:35 +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
Florian Geyer
53ce522c08
Disable recent databases menu when in settings widget.
2012-07-23 23:50:17 +02:00
Florian Geyer
9f21b54c4e
Prevent selection of both entries when an entry is cloned via shortcut.
2012-07-23 22:27:02 +02:00
Florian Geyer
8bff332be0
Add shortcuts for entry creation, editing, cloning and deletion.
...
Closes #40
2012-07-23 21:54:24 +02:00
Florian Geyer
0755702fe3
Show last used databases in file menu.
...
Refs #36
2012-07-23 21:16:55 +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
4a357e791e
Set Auto-Type sequence edit to read only when in history mode.
...
Not the other way aroud.
2012-07-23 12:42:05 +02:00
Felix Geyer
9ad4cc8783
Subclass QSortFilterProxyModel to hide the group column in EntryView.
...
QTreeView::hideColumn() does not work well with keyboard search.
2012-07-22 22:02:06 +02:00
Felix Geyer
34ad5d61f6
Allow EntryModel to be used with entries from different databases.
2012-07-21 22:21:49 +02:00
Felix Geyer
39b9260719
Rename methods in EntryModel and EntryView from "search" to "entry list mode".
2012-07-21 22:21:49 +02:00
Felix Geyer
33b4cd8636
Don't add new entries to EntryModel when in search mode.
...
Only allow moving entries from one group to the other.
2012-07-21 22:21:49 +02:00
Felix Geyer
a50d2709e7
Replace EntryAttachments and EntryAttributes operator=() with copyDataFrom().
...
QObjects are not supposed to have assignment operators.
2012-07-20 12:15:19 +02:00
Felix Geyer
c7107de2a7
Improve window select combo box.
...
Create the WindowSelectComboBox subclass that refreshes the window
list whenever the popup is opened.
2012-07-20 12:15:14 +02:00
Felix Geyer
b5c3873cfd
Update auto-type association editing.
...
Correctly set enabled status of all elements.
Fix crash when clicking on the view and the entry has no auto-type associations.
2012-07-20 10:28:18 +02:00
Felix Geyer
8cf6289d9c
Close search when the escape button is pressed.
2012-07-19 19:42:26 +02:00
Felix Geyer
8619682da3
Replace some more Q_WS_* with Q_OS_*.
2012-07-19 19:42:26 +02:00
Felix Geyer
308d3ad84b
Use constructor initialization lists where possible.
2012-07-19 19:42:14 +02:00
Felix Geyer
7fef3bd701
Rename DataPath to FilePath.
2012-07-18 21:22:26 +02:00
Felix Geyer
f767a098d6
Add GUI test for changing the database transform rounds.
...
Refs #34
2012-07-17 10:56:56 +02:00
Felix Geyer
965dba63d7
Use Q_OS_MAC instead of the nonexistent Q_OS_MACOS.
...
Thanks to Richard Johnson for spotting this.
Closes #33
2012-07-16 17:49:12 +02:00
Felix Geyer
676be9da16
Coding style fixes.
2012-07-16 17:47:21 +02:00
Felix Geyer
237d954b65
Add auto-type settings to EditEntryWidget.
2012-07-16 17:40:28 +02:00
Felix Geyer
af166a66b3
Add AutoTypeAssociationsModel class.
2012-07-16 17:39:20 +02:00
Felix Geyer
6d5b31f527
Normalize signal/slot signatures.
2012-07-14 19:34:38 +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
bc207714da
Add initial auto-type implementation.
...
The platform dependent bits are separated in plugins.
A plugin for X11 using Xlib is already done.
2012-07-12 22:33:20 +02:00
Felix Geyer
9de4cbbbd6
Use Q_OS_* defines instead of Q_WS_*.
2012-07-12 13:58:40 +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
2e38b01d80
Add Save and SaveAs gui tests.
2012-07-06 19:21:19 +02:00
Felix Geyer
b579eb954e
Use QSaveFile to save databases.
2012-07-06 18:50:52 +02:00
Felix Geyer
909e01bde5
Make DatabaseOpenWidget a bit prettier.
2012-07-02 18:47:12 +02:00
Felix Geyer
d0fd9af5e6
Hide history row when viewing history items.
2012-07-02 00:16:24 +02:00
Felix Geyer
61984a5748
Keep widget frame when displaying history items.
2012-07-02 00:08:31 +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
d2fc4e8abd
Mark DatabaseOpenWidget ctor es explicit.
2012-06-29 23:17:36 +02:00
Felix Geyer
baa5a74ba0
Convert iconCount() and expiredIconIndex() to constants.
2012-06-29 15:22:43 +02:00
Felix Geyer
e144f7c85a
Mark overriden methods as Q_DECL_OVERRIDE.
2012-06-29 14:37:29 +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
900beae046
Add menu action to toggle toolbar visibility.
...
Closes #31
2012-06-25 00:30:26 +02:00
Florian Geyer
204822b66f
Improve auto save handling.
2012-06-24 19:30:30 +02:00
Felix Geyer
f690522725
Coding style fixes.
2012-06-24 11:32:54 +02:00
Florian Geyer
e578ca9a82
Avoid multiple editFinished signals from group view.
2012-06-14 23:43:06 +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
27794021d9
Simplify enableAutoSaveOnExit function.
2012-06-12 10:11:13 +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
Florian Geyer
871cdc5bb8
Coding style fixes.
2012-06-11 18:52:16 +02:00
Thom Troy
a5f7d0277f
Implement browse key file in ChangeMasterKeyWidget
2012-06-11 18:20:46 +02:00
Thom Troy
5217199d0a
Implement create key file in ChangeMasterKeyWidget
2012-06-11 18:20:46 +02:00
Florian Geyer
01706483fb
Fix history view showing wrong item.
2012-06-10 18:11:00 +02:00
Florian Geyer
21e257e64d
Re-add truncation of history entries.
2012-06-06 19:59:10 +02:00
Franklin Strube
21302782e1
allow any filetype to be opened as a database
2012-06-06 10:46:42 +02:00
Felix Geyer
8e8efc67e6
Use "*" as filter for all files instead of "*.*".
2012-06-06 10:21:17 +02:00
Felix Geyer
d3fcf2e0c4
Move singleton instance code to static member functions.
2012-05-31 14:51:44 +02:00
Florian Geyer
8d6b200dd7
Improve performance of EntryHistoryModel.
2012-05-30 18:07:50 +02:00
Florian Geyer
9f1ab080ee
Make history view sortable.
2012-05-30 16:51:36 +02:00
Florian Geyer
2448976643
Switch back to WelcomeWidget when settings widget is closed and there are no open databases.
2012-05-30 15:20:09 +02:00
Florian Geyer
cf5f56af6f
Rename setting so it refers only to group expanded state changes.
2012-05-30 11:27:09 +02:00
Florian Geyer
5003499700
Add settings option if visual changes mark databases as modified.
2012-05-29 22:10:03 +02:00
Florian Geyer
8aefb1ed82
Indicate read-only state in window title.
2012-05-28 19:01:38 +02:00
Felix Geyer
5201001f3a
Switch back to WelcomeWidget when the last database has been closed.
2012-05-28 18:53:39 +02:00
Felix Geyer
f145cb69de
Switch to DatabaseTabWidget when the current tab changed and the welcome widget is shown.
2012-05-28 18:49:16 +02:00
Felix Geyer
a8ab3a5ca1
Coding style fixes.
2012-05-28 12:12:33 +02:00
Florian Geyer
a22308b13b
Add missing general settings widget.
2012-05-28 10:46:25 +02:00
Florian Geyer
f18db06471
Store remember last opened files setting.
2012-05-28 00:09:54 +02:00
Florian Geyer
6f48983efe
Remember last opened files.
2012-05-27 23:41:33 +02:00
Florian Geyer
20c95737cb
Fix clipboard timeout.
2012-05-27 20:58:44 +02:00
Florian Geyer
6cd65ae9a7
Add edit finished signal to settings widget.
2012-05-27 20:29:15 +02:00
Florian Geyer
f53768fc84
Add welcome widget.
2012-05-27 20:15:06 +02:00
Felix Geyer
d707fb4760
Store clear clipboard settings.
2012-05-27 20:10:41 +02:00
Felix Geyer
4a2ca8c7c8
Add another icon.
2012-05-27 19:54:18 +02:00
Felix Geyer
3f4f9abb36
Support RTL layout in LineEdit.
2012-05-27 19:43:34 +02:00
Florian Geyer
adbce87ccd
Improve update of enabled state of group actions.
2012-05-27 17:06:04 +02:00
Florian Geyer
6fb6e1dc82
Add more icons to actions in context menu.
2012-05-27 16:59:25 +02:00
Florian Geyer
56509eab5f
Fix enabled state of group actions.
2012-05-27 16:53:27 +02:00
Felix Geyer
3e72cd11a3
Change SearchWidget to use a grid layout and remove double margins.
2012-05-27 16:17:10 +02:00
Felix Geyer
089bcba89f
Add more icons.
2012-05-27 15:39:44 +02:00
Florian Geyer
92e4055f85
Add icons to actions in context menu.
2012-05-27 15:20:53 +02:00
Florian Geyer
b5797503a8
Hide search sensitivity checkbox.
2012-05-27 15:07:32 +02:00
Florian Geyer
182258761f
Add some asserts.
2012-05-27 15:07:32 +02:00
Florian Geyer
57aef7f1ec
Option to search in current/root group.
...
Closes #24
2012-05-27 15:07:32 +02:00
Florian Geyer
3fdcbfe002
Cleanup of search widget.
2012-05-27 15:07:32 +02:00
Florian Geyer
a92ddc6d0b
Add case sensitivity option to search.
2012-05-27 15:07:28 +02:00
Felix Geyer
10321adc0b
Fix icons/application/22x22/action folder name.
2012-05-27 12:49:09 +02:00
Felix Geyer
264c69d046
Add some action icons.
2012-05-27 12:46:22 +02:00
Felix Geyer
fb499154bd
Remove some double margins.
2012-05-27 11:24:56 +02:00
Felix Geyer
82d697b657
Add convenience method EditWidget::setHeadline().
2012-05-27 11:12:12 +02:00
Felix Geyer
21a2e9583b
Add (not yet functional) SettingsWidget.
2012-05-27 11:09:52 +02:00
Felix Geyer
9fc62a1d81
Move code to set headline label font to EditWidget.
2012-05-27 10:35:49 +02:00
Florian Geyer
4751f40c2b
Add a function to database widget to access enabled state of actions.
2012-05-26 19:40:02 +02:00
Felix Geyer
267e88001b
Show context menus with popup() instead of exec().
...
exec() blocks the event loop.
2012-05-26 17:01:48 +02:00
Felix Geyer
50391e144d
Coding style fixes.
2012-05-26 16:47:58 +02:00
Felix Geyer
c6253fc025
Make copy constructor and assignment operator of singleton classes private.
2012-05-26 16:45:59 +02:00
Felix Geyer
f43ad8d062
Support copying username and password to the clipboard.
2012-05-26 16:37:57 +02:00
Felix Geyer
bbd039e487
Return gracefully from actions if they shouldn't have been enabled.
2012-05-25 13:43:22 +02:00
Felix Geyer
3834531488
Simplify MainWindow::setMenuActionState().
2012-05-25 13:43:22 +02:00
Felix Geyer
28bfd39bca
Allow selecting multiple rows in entry view.
2012-05-25 13:43:14 +02:00
Felix Geyer
5c0a83eae5
Add context menus for group and entry view.
2012-05-25 13:42:59 +02:00
Felix Geyer
842eb22e1e
Mark some UI strings as untranslatable.
2012-05-25 13:42:55 +02:00
Felix Geyer
76eb935024
Small fixes in Application.
2012-05-21 22:11:26 +02:00
Florian Geyer
b5249d196d
Rename KeePassApp to Application and move it to gui directory.
2012-05-21 22:04:40 +02:00
Florian Geyer
d445bf1ecd
Use a signal to connect to a slot in main window.
...
Coding style fixes.
http://gitorious.org/keepassx/keepassx/merge_requests/10
2012-05-21 22:04:40 +02:00
Felix Geyer
bde397503e
Coding style fixes.
2012-05-21 11:57:29 +02:00
Felix Geyer
5297722ede
Include header cleanup.
2012-05-20 23:08:23 +02:00
Felix Geyer
d8d288fca2
Add Q_OBJECT macro to KeePass1OpenDialog and generate the moc file.
2012-05-20 22:23:36 +02:00
Florian Geyer
9faf550fa1
Use line edit widget for search edit.
2012-05-20 21:09:34 +02:00
Florian Geyer
e5e7e5e406
Add line edit widget with integrated clear button.
2012-05-20 21:09:26 +02:00
Florian Geyer
3be90b02d6
Add option to restore from a history item.
...
Closes #23
2012-05-20 13:07:45 +02:00
Florian Geyer
8904869350
Add button to remove all history entries.
...
Refs #23
2012-05-20 13:07:45 +02:00
Florian Geyer
4797926be6
History items can now be removed.
...
Refs #23
2012-05-20 13:07:45 +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
Felix Geyer
4a1423da88
Don't set values that are already the default.
2012-05-19 15:08:48 +02:00
Felix Geyer
f1ad94b472
DatabaseSettingsWidget improvements.
...
Merge checkboxes with labels.
Set max. history size in MiB instead of bytes.
2012-05-19 15:04:05 +02:00
Felix Geyer
fef931392f
Simplify DatabaseSettingsWidget by passing a Database pointer to it.
2012-05-19 14:52:00 +02:00
Florian Geyer
7425771c78
Add search enabled option to group edit.
2012-05-18 16:19:28 +02:00
Florian Geyer
f032f001f3
Remove frames from edit boxes when showing a history entry.
2012-05-18 15:45:19 +02:00
Florian Geyer
12a8662ae9
Add advanced tab in group edit.
2012-05-18 14:44:15 +02:00
Florian Geyer
d218924b4f
Add expiry option to group edit.
2012-05-18 10:52:05 +02:00
Florian Geyer
810a6e4b39
Display history items.
...
Refs #23
2012-05-17 23:29:37 +02:00
Florian Geyer
d0557677c7
Set initial state of clone entry action to disabled.
2012-05-16 13:56:25 +02:00
Florian Geyer
b61c47d42f
Sort entry view by group/title when switching to search/view respectively.
2012-05-16 10:57:03 +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
Florian Geyer
ea6f2477ef
Add button to clear search field.
2012-05-16 10:18:27 +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
ee1a7b6e62
Enable calendar popup in the expiry time widget.
2012-05-16 10:05:58 +02:00
Florian Geyer
fb5a5041d5
Fix crash when editing an entry in search results.
2012-05-16 01:33:32 +02:00
Felix Geyer
a5eb93255b
Enable alternating row colors in EntryView.
2012-05-15 20:04:20 +02:00
Felix Geyer
ce268260b1
Display expired entries and groups struck out.
2012-05-15 20:02:08 +02:00
Florian Geyer
e5062cb745
Coding style fixes.
2012-05-15 18:51:45 +02:00
Florian Geyer
da713b0993
Use default icon if no icon is selected in entry/group edit.
2012-05-15 18:46:59 +02:00
Florian Geyer
62073fa74d
Don't fail upon deletion of a custom icon if history items contain the icon, but set a default icon.
2012-05-15 18:46:59 +02:00
Florian Geyer
1415829eaf
Use EditWidgetIcons for entry icon selection as well.
...
Closes #22
2012-05-15 18:46:59 +02:00
Florian Geyer
6a1d6e8dd3
Add icon selection for groups.
...
Refs #22
2012-05-15 18:46:59 +02:00
Florian Geyer
1cb64f0c9f
Make icons edit ui a widget.
2012-05-15 18:46:59 +02:00
Florian Geyer
6f4e855b02
Rename EditEntryWidgetIcons to EditWidgetIcons.
2012-05-15 18:46:59 +02:00
Florian Geyer
7e1f7a8729
Coding style improvements.
2012-05-15 18:46:59 +02:00
Felix Geyer
56ac80f475
Assign some keyboard shortcuts.
2012-05-15 18:16:04 +02:00
Felix Geyer
b90807c4d3
Coding style fixes.
2012-05-15 17:48:48 +02:00
Florian Geyer
0c7e1f1a6b
Entry edit widget inherits from base edit widget.
2012-05-15 11:58:09 +02:00
Florian Geyer
eb3a0be809
Group edit widget inherits from base edit widget.
2012-05-15 11:58:09 +02:00
Florian Geyer
f596cc4eec
Add base edit widget.
2012-05-15 11:58:03 +02:00
Felix Geyer
7986fd3e31
Use stylesheets to color the password edit background.
2012-05-14 20:24:00 +02:00
Felix Geyer
a407e0082b
Coding style improvements.
2012-05-14 19:10:42 +02:00
Felix Geyer
924130e0fe
Use Q_FOREACH instead of QListIterator.
2012-05-14 17:56:43 +02:00
Felix Geyer
cd41727583
Get rid of Database pointer in Metadata.
2012-05-14 17:04:05 +02:00
Felix Geyer
10e24e7343
Connect to selectionModel()->currentChanged() instead of reimplementing currentChanged().
2012-05-14 16:50:28 +02:00
Felix Geyer
120be979e9
Add missing break in switch statements.
2012-05-14 16:45:32 +02:00
Felix Geyer
b88a0d8de3
Coding style improvements.
2012-05-14 16:27:59 +02:00
Florian Geyer
89361b3bea
Readability fix in custom icon model.
2012-05-13 21:27:56 +02:00
Florian Geyer
a197cdcce5
Improve selection when adding/removing a custom icon.
2012-05-13 21:19:45 +02:00
Florian Geyer
a57e8f9864
Preserve order of custom icons.
...
Closes #25
2012-05-13 20:50:41 +02:00
Florian Geyer
459cf051bf
Truncate history of all items when history limits are changed.
2012-05-13 19:43:01 +02:00
Florian Geyer
8cd5b1f582
Use current index changed slot instead of selection changed signal in group view to update the entry view.
2012-05-13 19:21:23 +02:00
Florian Geyer
0e19b47755
Disable some menu actions while searching.
2012-05-13 19:21:23 +02:00
Florian Geyer
6b6c109903
Add search.
...
Refs #24
2012-05-13 19:21:10 +02:00
Florian Geyer
f836629dda
Don't reset entry model if the same group is set.
2012-05-13 19:03:41 +02:00
Florian Geyer
078fe3ccf1
Pass database instead of metadata to edit entry widget.
2012-05-13 19:02:07 +02:00
Felix Geyer
0387da48a4
Add transform round benchmark button to DatabaseWidget.
2012-05-12 15:39:55 +02:00
Felix Geyer
05c41c083e
Implement GUI to import KeePass 1 databases.
...
Closes #2
2012-05-12 10:13:00 +02:00
Florian Geyer
4807ec3368
Include groups in custom icon delete check.
...
Refs #22
2012-05-12 02:14:06 +02:00
Florian Geyer
e4b6289c0b
Prevent deletion of custom icon if it is still used by other entries.
...
Refs #22
2012-05-12 00:30:29 +02:00
Florian Geyer
15fa09167b
Toggle enabled status of add/remove custom icon buttons based on radio button selection.
2012-05-12 00:28:05 +02:00
Florian Geyer
1c24b2c5c4
Add gui option for history max items and size to database settings widget.
2012-05-11 20:14:52 +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
Felix Geyer
8faac078fd
Make EntryView sortable.
2012-05-11 12:01:01 +02:00
Florian Geyer
44489bf6f8
Fix creation of history item when a new entry is added.
...
Add corresponding gui test.
2012-05-11 09:16:45 +02:00
Florian Geyer
887e4067ec
Improve selection handling in edit icon widget.
2012-05-11 08:40:02 +02:00
Felix Geyer
ce0007acd2
Improve file dialog filter for adding custom icons.
2012-05-10 18:09:42 +02:00
Felix Geyer
8204f2007a
Icon model fixes.
2012-05-10 13:59:36 +02:00
Florian Geyer
0d2ce4c038
Add icon selection for entries.
...
Refs #22 .
2012-05-10 12:05:29 +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
09248fdb14
Select newly created entries.
2012-05-09 20:03:13 +02:00
Felix Geyer
35cb4343e6
Set proper text for the toggle toolbar action.
2012-05-06 20:17:26 +02:00
Felix Geyer
e81ac20442
Fix GPL version number in the about dialog.
2012-05-02 22:43:24 +02:00
Felix Geyer
674320fe2a
Set proper window title for DatabaseOpenDialog.
2012-05-02 22:43:00 +02:00
Felix Geyer
739f4d97a6
Coding style fixes.
2012-05-02 17:04:03 +02:00
Felix Geyer
f89a2a4045
Move recycle bin checkbox to the left side.
2012-05-02 16:34:06 +02:00
Florian Geyer
b217475dff
Set default name for root group when creating new database.
2012-05-02 16:26:32 +02:00
Felix Geyer
98a2950941
Add KeePassX icon to about dialog.
2012-05-02 16:21:59 +02:00
Felix Geyer
31ab2677f8
Remove status bar in main window.
2012-05-02 15:37:37 +02:00
Felix Geyer
d60e27b4cf
Add about dialog.
2012-05-02 15:37:21 +02:00
Felix Geyer
eb430d78a0
Sync expanded state to the view for new groups.
2012-05-02 15:36:27 +02:00
Felix Geyer
1ea14e1090
Turn attachmentsView into a QListView with wrapping turned on.
2012-05-02 11:15:50 +02:00
Felix Geyer
3552a79f13
Implement saving, adding and removing attachments.
2012-05-02 11:11:28 +02:00
Felix Geyer
f8f52419c8
Turn EntryAttachmentsModel into a QAbstractListModel.
2012-05-02 10:30:30 +02:00
Florian Geyer
93982aa0c9
Clear attributes edit if there are no attributes.
2012-04-30 18:25:09 +02:00
Florian Geyer
4968292a05
Fix missing connect of collapsed signal.
2012-04-28 22:51:22 +02:00
Florian Geyer
272da8c99c
Fix check if file can be opened read only.
2012-04-28 21:43:23 +02:00
Florian Geyer
ab32452920
Show entry title/group name in delete dialog.
2012-04-28 21:43:23 +02:00
Florian Geyer
554029ac31
Select newly created groups and expand parent.
2012-04-28 21:43:23 +02:00
Florian Geyer
84a9e397d2
Fix missing connect of expanded signal.
2012-04-28 21:43:23 +02:00
Felix Geyer
599d60270d
Coding style fixes.
2012-04-28 21:42:23 +02:00
Felix Geyer
3649c7753c
Fix the vertial size policy of the edit entry widget.
2012-04-28 21:30:11 +02:00
Felix Geyer
1d39368f8d
Support editing attribute values in a separate text edit.
2012-04-28 19:11:15 +02:00
Felix Geyer
3ab81ea776
Fix bug that EntryAttributesModel isn't updated on reset.
2012-04-28 16:50:51 +02:00
Felix Geyer
7f67019f63
Turn EntryAttributesModel into a QAbstractListModel.
2012-04-28 16:50:17 +02:00
Felix Geyer
6140a688d7
Make EntryAttributesModel editable.
2012-04-27 12:35:13 +02:00
Felix Geyer
74ac6c27d7
Support moving entries with drag and drop.
2012-04-26 16:35:13 +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
Florian Geyer
71b15c589c
Implement default username.
2012-04-25 00:30:23 +02:00
Florian Geyer
7a3a783eeb
Make dialogy widget work with arbitrary buttons in button boxes.
2012-04-25 00:30:23 +02:00
Florian Geyer
5ce9b5da78
Reset focus when opening database settings, edit entry and edit group widget.
2012-04-25 00:30:23 +02:00
Florian Geyer
f7bdeefbe3
Edit widgets inherit from DialogyWidget.
...
Closes #17
2012-04-25 00:30:23 +02:00
Florian Geyer
279793365a
Add dialogy widget which implements default button behaviour.
2012-04-25 00:30:23 +02:00
Felix Geyer
d3fbb291bd
Support moving groups with drag and drop.
2012-04-25 00:22:55 +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
Felix Geyer
3aac16f03e
Make DatabaseWidget ignore the size hint of non-active widgets.
2012-04-24 11:22:55 +02:00
Felix Geyer
e026f3d1eb
Create a history item when changing entries.
...
Closes #15
2012-04-23 21:20:05 +02:00
Felix Geyer
3df2ad35cb
Constification and some style fixes.
2012-04-23 21:09:01 +02:00
Florian Geyer
b3ddfca2bd
Focus the password line edit on switch to change master key widget.
2012-04-23 17:14:22 +02:00
Felix Geyer
bddc29101c
Introduce Group::aboutToMove() and moved() signals.
...
Emit them instead of remove/add when groups are moved within
a database.
2012-04-23 16:57:08 +02:00
Felix Geyer
f9abf2171b
Focus the password line edit by default.
2012-04-22 20:57:42 +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
Felix Geyer
19a5aad90a
Declare the TypeInfo for some classes/structs.
...
Qt's container classes benefit from this information.
2012-04-21 18:39:09 +02:00
Florian Geyer
4e2407b3ba
Fix groupChanged signal not emitted in all cases.
2012-04-21 18:26:18 +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
e06937287c
Make toggle password button in ChangeMasterKey widget work.
2012-04-21 17:28:44 +02:00
Florian Geyer
26c4dedd01
Add more options to database settings widget.
2012-04-21 17:28:44 +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
e8ac70120b
Delete entries for good if already in recycle bin
2012-04-19 01:02:23 +02:00
Felix Geyer
246bc0115e
More coding style fixes.
2012-04-19 00:25:57 +02:00
Florian Geyer
8735a4846c
Move deleted entries to recycle bin if enabled.
2012-04-18 23:09:00 +02:00
Florian Geyer
5661f29f7d
Add ability to delete entries via gui.
2012-04-18 23:06:21 +02:00
Felix Geyer
37291d278e
Fix some more lines that are too long.
2012-04-18 23:05:31 +02:00
Felix Geyer
2e011d5362
Improve code style.
2012-04-18 22:08:22 +02:00
Florian Geyer
89f138a868
Remove unnecessary currentIndexChanged signal in database widget.
2012-04-18 17:03:58 +02:00
Florian Geyer
3b603f685a
Display expiry time in local time, but save in utc.
2012-04-18 17:03:58 +02:00
Florian Geyer
48f8b1a116
Do not partly update an entry when different passwords are supplied.
2012-04-18 17:03:58 +02:00
Florian Geyer
9dc362c97e
Add tabstop order for EditEntryWidgetMain.
2012-04-18 17:03:58 +02:00
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
Felix Geyer
c7ed5f8421
Implement opening/closing databases.
2011-11-13 14:55:20 +01:00
Felix Geyer
d4f02a78a7
Coding style fixes.
2011-07-08 14:51:14 +02:00
Felix Geyer
8fc2b9328e
Improve EditEntryWidget.
2010-10-06 22:54:07 +02:00
Felix Geyer
0c91be8eac
Add initial UI for entry editing.
2010-10-06 19:40:50 +02:00
Felix Geyer
eb6eec616c
Add username and URL columns.
2010-09-21 23:01:56 +02:00
Felix Geyer
567dd92d4c
Add built-in icons.
2010-09-19 21:22:24 +02:00
Felix Geyer
24158bb032
Add signal EntryView::entryActivated().
2010-09-19 19:45:14 +02:00
Felix Geyer
1ee0c804be
Add MainWindow.
2010-09-19 16:59:32 +02:00
Felix Geyer
1678351d11
Enable and fix more warnings.
2010-09-18 20:31:14 +02:00
Felix Geyer
5efccf32c9
Set horizontal stretch factors.
2010-08-25 10:46:26 +02:00
Felix Geyer
19063d9894
Disable icons in the models for now.
2010-08-24 23:17:09 +02:00
Felix Geyer
ef52e98ee6
Coding style++
2010-08-24 23:12:01 +02:00
Felix Geyer
194a081bd7
Use a splitter between Group and Entry View.
2010-08-24 23:06:35 +02:00
Felix Geyer
621b367f45
Add EntryView and DatabaseWidget.
2010-08-24 22:26:52 +02:00
Felix Geyer
e96c3bb011
Un-constify Entry* and Group* in various related signals and models/views.
2010-08-23 21:30:20 +02:00
Felix Geyer
d2e677c7f4
Prefix object attribute with "m_".
2010-08-23 20:57:38 +02:00
Felix Geyer
97ca81f316
Add GroupView.
2010-08-22 16:02:44 +02:00
Felix Geyer
8d623f37ca
Add EntryModel.
2010-08-18 16:22:48 +02:00
Felix Geyer
623b325fa1
Implement support for group tree changes in GroupModel.
2010-08-18 10:27:40 +02:00
Felix Geyer
e28ed4891b
Add signal for changes in Group.
2010-08-15 15:03:47 +02:00
Felix Geyer
072a8ccf1b
Add GroupModel and corresponding unit test.
2010-08-15 12:31:48 +02:00