Commit graph

1336 commits

Author SHA1 Message Date
Ilya Fedin
a33bd4e0a5 Fix QApplicationPrivate::translateRawTouchEvent Qt version check 2023-09-22 08:30:49 +04:00
Ilya Fedin
f317f20ac8 Try to allow native window frame on Wayland for everyone 2023-09-21 12:47:40 +04:00
Ilya Fedin
caff63f284 Get Wayland window menu out of DESKTOP_APP_DISABLE_WAYLAND_INTEGRATION 2023-09-21 09:12:11 +04:00
John Preston
88423818f8 Fix build with Xcode. 2023-09-18 23:31:29 +04:00
John Preston
de083a6e15 Update emoji to Unicode 15. 2023-09-18 23:31:29 +04:00
Ilya Fedin
ba73905c11 Make use of templated XDP::ReadSetting 2023-09-18 19:46:05 +04:00
Ilya Fedin
9bf89715b1 Make use of the new XDP::SettingWatcher constructor 2023-09-18 12:41:17 +04:00
John Preston
725339be33 Set dynamic box name to crash annotations. 2023-09-18 10:00:17 +04:00
Ilya Fedin
94f9bbefd7 Re-use the Wayland AutoDestroyer's lifetime in WaylandIntegration::Private 2023-09-16 07:21:04 +04:00
Ilya Fedin
8d005bc820 Change #if-ery to be more in line with cmake logic (LINUX = NOT WIN32 AND NOT APPLE) 2023-09-15 17:58:17 +04:00
John Preston
8f7fe24ac4 Try title overscroll colors only on macOS. 2023-09-13 09:03:59 +04:00
John Preston
2fe9ec27b1 Fix build for Windows, add BoxShowFinishes. 2023-09-12 20:14:37 +04:00
John Preston
c538357107 Implement QOpenGLWidget wrong fbo size workaround. 2023-09-12 11:38:06 +04:00
John Preston
3542f5e913 Force sRGB color space for windows on macOS. 2023-09-12 11:37:15 +04:00
23rd
aaa88be9d7 Fixed minimal height of menu item with multiline text. 2023-09-11 13:39:58 +03:00
Ilya Fedin
e24eaa6b32 Produce a nice terminal warning about lack of patched fonts 2023-09-11 09:09:42 +04:00
John Preston
1ba24ed511 Allow repainting SeparatePanel title. 2023-09-08 11:25:49 +04:00
Ilya Fedin
b2293c86e1 Use brackets include for QtWaylandScanner-generated headers 2023-09-07 23:09:26 +04:00
Ilya Fedin
dce16a3de2 Use not_null for WaylandIntegration::showWindowMenu window handle 2023-09-07 23:09:26 +04:00
Ilya Fedin
9af842571d Don't call xdg-shell code generation just for xdg_toplevel_show_window_menu 2023-09-07 23:09:26 +04:00
Ilya Fedin
ae8a74ea98 Remove Q_OBJECT from CustomEmojiObject 2023-09-07 21:58:45 +04:00
John Preston
9a17d4bd15 Add a checkbox helper for terms accept check. 2023-09-06 13:40:01 +04:00
John Preston
b571c8adfe By default use Real overscroll in ElasticScroll. 2023-09-06 13:39:36 +04:00
John Preston
2107f5a164 Fix build with MSVC. 2023-09-04 12:05:12 +04:00
23rd
5a2402ad5d Slightly optimized include directives in InputField. 2023-08-31 17:09:59 +03:00
23rd
9d2f648a11 Replaced Qt slots in InputField and removed Q_OBJECT macro. 2023-08-31 17:09:59 +03:00
23rd
dfbf009904 Replaced QTimer with base::Timer in InputField. 2023-08-31 17:09:59 +03:00
23rd
6a7718ae96 Replaced Qt signals in InputField with rpl. 2023-08-31 17:09:59 +03:00
23rd
7a245fee51 Moved out InputField files to subfolder. 2023-08-31 17:09:59 +03:00
23rd
faa67d73c5 Moved out MaskedInputField to separate module. 2023-08-31 17:09:59 +03:00
23rd
2c5923dc79 Removed unused HexInput class. 2023-08-31 17:09:59 +03:00
23rd
26b72fedc7 Moved out NumberInput to separate module. 2023-08-31 17:09:59 +03:00
23rd
225380044e Moved out PasswordInput to separate module. 2023-08-31 17:09:59 +03:00
23rd
4389f17120 Removed unused InputField::commitMarkdownReplacement method. 2023-08-31 17:09:59 +03:00
John Preston
89b60c01a6 Add some phrases to UI integration. 2023-08-29 21:35:11 +04:00
Ilya Fedin
bcf88b9065 Fix window extents terminology
Extents is a synonym of size but we're setting not window size.
2023-08-29 07:47:50 +02:00
Ilya Fedin
2dd3add5b3 Move code not really depending on Wayland-specific dependencies out of WaylandIntegration 2023-08-29 07:47:50 +02:00
John Preston
bcfce982c8 Move inline image/path expanding here. 2023-08-24 18:01:55 +02:00
John Preston
552db4b24f Allow setting heightMin in ResizeFitChild. 2023-08-23 11:22:34 +02:00
John Preston
a3c52c2cfe Make box content divider smaller. 2023-08-22 11:32:52 +02:00
John Preston
a6d7e3f545 Fix possible render glitch.
In some rare cases opening main menu was leading to some
widgets showing "over" the background darkening filling.
The glitch disappeared on the next repaint, so we trigger
this repaint explicitly.

The case it was reproducing with 100% rate: in TDesktop with
disabled interface animations after showing and hiding of bot
keyboard the message input field (widget with OpaquePaintEvent)
was painted on top of the backround dark filling below main menu.
2023-08-18 18:03:35 +02:00
John Preston
b3580f7987 Use FlatLabel::textMaxWidth. 2023-08-17 13:54:01 +02:00
Ilya Fedin
632626b192 Use QEvent::registerEventType for custom event types 2023-08-16 16:27:06 +02:00
23rd
0ea27ae051 Ignored arrow keys with Ctrl modifier by scroll area. 2023-08-15 00:02:09 +03:00
23rd
70867536a4 Added util to generate path of complex rounded rect. 2023-08-14 21:15:36 +03:00
Ilya Fedin
fd55e9b71b Adapt WindowHelper::updateMargins for Windows 11 native resize 2023-08-14 12:20:27 +04:00
Ilya Fedin
cbb9e0bbde Make WindowHelper::updateMargins multi-screen DPI aware 2023-08-14 12:20:27 +04:00
Ilya Fedin
e66ad9c80c Avoid additional calculations in WindowHelper::updateMargins 2023-08-14 12:20:27 +04:00
Ilya Fedin
92cb6f6809 Remove unused variables from WindowHelper::fixMaximizedWindow 2023-08-14 12:20:27 +04:00
John Preston
18ac9868bb Use https:// scheme by default. 2023-08-11 10:22:06 +02:00