Commit Graph

104 Commits

Author SHA1 Message Date
Martchus 836801fb39 Allow saving/loading the color palette config to/from an external file 2021-09-17 00:22:32 +02:00
Martchus 7c7704e4e5 Add `#include <QtWebEngineWidgetsVersion>` to `webviewincludes.h.in`
Used in Syncthing Tray to distinguish between Qt 5 and Qt 6.
2021-08-07 18:30:01 +02:00
Martchus 7765e6f062 Fix typos found via `codespell --skip .git -w` 2021-07-03 19:14:13 +02:00
Martchus 4e5068900f Do not use a tool window for about dialog
* With the Lightly style (and its default color palette) the about dialog
  background is otherwise transparent
* The frame doesn't look that nice anymore under Windows 10 anyways
2021-04-13 21:52:40 +02:00
Martchus abb9f5790a Add qstringFromStdStringView() 2021-03-20 21:02:37 +01:00
Martchus 4cadb04b44 Apply CMake format 2021-03-20 21:01:24 +01:00
Martchus 969997b462 Increase version 6.3.2 -> 6.3.3 2020-12-10 19:15:24 +01:00
Martchus 62df4284da Update patch version 2020-11-07 21:38:18 +01:00
Martchus 75b992bfd1 Don't install translations if built-in anyways 2020-10-30 22:45:56 +01:00
Martchus cb3a4960e7 Support Qt 6 (commit 174154b) 2020-09-04 00:44:48 +02:00
Martchus 4757b0a8b7 Avoid using qEnvironmentVariable() for compat with Qt < 5.10 2020-07-29 11:49:02 +02:00
Martchus 56cf474231 Enable High-DPI scaling by default in all my Qt applications 2020-07-12 21:15:48 +02:00
Martchus 53e55d7054 Add tests for D-Bus notifications 2020-06-23 02:00:00 +02:00
Martchus 2598c0f5ae Add basic test for settings dialog 2020-06-16 00:35:15 +02:00
Martchus 5a7eaf8d1b Add tests for ButtonOverlay widgets 2020-06-16 00:17:24 +02:00
Martchus 5974690006 Use QLineEdit's functions to implement ButtonOverlay functions if possible 2020-06-09 22:03:26 +02:00
Martchus 7db2fd02fc Improve button overlay so buttons will not be shown over e.g. spin box buttons
* Unify/streamline code
* Use Qt::SC_ComboBoxEditField/Qt::SC_SpinBoxEditField to determine the edit
  area for better compatibility accorss various styles
2020-06-04 19:13:14 +02:00
Martchus 4e974d2258 Prevent restoring invalid/removed IDs of ChecklistModel
The restore function should not add new IDs to the model.
2020-04-24 23:06:56 +02:00
Martchus 031378e1c5 Fix remaining install dirs to use GNUInstallDirs consistently 2020-02-13 11:43:29 +01:00
Martchus e55ae3686b Require CMake 3.3.0 in all modules 2020-01-10 18:01:27 +01:00
Martchus 67165b69d7 Don't use toSet() method which was deprecated in Qt 5.14.0 2019-12-15 19:29:03 +01:00
Martchus b8d00d27c9 Apply cmake-format v0.6.0 2019-11-30 17:58:56 +01:00
Martchus 1155ab0036 Use QFileInfo to check for absolute path in openLocalFileOrDir()
Better not rely on a correct implmentation of std::filesystem in
libstdc++ on Windows when using Qt anyways.
2019-10-09 17:33:38 +02:00
Martchus df03b97ced Fix openLocalFileOrDir() on Windows
Not tested yet
2019-10-09 12:54:35 +02:00
Martchus 02747f4808 Fix old namespaces being mentioned in the documentation 2019-09-04 18:47:36 +02:00
Chih-Hsuan Yen f24c07b8a5
Fix building on Mac OS X/macOS
Without project(), compiler flags like -std=gnu++17 are not applied
for non-Apple clang on Mac OS X/macOS.
2019-07-20 22:32:35 +08:00
Martchus d3c9653b9e Add EXCLUDED_FILES variable
When adding source files to the _FILES variables conditionally
those are so far not being formatted or translated. Adding
these files at least to the EXCLUDED_FILES will fix this.

