Commit Graph

352 Commits

Author SHA1 Message Date
John Preston 5ef60debc2 Fix build with MSVC. 2026-04-20 10:54:47 +07:00
Ilya Fedin 6a1212de82 Remove QPalette::Accent support
Looks like even Qt's internal plugins don't always set it and when it's set, it's similar to highlight anyway
2026-04-19 23:08:24 +07:00
Ilya Fedin 92192715bb Use shorter QPalette API 2026-04-19 23:08:24 +07:00
Ilya Fedin 786e8999e1 Synchronize system accent color avilability between toggle and setting 2026-04-19 23:08:24 +07:00
23rd 494833236f Defaulted RoundButton text transform to no-transform. 2026-04-06 16:58:16 +03:00
23rd 7c26a251cf Added text transform to RoundButton as mandatory argument. 2026-04-06 16:58:15 +03:00
John Preston 353c95adae Support box->setTitle(v::text::data, context). 2026-03-27 12:54:56 +07:00
23rd 04ccdc4b30 Added initial support of system accent color. 2026-03-04 07:08:51 +03:00
John Preston e972a297e1 Fix possible crash in theme editor. 2026-03-01 21:57:20 +04:00
23rd e37894d011 Fixed Classic theme accent restore on startup.
Fixed #24930.
2026-03-01 09:43:26 +04:00
John Preston 6dce4e360f Use lottie for voice/round message icon. 2026-01-28 08:57:57 +03:00
John Preston 08a979e638 Use more simple tr::... text helpers. 2025-12-15 21:40:54 +04:00
23rd eca8dfb0ec Renamed rpl::start_with_ with rpl::on_. 2025-12-10 21:28:33 +03:00
John Preston 4419ba55e8 Start gift theme background parsing. 2025-08-31 20:53:12 +04:00
John Preston d60bfa238f Merge TWidget* into Ui::RpWidget*. 2025-08-11 13:55:16 +04:00
John Preston b754ad5248 Use base::weak_qptr / base::make_weak. 2025-07-23 11:40:59 +04:00
Ilya Fedin 8534cf3756 Extract system dark mode from QPalette 2025-01-27 15:01:11 +01:00
Ilya Fedin 39b90092ff Revert "Fallback to portal on Linux if QStyleHints::colorScheme is unknown"
This reverts commit a88f48cd93.
2025-01-27 15:01:11 +01:00
John Preston 7bf78b3317 Use initial bot web app header/body colors. 2024-11-17 15:08:16 +04:00
Ilya Fedin a88f48cd93 Fallback to portal on Linux if QStyleHints::colorScheme is unknown 2024-10-14 12:39:41 +04:00
K900 566f279137 Fix build without QT_IMPLICIT_QCHAR_CONSTRUCTION 2024-10-12 19:54:34 +04:00
John Preston a35092f012 Support second button in web apps. 2024-09-09 13:29:00 +04:00
John Preston 876c47c436 Add 'section_separator_color' to webview palette. 2024-06-30 21:16:11 +04:00
John Preston 501cae2200 Change InputField::font to InputField::style in styles. 2024-06-15 20:56:24 +04:00
John Preston c6d034174b Support separate webview storages. 2024-04-26 08:58:42 +04:00
John Preston b39e78a4a9 Reapply "Remove SendMediaReady legacy helper."
This reverts commit 09f07a7a9d.
2024-04-05 09:51:20 +04:00
John Preston 09f07a7a9d Revert "Remove SendMediaReady legacy helper."
This reverts commit 91f8989f70.
2024-04-04 18:36:07 +04:00
John Preston 91f8989f70 Remove SendMediaReady legacy helper. 2024-04-03 11:59:33 +04:00
23rd d03d50ef0d Removed cIntRetinaFactor and cRetinaFactor. 2024-03-24 07:10:07 +03:00
John Preston f85c3c88f7 Add rpl interface to RadiobuttonGroup. 2024-03-08 10:53:58 +04:00
John Preston d3fdfe4b29 Fix crash in themes editor.
Fixes #27366.
2024-01-16 21:09:45 +04:00
23rd c2712b0104 Removed redundant semicolons from code. 2023-12-31 19:42:23 +04:00
John Preston 99da95880e Fix lang keys access on startup. 2023-11-15 18:20:59 +03:00
23rd 819020e515 Moved out common default style entries from settings. 2023-11-15 04:20:20 +03:00
23rd 596460172f Optimized include directives of core_settings header. 2023-11-15 03:30:04 +03:00
23rd baa99be6a5 Removed some unwanted include directives of lang_keys in header files. 2023-11-15 03:30:04 +03:00
John Preston 7a754f8b00 Update reply preview in scale / themes. 2023-10-28 23:12:37 +04:00
John Preston bcdb1bdfd2 Name color changing for me / channels. 2023-10-27 23:27:10 +04:00
John Preston 4b6107fa56 Use color index from API. 2023-10-26 14:08:41 +04:00
John Preston 0e45f3ebd9 Provide more theme keys to webview bots. 2023-10-26 14:08:40 +04:00
John Preston 396c229a4d Improve Ui::Text::String features. 2023-10-04 22:24:25 +04:00
John Preston 229f7a2c15 Handle background / title colors in web-apps. 2023-09-12 21:01:12 +04:00
23rd fd79973509 Fixed crash when importing custom theme with duplicated entries. 2023-09-08 11:40:18 +03:00
23rd d2bd109169 Removed uppercase from some phrases in theme editor. 2023-09-08 11:40:18 +03:00
23rd 98bb520f47 Adjusted code for refactor of input fields in lib_ui. 2023-09-04 17:36:54 +04:00
23rd 9d4b8bb9b0 Introduced new struct to dialogs style for icons. 2023-08-30 16:46:19 +03:00
John Preston 04e7ce4408 Update API scheme on layer 160: Replies. 2023-07-20 07:20:09 +04:00
John Preston 75d2b5994f Apply dark theme to reply controls in stories. 2023-07-20 07:20:08 +04:00
John Preston 65afa2c402 Detach ComposeControls from SessionController. 2023-05-17 15:51:52 +04:00
Ilya Fedin 0ffaff2d8b Support Qt 6.5 dark mode API 2023-05-15 12:33:30 +04:00