Martchus
6ffa54088a
Ensure desktop file name is set when initializing GUIs
2024-04-08 12:39:46 +02:00
Martchus
0f4c30c14f
Format Android-specific files (also when not building for Android)
2024-03-31 23:04:39 +02:00
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
ba9a6e26de
Clean code for initializing Qt Quick GUI
2024-03-31 22:46:01 +02:00
Martchus
9ebffe6b16
Exit application when the main QML file cannot be loaded
2024-03-31 22:43:48 +02:00
Martchus
a098b40dab
Apply clang-format
2024-03-31 13:49:44 +02:00
Martchus
dbc2e9a4e2
Select correct icon theme for Qt Quick GUI depending on darkmode setting
2024-03-31 13:49:34 +02:00
Martchus
f960aa80a1
Remove Android-specific debugging code for Qt Quick app
2024-03-31 13:44:48 +02:00
Martchus
5706086456
Streamline setup of Qt Quick GUI with Qt Widgets GUI
2024-03-26 22:54:10 +01: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
4bf6a91d72
Port Qt Quick GUI for Android to Qt 6
2024-03-17 00:34:00 +01:00
Martchus
a829ca0e65
Handle errors when restoring/saving settings
2023-02-18 19:19:59 +01:00
Martchus
25ef1dbe91
Allow adding additional QML import paths via environment variable
...
This is useful to use a custom build of kirigami.
2023-01-31 16:02:00 +01:00
Martchus
eb1b73f4be
Allow portable configuration via `QtUtilities::getSettings()`
...
See https://github.com/Martchus/tageditor/issues/88
2022-08-20 16:29:56 +02: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
Martchus
c12f63dac1
Use Q_SIGNALS instead of signals
2020-03-09 18:46:47 +01:00
Martchus
53d3e71d36
Don't use lower-case Qt macros
2020-03-08 14:09:56 +01:00
Martchus
7ac57bb5a1
Use aboutToQuit() signal for cleanup-code
...
As recommended by the Qt documentation
2019-09-14 19:38:06 +02:00
Marius Kittler
0e2af9ff2e
Add "Save as" option in Quick GUI
2019-07-06 17:19:11 +02:00
Martchus
dd77f56a40
Adapt Android specific code to c++utilities v5
2019-07-03 00:38:29 +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
be2da373b8
Add debug printing for Android
...
Under Android we can not just use Gammaray so let's print
resources and QIcon settings for debug builds.
2019-02-05 00:30:34 +01:00
Martchus
065bded841
Ensure Kirigami2 does not mess with our settings
2019-02-05 00:29:21 +01: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
e59662acc9
Clean initialization of of Qt Quick GUI
2018-12-15 23:10:53 +01:00
Martchus
57146af472
Fix declaration of applyThemingForAndroid()
2018-12-08 19:27:04 +01:00
Martchus
232936a15d
Reformat android.h/android.cpp
2018-12-08 19:19:00 +01:00
Martchus
b4750c38fe
Quick GUI: Show error if root element is missing
2018-12-08 19:18:35 +01:00
Martchus
c090141ec3
Quick GUI: Change theming to use green colors
2018-12-08 19:18:12 +01:00
Marius Kittler
5b9b84866d
Add about dialog to Qt Quick GUI
2018-12-03 18:11:42 +01:00
Martchus
2d249b210a
Quick GUI: Improve a few details
2018-12-03 00:30:55 +01:00
Martchus
f4cc381cf4
Quick GUI: Fix password visibility
2018-12-03 00:30:16 +01:00
Martchus
78a868fc9e
Fix enabling undo support without Qt Widgets GUI
2018-12-03 00:29:54 +01:00
Martchus
1582048a22
Fix building without Qt Widgets GUI support
2018-12-01 02:22:26 +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