Commit Graph

544 Commits

Author SHA1 Message Date
Martchus 317bd33b08 Bump patch version 2022-11-04 16:49:34 +01:00
Martchus 1b5fc13475 Add fallback for `qEnvironmentVariable()` to support older Qt versions 2022-10-29 21:34:47 +02:00
Martchus b2e6e763fb Bump minor version 2022-10-29 21:31:15 +02:00
Martchus 777cbb6fc0 Apply clang-format on tests 2022-10-16 15:06:41 +02:00
Martchus 8df0a87970 Bump patch version 2022-10-16 15:06:30 +02:00
Martchus f4c5df7cac Update translations 2022-10-02 20:31:47 +02:00
Martchus ba16862d48 Allow selecting a settings page programmatically 2022-10-02 20:31:35 +02:00
Martchus f81672885c Make `apply()` and `reset()` slots of `SettingsDialog` public 2022-10-01 21:38:40 +02:00
Martchus 66b1a59e85 Bump minor version 2022-10-01 21:37:36 +02:00
Martchus ec03bd8eeb Update minimum required Qt version
Builds with Qt 5.6 are no longer conducted so only the latest
Qt 5 or 6 version is tested anymore.
2022-09-20 21:24:18 +02:00
Martchus abaea1309a Remove unused icons 2022-09-10 16:53:30 +02:00
Martchus 3a4ccfa75d Bump patch version 2022-09-10 16:42:37 +02:00
Martchus c9fcf52e40 Add comments for the tweaks in `setupCommonQtApplicationAttributes()` 2022-09-05 23:25:04 +02:00
Martchus b6701ef837 Enable dark window frame on Windows if configured color palette is dark 2022-09-05 23:22:13 +02:00
Martchus d59b89c067 Update translations 2022-08-27 15:07:08 +02:00
Martchus c91d73afc3 Allow adding additional widgets to the heading of the settings dialog 2022-08-27 15:02:16 +02:00
Martchus 49854354d6 Update translations 2022-08-23 18:43:40 +02:00
Martchus 58690920e4 Allow setting/getting corner widget in tab-widget of settings dialog 2022-08-23 18:43:28 +02:00
Martchus e3e2d24aeb Add `getSettings()` to streamline settings locations in my apps
* Keep handling for old location of settings file
* Add handling to allow portable settings (see
  https://github.com/Martchus/tageditor/issues/88)
2022-08-20 16:16:40 +02:00
Martchus d08ce3781d Bump minor version 2022-08-20 16:15:03 +02:00
Martchus 885323e367 Add OptionPageWidget with `paletteChanged()` signal 2022-07-16 18:44:47 +02:00
Martchus 0f7a4eb059 Add function to determine whether palette is dark 2022-07-16 18:44:47 +02:00
Martchus 6e5a9419be Bump minor version 2022-07-16 18:44:47 +02:00
Martchus b5af7fed34 Update translations 2022-06-09 21:08:38 +02:00
Martchus 29b2267711 Fix invalid use of freed object in settings dialog test 2022-06-09 21:01:58 +02:00
Martchus 9dd375abe9 Avoid creating 2nd instance of Qt-`OptionCategory` when invoking `showCategory()` 2022-06-09 20:24:12 +02:00
Martchus d4e35c28a3 Fix typo 2022-06-09 20:19:27 +02:00
Martchus 13d2049524 Fix invalid test; `SettingsDialog` takes ownership of `OptionCategory` 2022-06-09 20:10:11 +02:00
Martchus 38b748e04b Increment patch version 2022-06-09 20:08:42 +02:00
Martchus 752c8cdc71 Link builds using static Qt also against Wayland shell integration plugins
These are required; the Wayland integration plugin alone is not sufficient.
2022-05-02 20:15:07 +02:00
Martchus b709ab887f Default-initialize FONTCONFIG_PATH if not set
Fixes font loading in some environments
2022-05-02 00:55:07 +02:00
Martchus 6564932b64 Fix applying selected custom font 2022-05-01 21:57:59 +02:00
Martchus 8a4b865c28 Improve linking against static Qt plugins
* Detect a static Qt build and link against Qt plugins automatically in
  that case (without the necassity to set `STATIC_LINKAGE`)
* Add offscreen support on UNIX platforms as it is useful for testing on
  headless systems
* Add wayland support if available
* Populate `QT_TEST_LIBRARIES` in case we're not building an app because
  the plugins are still required when building tests
2022-04-28 21:42:33 +02:00
Martchus 605dca019c Add stalebot config 2022-04-12 01:03:31 +02:00
Martchus 6e57980c2b Add copyright notice 2022-04-05 20:10:18 +02:00
Martchus cbac69cc2d Clarify that license is "GPL-2-or-later" 2022-03-15 21:31:25 +01:00
Martchus 6640d16557 Add properties to PaletteEditor and ColorButton 2022-03-08 00:37:47 +01:00
Martchus de3379d9b7 Ensure the "Confirm" button is always the default one to confirming via enter works
Not sure why this ceased to work in some environments but this change fixes
it. It is still possible to abort via ESC.
2022-01-26 01:00:47 +01:00
Martchus 1e1fe4ae07 Update translations 2021-12-07 13:39:00 +01:00
Martchus b3896eb65e Check for relative paths also under install prefix
In the "normal" case none of the other variables are set
and thus relative paths (e.g. for the plugin directory)
cannot be resolved. This should still work when
CMAKE_FIND_ROOT_PATH is set beause we still check within
the other locations.
2021-11-04 23:22:26 +01:00
Martchus 1c0d6f166c Infer type of midRef's 3rd argument to be equivalent to the 2nd arg type 2021-11-04 00:15:24 +01:00
Martchus d771646af3 Set `Qt::AA_EnableHighDpiScaling` only before QGuiApplication is constructed
Otherwise it is too late anyways and Qt might print a warning.
2021-11-04 00:10:13 +01:00
Martchus a2482ef37c Avoid several warnings when building against Qt 6 2021-11-04 00:06:15 +01:00
Martchus 2fb056e0b5 Add file for zh_CN translation to project file 2021-10-07 18:27:43 +02:00
Martchus 660a5cec69 Bump patch version 2021-10-07 18:23:27 +02:00
Martchus 3c17897a98
Merge pull request #6 from coxde/zh_CN
Add zh_CN translation
2021-10-06 20:15:32 +02:00
Your Name 808e0dd399 Add zh_CN translation 2021-10-07 01:47:20 +08:00
Martchus 684e94e162 Apply cmake-format 2021-10-03 23:06:52 +02:00
Martchus da3d406ed0
Merge pull request #5 from hrittich/upstream-patches
Allow to find packages in namespaces
2021-10-02 22:22:45 +02:00
Hannah Rittich 73a5439381 Allow to find packages in namespaces 2021-10-02 21:51:00 +02:00