Commit graph

325 commits

Author SHA1 Message Date
23rd
6d7cb504ee Fixed ability of manual resizing of popup menu on macOS. 2022-11-29 14:10:50 +03:00
John Preston
0937ac0ad0 Allow custom context menus on labels. 2022-11-29 13:41:12 +04:00
John Preston
c3616927eb Add CreateAddActionCallback for non-owned menu. 2022-11-01 19:28:06 +04:00
John Preston
865056eec8 Allow locked toggles in SettingsButton. 2022-10-25 17:50:18 +04:00
John Preston
4ba3000a28 Get rid of FlatInput class. 2022-10-20 17:41:57 +04:00
John Preston
9ab11ccb36 Add full-text-width accessor for SettingsButton. 2022-10-14 11:59:17 +04:00
John Preston
89ae115a87 Add customized rounded ripple mask generators. 2022-10-03 15:10:49 +04:00
John Preston
80445f2bd3 Move some message styles from basic.style. 2022-09-30 11:19:59 +04:00
John Preston
d5ec7cc296 Fix possible stack overflow crash on Windows. 2022-09-28 15:47:42 +04:00
John Preston
18580e46a1 Handle touch events in PopupMenu. 2022-09-19 17:28:40 +04:00
John Preston
e72b521618 An attempt to improve input fields touch-screen support. 2022-09-19 14:18:59 +04:00
John Preston
4ff5bc5773 Provide correct colors for spoiler selection. 2022-09-17 01:59:01 +04:00
John Preston
73b6bc5e13 Implement animated spoilers. 2022-09-17 00:22:08 +04:00
John Preston
4ec399f169 Simplify labels with custom click handlers. 2022-09-06 11:20:23 +04:00
John Preston
f420e302d7 Support external menu content without enabled compositing. 2022-09-02 16:55:12 +04:00
John Preston
a5766cb1f6 Allow inserting actions in the middle of Menu. 2022-08-31 17:50:54 +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
01c4ba869a Allow requesting low-quality scaling of custom emoji. 2022-08-23 17:46:56 +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
John Preston
2f5d5e0e79 Don't allow custom emoji pseudo-links in EditLink. 2022-08-15 18:40:24 +03:00
John Preston
fbd82ff92b Simplify CustomEmojiId. 2022-08-15 13:12:41 +03:00
Ilya Fedin
6732aa70e9 Fix endless hiding state without compositing 2022-08-09 09:39:18 +04:00
Ilya Fedin
f5cdf4bdb8 Provide menu shadow size to the system 2022-08-08 09:14:04 +04: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
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
2f21e92bbe Fix build with GCC. 2022-07-19 22:32:02 +03:00
John Preston
0daf3d4ac7 Support instant-replacement with a custom emoji. 2022-07-18 20:30:09 +03:00
John Preston
d7318d849e Make custom emoji size 12% larger. 2022-07-06 12:20:29 +04:00
John Preston
2bec778251 Fix custom emoji before a newline. 2022-07-06 10:41:30 +04:00
John Preston
ec76a4c0bb Optimize custom emoji repaints in the InputField. 2022-07-06 10:09:10 +04:00
John Preston
9cb7bb58f6 Update custom emoji entity format. 2022-07-05 23:35:03 +04:00
John Preston
464c6a6171 Custom emoji not pausing by default. 2022-07-01 17:32:35 +04:00
John Preston
0b829240fd Don't insert object character without _customEmojiObject. 2022-07-01 17:01:11 +04:00
John Preston
6bd7518109 Fix editing text with custom emoji and formatting. 2022-07-01 12:55:26 +04:00
John Preston
e6b3951b40 Support serializing / deserializing custom emoji as tags. 2022-06-30 13:22:03 +04:00
John Preston
e217611d50 Revert "Simplify Windows native event filter."
With that commit the window frame on Windows 7 is still bugged :(
2022-06-24 20:33:02 +04:00
John Preston
8e0f928205 Fix build. 2022-06-21 00:57:35 +04:00
Ilya Fedin
8de2eee8cc Use QWindow::setScreen instead of QWidget::setScreen 2022-06-21 00:05:29 +04:00
John Preston
9ebfd80b29 Fix possible stack overflow crash. 2022-06-20 23:44:44 +04:00
John Preston
b305df8cc5 Allow getting Ui::Show of a SeparatePanel. 2022-06-20 17:12:45 +04:00
John Preston
7a4ea49959 Allow custom actions on Checkbox click-handlers. 2022-06-20 17:12:26 +04:00
Ilya Fedin
ce35425670 Simplify Windows native event filter
There's no need for a global event filter as it checks for the window hwnd anyway. And, moreover, that creates problems as Qt filters some events to global event filters.
2022-06-13 14:04:17 +04:00
John Preston
72940a25e3 Fix possible crash in checkbox. 2022-06-06 12:20:22 +04:00
John Preston
6ae122f1b2 Move Ui::Menu::MenuCallback and st::menuWithIcons here. 2022-06-03 18:05:09 +04:00
John Preston
b802516ca7 Allow DividerLabel with only top / bottom part. 2022-06-02 17:26:29 +04:00