Commit Graph

23 Commits

Author SHA1 Message Date
Martchus 92c643f5ff Apply clang-format 2023-04-02 18:29:01 +02:00
Martchus 121d6a10db Fix return type of `dialogStyleForPalette()` for Windows implementation 2023-03-26 19:37:13 +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 7765e6f062 Fix typos found via `codespell --skip .git -w` 2021-07-03 19:14:13 +02:00
Martchus 144cec5562 Apply clang-format 2021-04-06 17:50:22 +02:00
Martchus 0c07bdb10c Consider window frame size within centerWidgetAvoidingOverflow() 2021-03-24 21:24:15 +01:00
Martchus 3da940fe5b Add function to center a widget avoiding overflow 2021-03-24 14:42:56 +01:00
Martchus cb3a4960e7 Support Qt 6 (commit 174154b) 2020-09-04 00:44:48 +02:00
Martchus 8ee82c9a3c Fix initializing alignment; this shouldn't use nullptr 2020-06-11 21:49:21 +02:00
Martchus 7cf1a57368 Don't rely on QCursor::pos() in dialog utils
It might not work under Wayland.
2019-07-20 18:38:39 +02:00
Martchus b3e7c390d9 Have everything in one top-level namespace 2019-06-10 21:57:46 +02:00
Martchus 2ae98f8ba4 Prevent using deprecated Qt features 2019-05-04 22:16:46 +02:00
Martchus aa300b237f Use const in generateWindowTitle() 2018-05-23 23:20:01 +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 3ea0e47a53 Add functions for positioning 2016-08-27 14:54:19 +02:00
Martchus 323c3b8824 allow building without Qt Widgets specific features 2016-04-09 02:33:09 +02:00
Martchus 1f890920e6 added Dialogs::updateStyle() 2016-02-05 20:23:02 +01:00
Martchus f44930d580 unified dialog style sheet, removed hard coded colors 2015-09-26 20:28:30 +02:00
Martchus 721e79d027 fixed includes 2015-09-06 20:19:21 +02:00
Martchus 2d0df9b093 suppress warning 2015-07-31 01:25:30 +02:00
Martchus bb9bc4eb5d added helper method for generating window title 2015-07-07 00:48:52 +02:00