Commit Graph

40 Commits

Author SHA1 Message Date
Martchus 6ffa54088a Ensure desktop file name is set when initializing GUIs 2024-04-08 12:39:46 +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 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 7ac57bb5a1 Use aboutToQuit() signal for cleanup-code
As recommended by the Qt documentation
2019-09-14 19:38:06 +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 e59662acc9 Clean initialization of of Qt Quick GUI 2018-12-15 23:10:53 +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 829c7e63dc Improve theming under Android 2018-09-09 00:57:02 +02:00
Martchus 6d786d0b77 Show native file dialog under Android 2018-09-07 00:55:10 +02:00
Martchus c0c2ee997f Quick GUI: Tweak styling for Android 2018-09-02 19:07:02 +02:00
Martchus 0ecef255c9 Improve icons for Qt Quick / Android 2018-08-31 22:29:01 +02:00
Martchus 932dc9cb59 Add "Recent files ..." to Qt Quick GUI 2018-06-16 15:09:12 +02:00
Martchus a358346150 Rely on Qt utilities for configuring QQC2 style 2018-06-16 13:23:13 +02:00
Martchus e86d72dab9 Add misc improvements to Qt Quick GUI 2018-06-14 23:22:23 +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
Martchus 65c8797079 Improve startup code for WIP Qt Quick GUI 2018-04-22 20:38:29 +02:00
Martchus e1386c2a79 Reformat using clang-tidy 5.0 2017-09-29 17:20:03 +02:00
Martchus f5bdf4c438 Apply clang-format 2017-05-01 03:26:04 +02:00
Martchus 0e8dbd6f66 Use ENABLE_QT_RESOURCES_OF_STATIC_DEPENDENCIES 2017-02-11 02:36:10 +01:00
Martchus 4fdd328e9d overall cleanup 2016-04-25 22:06:24 +02:00
Martchus 07fd782a3d reduce code duplication in build system
- get rid of qmake project file
- provide CMake modules for common tasks
- provide templates for *.desktop files
2016-04-16 00:51:52 +02:00
Martchus f2f2540bb9 improved project files 2015-12-08 08:37:18 +01:00
Martchus 515cb9fe84 added simple CMake project file 2015-12-05 22:52:00 +01:00
Martchus 90d37aeaa9 fixed includes 2015-09-06 20:33:09 +02:00
Martchus 8f2bd78b47 updated application startup 2015-09-01 20:18:13 +02:00
Martchus bda20da10c First commit 2015-04-22 19:30:09 +02:00