Commit Graph

25 Commits

Author SHA1 Message Date
Martchus 6bce4c40f2 Improve configuration and code of capslock detection
* Define `X_AVAILABLE` if that's the case so the X11-specific code can
  actually ever be effective
* Make the default for `CAPSLOCK_DETECTION` simply depending on whether it
  can be configured instead of making it platform dependent
* Simplify code and avoid warnings in X11-specific code
2023-09-11 21:27:41 +02:00
Martchus b340ff819c Retranslate certain dialogs/widgets dynamically
This does not cover all details yet.
2023-07-03 00:07:01 +02:00
Martchus 41a1ede6fc Improve handling style changes in custom dialog style
* Avoid using global palette when computing stylesheet
* Re-compute stylesheet on palette changes
2023-03-25 18:49:43 +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 7765e6f062 Fix typos found via `codespell --skip .git -w` 2021-07-03 19:14:13 +02:00
Martchus b3e7c390d9 Have everything in one top-level namespace 2019-06-10 21:57:46 +02:00
Martchus 8dc2956edf Use override 2018-10-10 21:12:58 +02:00
Martchus 571c2f8a26 Fix missing #includes 2018-06-05 22:49:17 +02:00
Martchus afe3373896 Apply tidy after updating to clang-format 5.0.0
The behavior of clang-format slightly changed in Clang 5.0.0:
http://releases.llvm.org/5.0.0/tools/clang/docs/ReleaseNotes.html#clang-format
2017-09-17 21:45:49 +02:00
Martchus 0e4f410e76 Fix formatting in description of isCapslockPressed() 2017-09-09 21:37:23 +02:00
Martchus 0599eb354d Apply clang-format 2017-05-04 22:46:37 +02:00
Martchus 2dcbc02f4b Apply clang-format 2017-05-01 03:16:25 +02:00
Martchus 61a544d42f Make definitions for gui support project specific 2017-04-27 22:03:37 +02:00
Martchus 31ac09de87 Add prefix to PLATFORM_SPECIFIC_CAPSLOCK_DETECTION macro 2016-12-11 17:13:19 +01:00
Martchus 7f9afcda73 Fix decoration for static builds
- Also fix finding static web view and JavaScript provider
2016-08-29 15:41:21 +02:00
Martchus 20e663cbcc Make include guards more unique and consistent 2016-07-04 23:26:48 +02:00
Martchus 4cca128180 link against X11 using find_package 2016-03-28 21:57:01 +02:00
Martchus 372154ce2a added simple CMake project file 2015-12-05 22:50:38 +01:00
Martchus f44930d580 unified dialog style sheet, removed hard coded colors 2015-09-26 20:28:30 +02:00
Martchus ce39061808 remove hard coded fonts 2015-09-22 01:50:04 +02:00
Martchus 721e79d027 fixed includes 2015-09-06 20:19:21 +02:00
Martchus b96c01dc23 fixed include path 2015-08-29 21:00:50 +02:00
Martchus 4dbcbb3834 fixed wrong includes in UI files 2015-08-27 00:59:45 +02:00
Martchus 89f3822f09 replaced signals and slots with Q_SIGNALS and Q_SLOTS to avoid conflicts
with boost signals
2015-08-10 23:27:26 +02:00
Martchus 26748b4923 First commit 2015-04-22 18:57:44 +02:00