Commit Graph

39 Commits

Author SHA1 Message Date
Martchus 21a16e0be0 Add approach for handling darkmode changes dynamically
This seems to work for plain QCC2 parts but unfortunately doesn't help with
Kirigami (see added not). Hence this is disabled for now.
2024-03-31 22:53:32 +02:00
Martchus 6972256727 Improve Qt Quick GUI after porting to Qt 6
* Avoid use of deprecated QML features
* Fix problems when moving items by making the delegates own items
* Improve code in models, especially functions for moving rows
* Fix sizing of dialogs
* Replace code relying on `bannerClicked` event which has been removed in
  KF6
* Use the native file dialog if supported (and otherwise not); this should
  give the desired behavior under each platform out of the box
* Update versioning requirements in README
2024-03-24 22:26:44 +01:00
Martchus a829ca0e65 Handle errors when restoring/saving settings 2023-02-18 19:19:59 +01:00
Martchus eb6fc17f6b Adapt C++ code of Qt Quick GUI to Qt 6 2022-01-29 19:45:14 +01:00
Martchus 3a01f2de31 Fix typos found via `codespell --skip .git -w` 2021-07-03 19:46:22 +02:00
Martchus a290294c25 Show password prompt in any error case in Qt Quick GUI
It might happen that an empty/incorrect password does not lead to
a crypto error. Then the data is nevertheless wrongly decrypted and
trying again with the correct password might help.

Not using PasswordFile::isEncryptionUsed() here like in the Qt Widgets
GUI for better/easier integration with Android's storage access
framework.
2020-03-29 00:55:57 +01:00
Martchus b98483ca34 Avoid using previous password when creating new file in Qt Quick GUI 2020-03-28 23:27:47 +01:00
Martchus 1c6230dbeb Fix showing IO error in Qt Quick GUI
The order of the catch handlers must be adjusted because
std::ios_base::failure is derived from std::runtime_error.
2020-03-28 23:16:12 +01:00
Marius Kittler 0e2af9ff2e Add "Save as" option in Quick GUI 2019-07-06 17:19:11 +02:00
Martchus d606b8a6cb Adapt to changes in c++utilities 2019-06-12 21:02:57 +02:00
Martchus f16dbc06d1 Adapt to changes in c++utilities 2019-06-10 22:44:59 +02:00
Marius Kittler f863fb474c Adapt to c++utilities v5 2019-05-04 22:25:56 +02:00
Martchus 5b9e63785a Always show debug output when opening native fd 2019-01-12 02:51:13 +01:00
Martchus 3b833e474b Remove const_cast 2018-12-23 19:02:40 +01:00
Martchus 3f6b488cf3 Check for encryption via save options in Quick GUI
So the special file handling used under Android is not
messed.
2018-12-22 02:24:48 +01:00
Martchus 75075725a6 Add file details 2018-12-21 01:14:41 +01:00
Martchus d2b096bfda Adapt for passwordfile 4.0.0 2018-12-19 00:15:39 +01:00
Martchus b4750c38fe Quick GUI: Show error if root element is missing 2018-12-08 19:18:35 +01:00
Martchus f4cc381cf4 Quick GUI: Fix password visibility 2018-12-03 00:30:16 +01:00
Martchus 67025418ff Fix #ifdef for DEBUG_BUILD 2018-12-01 02:21:16 +01:00
Marius Kittler 776dc06431 Quick GUI: Support undo/redo
so far this requires to compile with widgets GUI support
2018-11-22 22:05:49 +01:00
Marius Kittler c0703ed471 Quick GUI: Make search case insensitive 2018-11-20 18:07:11 +01:00
Marius Kittler d904a3c1bc Quick GUI: Allow to retry opening/saving 2018-11-20 18:06:52 +01:00
Martchus 9c370b375d Quick GUI: Move filter to its own dialog
Because under Android the usability of the text box
inside the drawer is not very good.
2018-11-20 00:45:05 +01:00
Martchus fa050a422a Quick GUI: Allow filtering entries
So far all operations on entries are disabled when
in filtered state and switching between normal and
filtered view invalidates the stack.
2018-09-16 21:48:46 +02:00
Martchus c3775775d1 Quick GUI: Allow to clear recent files 2018-09-16 19:16:12 +02:00
Martchus 316f1ee2a7 Quick GUI: Hide entries and their children when deleted 2018-09-10 22:46:17 +02:00
Martchus a2b579623d Quick GUI: Clear password also in file but not when closing 2018-09-10 20:04:14 +02:00
Martchus 1d3f81ab70 Quick GUI: Clear previous/wrong password 2018-09-10 19:56:35 +02:00
Martchus 65d41276e8 Improve debug messages 2018-09-08 19:59:15 +02:00
Martchus 6d786d0b77 Show native file dialog under Android 2018-09-07 00:55:10 +02:00
Martchus fa8e6a76db Allow to copy in Qt Quick GUI 2018-06-16 15:37:55 +02:00
Martchus fdd8e28474 Simplify initialization of Qt Quick GUI 2018-06-16 15:15:25 +02:00
Martchus 932dc9cb59 Add "Recent files ..." to Qt Quick GUI 2018-06-16 15:09:12 +02:00
Martchus e86d72dab9 Add misc improvements to Qt Quick GUI 2018-06-14 23:22:23 +02:00
Martchus cc78072ffc Improve cut and paste in Qt Quick GUI 2018-06-12 22:20:43 +02:00
Martchus 71652bcab3 Improve some details in Qt Quick GUI 2018-06-12 22:02:37 +02:00
Martchus 3fd7a474ae Allow to cut & paste entries in Qt Quick GUI 2018-06-11 23:21:15 +02:00
Marius Kittler bea4533133 Continue development of Qt Quick GUI
* Add view (written in QML, based on Qt Quick Controls 2
  and Kirigami 2)
* Add controller (written in C++)
* Use existing models (written in C++)
2018-05-20 01:59:56 +02:00