Commit graph

1151 commits

Author SHA1 Message Date
John Preston
f420e302d7 Support external menu content without enabled compositing. 2022-09-02 16:55:12 +04:00
John Preston
746eb80300 Allow interface scale of 50%. 2022-09-01 11:23:16 +04:00
John Preston
a5766cb1f6 Allow inserting actions in the middle of Menu. 2022-08-31 17:50:54 +04:00
John Preston
4d45396174 Add custom-emoji wrapper with limited loops count. 2022-08-31 17:50:35 +04:00
John Preston
51657b3c8a Support colored custom emoji. 2022-08-31 12:27:50 +04:00
John Preston
6dc6309269 Allow querying in-default-state from custom emoji. 2022-08-29 17:27:32 +04:00
John Preston
3287bf45c6 Add FrameGenerator-based CustomEmoji and AnimatedIcon. 2022-08-29 16:33:12 +04:00
John Preston
f876d15eed Add some helper wrappers for custom emoji. 2022-08-26 23:51:58 +04:00
23rd
29ce965e61 Added ability to pass context with marked text to Ui::FlatLabel. 2022-08-25 20:39:15 +03:00
John Preston
fc2c553670 Allow querying ready state of custom emoji. 2022-08-23 20:35:25 +03:00
John Preston
01c4ba869a Allow requesting low-quality scaling of custom emoji. 2022-08-23 17:46:56 +03:00
John Preston
8162619cb1 Move some fade graphics to child project. 2022-08-22 19:40:49 +03:00
John Preston
a1ec2c9ade Allow arbitrary filling with 9-patch. 2022-08-19 20:49:06 +03:00
John Preston
eed9293c80 Add general RoundAreaWithShadow helper. 2022-08-18 17:30:59 +03:00
John Preston
a096628b4c Report PopupMenu appearing state. 2022-08-18 10:22:55 +03:00
John Preston
a76cdf7edf Allow arbitrary paddings around PopupMenu. 2022-08-17 21:03:06 +03:00
23rd
1cc74a41c4 Moved out spoiler data from Ui::Text::String to separate structure. 2022-08-16 19:00:57 +03:00
23rd
6ce4bedc28 Removed unused Ui::Text::Parser::createSkipBlock method. 2022-08-16 17:46:02 +03:00
John Preston
2f5d5e0e79 Don't allow custom emoji pseudo-links in EditLink. 2022-08-15 18:40:24 +03:00
John Preston
9604836ed9 Fix custom emoji copy from TextWithEntities to clipboard. 2022-08-15 15:13:28 +03:00
John Preston
fbd82ff92b Simplify CustomEmojiId. 2022-08-15 13:12:41 +03:00
Ilya Fedin
180b0bc517 Apply window extents early to avoid window size changes 2022-08-14 09:22:03 +04:00
Ilya Fedin
6732aa70e9 Fix endless hiding state without compositing 2022-08-09 09:39:18 +04:00
Ilya Fedin
637ff6be4b Use version-less Qt targets and functions whenever possible 2022-08-09 09:12:33 +04:00
John Preston
16708fd4f4 Revert "Allow buffer size overrides on Wayland EGL"
This reverts commit 303947c78c.
2022-08-08 09:40:29 +03:00
John Preston
48ce68751a Revert "Make QWidgetPrivate accessible"
This reverts commit f15218d36e.
2022-08-08 09:40:17 +03:00
John Preston
c6727e673d Revert "Fix packaged build"
This reverts commit 4689c896e2.
2022-08-08 09:39:59 +03:00
23rd
b75b69d59d Reduced boxLabel::minWidth to be less than width of box with padding. 2022-08-08 09:34:14 +03:00
Ilya Fedin
f5cdf4bdb8 Provide menu shadow size to the system 2022-08-08 09:14:04 +04:00
Ilya Fedin
4689c896e2 Fix packaged build 2022-08-05 16:35:22 +04:00
John Preston
bda46510f5 Fix build with GCC. 2022-08-05 10:12:33 +03:00
John Preston
9b5c58f92f Allow SeparatePanel not to join all spaces. 2022-08-04 19:33:04 +03:00
John Preston
dcb4a33eef Allow changing SeparatePanel title height. 2022-08-04 18:25:45 +03:00
Ilya Fedin
303947c78c Allow buffer size overrides on Wayland EGL 2022-08-04 10:12:36 +04:00
Ilya Fedin
f15218d36e Make QWidgetPrivate accessible 2022-08-04 10:12:36 +04:00
John Preston
f27d756bcd Support getting OnlyCustomEmoji from Ui::Text::String. 2022-08-03 20:07:43 +03:00
Ilya Fedin
a7117df837 Use glib to open URLs on Linux
Just like in lib_base&tdesktop
2022-08-02 20:13:12 +04:00
John Preston
4768e7ee03 Allow requesting originalUrl() from UrlClickHandler. 2022-07-28 17:13:43 +03:00
John Preston
9b0f4df007 Allow different style for child PopupMenu. 2022-07-27 13:48:32 +03:00
John Preston
4ff70e7dff Fix popup menu with variable item height. 2022-07-26 18:31:20 +03:00
John Preston
14f5a828fc Add emoji subcategory icon color. 2022-07-26 13:19:39 +03:00
John Preston
d8b94feb9d Disable attach bot share phone phrases for now. 2022-07-25 18:47:07 +03:00
John Preston
a5d7b23a63 Support custom emoji in IsolatedEmoji. 2022-07-25 17:54:15 +03:00
John Preston
c5b32c53ef Respect kSetVersion in default set cache key. 2022-07-19 22:37:24 +03:00
John Preston
2f21e92bbe Fix build with GCC. 2022-07-19 22:32:02 +03:00
John Preston
6294dd74d2 Merge remote-tracking branch 'origin/master' into HEAD 2022-07-19 18:44:22 +03:00
Ilya Fedin
48a34dc746 Get rid of QSurface::supportsOpenGL check
It checks for surface type to be compatible with OpenGL, but there's no guarantee raster surface would return true here and once it's converted to an OpenGL surface, there's no need to check as it's known to support OpenGL.

This is the case with all QWidgets in Qt 6.4.
2022-07-19 19:44:06 +04:00
Ilya Fedin
ba7e3667d6 Adapt for Qt 6.4 device pixel ratio changes
QWidget::devicePixelRatioF represents backing store ratio and it's no more equal to native surface ratio
2022-07-19 19:44:06 +04:00
Ilya Fedin
e91cfd55c2 Fix missing include for Qt 6.4 2022-07-19 19:44:06 +04:00
John Preston
6411e0583a Update emoji to Unicode 14. 2022-07-19 17:37:15 +03:00