Replaces DOC_ONLY_FILES which served the same purpose but was
limited to documentation.
2019-07-13 14:01:52 +02:00
Martchus ec3d68a635 Apply cmake-format 0.5.1 2019-06-01 12:15:48 +02:00
Martchus d8333f3793 Apply cmake-format 2019-05-04 21:01:06 +02:00
Martchus 850101dce6 Support installing multiple configurations within the same prefix 2019-05-03 01:03:41 +02:00
Martchus c707591128 Don't mix building static and shared libraries 2019-04-21 16:44:54 +02:00
Martchus 3502be2826 Adapt to c++utilities v5 2019-04-20 02:43:26 +02:00
Martchus da00c5ada7 about dialog: Allow rich text with links as creator 2019-02-17 23:37:46 +01:00
Martchus 71cca64360 Bump version 2019-02-17 17:04:33 +01:00
Martchus 190e58fe67 Apply cmake-format 2019-02-06 17:32:10 +01:00
Martchus 530d61fc41 APK: Add check for SDK/NDK path 2018-12-02 21:37:57 +01:00
Martchus 3369ff8f6c Improve configuration for platform specific capslock detection
* Allow to turn the feature completely off
* Don't use the define unnecessarily in the entire project
2018-10-17 17:37:37 +02:00
Marius Kittler 36f3c71a66 Make use of ChecklistModel more convenient 2018-10-10 17:47:57 +02:00
Martchus 881ed0a2cb Add module to create Android APK using androiddeployqt 2018-09-16 00:38:46 +02:00
Marius Kittler beb0ddcb77 Don't enable D-Bus notification under Android by default 2018-07-13 14:36:00 +02:00
Marius Kittler 7472ddc5af Improve coding style 2018-07-11 13:16:57 +02:00
Martchus b7f2ce0f10 Allow to overriding Qt Quick Controls 2 style
Make it an extra function in the header so the utilities
don't depend on the Qt Quick Controls 2 library (just for
one function call).
2018-06-16 13:10:19 +02:00
Martchus aa300b237f Use const in generateWindowTitle() 2018-05-23 23:20:01 +02:00
Martchus 6727f97ac6 Allow querying capabilities of DBus notification daemon 2018-03-31 23:35:39 +02:00
Martchus f76d4044aa Support setting image and image path of DBus notifications 2018-03-18 03:07:03 +01:00
Martchus 0409b77831 Split Qt-specific config from other config
So adding Qt-specific config does not require a change
in c++utilities anymore.
2018-03-07 18:22:53 +01:00
Martchus e6e968e4ea Fix locating Qt's translations under openSUSE 2018-02-10 20:06:45 +01:00
Martchus 29a2f993a3 Configure static Qt Widget style plugins
* Fix missing "Vista style" in static, Qt 5.10 based
  Windows build
* Required since the platform styles have been
  "pluginized" in Qt 5.10
* See 4f3249f32d
2017-12-15 20:22:29 +01:00
Martchus bf1519d357 Improve handling static Qt plugins
* Only link targets using static Qt Gui/Widgets/Quick
  against static plugins since currently only GUI-related
  plugins are relevant
* Don't require to link explicitely against the related
  module (eg. Qt Svg for the Svg icon engine) because the
  imported target of the plugin should pull all required
  dependencies
* Add option for linking against static Qt image format
  plugins
* Link GUI applications using static Qt Gui/Widgets/Quick
  against the static X11 platform integration plugin if it
  is available
2017-09-03 18:03:41 +02:00
Martchus 007c338388 Increase version (5.7.1 -> 5.7.2) 2017-08-30 23:00:57 +02:00