Commit Graph

370 Commits

Author SHA1 Message Date
23rd d2188e8577 Fixed delete menu item display for chat themes. 2026-07-14 10:55:28 +03:00
23rd 8d5326f6f7 Returned style of theme tiles with radio buttons and chat theme emoji. 2026-07-14 10:55:28 +03:00
23rd 68ddaae984 Added applying of wallpaper pattern from theme settings. 2026-07-14 10:54:40 +03:00
23rd b61efcc4f1 Added preserving of wallpaper pattern when saving theme. 2026-07-14 10:54:40 +03:00
John Preston a3d6c0c0ac Fix build with Qt 6.11. 2026-07-10 14:04:30 +04:00
John Preston 96575a7080 Fix build on MSVC. 2026-07-10 14:04:30 +04:00
23rd 1e7e6d14fb Styled theme cards as in-chat theme chooser previews. 2026-07-10 14:04:25 +04:00
23rd df001bd674 Added loading of chat theme wallpapers without download progress. 2026-07-10 14:04:25 +04:00
23rd 3ceaefc333 Added outline to selected theme card. 2026-07-10 14:04:25 +04:00
23rd 5115314726 Added applying of chat theme from custom themes list. 2026-07-10 14:04:25 +04:00
23rd 4b3e2646a6 Added near-black neutral chrome for dark chat themes. 2026-07-10 14:04:25 +04:00
23rd 996fc9231c Added refresh of applied chat theme on themes list reload. 2026-07-10 14:04:25 +04:00
23rd eb0bfcec90 Added chat theme bubble gradient to all chats. 2026-07-10 14:04:25 +04:00
23rd 1bb2fc183b Added syncing of wallpaper with applied chat theme. 2026-07-10 14:04:25 +04:00
23rd 72a094f7e6 Added saving of chat theme settings for offline palette rebuild. 2026-07-10 14:04:25 +04:00
23rd 7d13528275 Added applying of chat theme as whole desktop theme. 2026-07-10 14:04:25 +04:00
23rd 145e580b52 Added animated icons to copy-to-clipboard toasts. 2026-06-26 15:22:28 +03:00
Ilya Fedin e7f34ebbae Fix system accent color Windows option condition
It actually works only on Windows 7 with Qt 5

Regression was introduced in 786e8999e1
2026-06-02 00:11:34 +04:00
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