Commit Graph

16 Commits

Author SHA1 Message Date
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 3da940fe5b Add function to center a widget avoiding overflow 2021-03-24 14:42:56 +01:00
Martchus 6874917c5d Use consistent order for visibility attribute 2020-01-29 18:33:27 +01: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 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 7f9afcda73 Fix decoration for static builds
- Also fix finding static web view and JavaScript provider
2016-08-29 15:41:21 +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 bb9bc4eb5d added helper method for generating window title 2015-07-07 00:48:52 +02:00