Commit graph

1346 commits

Author SHA1 Message Date
John Preston
564e354c1d Wait longer after first paint, then show window. 2024-01-16 12:51:24 +04:00
John Preston
0db88bdec1 Fix build on Windows. 2024-01-16 12:08:38 +04:00
Ilya Fedin
683e532d15 Show RpWindow on Windows after initial paint
To avoid white flash
2024-01-16 00:08:12 -08:00
Ilya Fedin
b429fdcf98 Use vertical metrics for vertical borders 2024-01-16 12:07:44 +04:00
23rd
08a19be802 Added initial support of right side arrow to tooltip. 2024-01-14 19:27:39 +03:00
John Preston
aa39793a91 Attempt to fix window geometry restore on Windows. 2024-01-12 13:53:22 +04:00
Ilya Fedin
00f5bdaccd Add wheel scroll lines setting support for elastic scroll 2024-01-09 21:53:32 -08:00
John Preston
30dc9667ec Add anim::with_alpha helper. 2024-01-05 11:25:16 +04:00
John Preston
30c5dfe6f6 Allow querying current SeparatePanel::inner widget. 2024-01-04 18:17:12 +04:00
John Preston
7fef09421c Allow requesting exact icon instances, ignoring dpr. 2024-01-03 22:11:57 +04:00
Ilya Fedin
99e36f9ac6 Multiple by the magic multiplier only on Wayland 2024-01-02 03:16:46 +00:00
Ilya Fedin
e9901b1719 Adjust pixel delta conversion a bit 2023-12-31 15:22:54 +00:00
John Preston
6ff9eb237b Improve scrolling constants. 2023-12-31 18:58:42 +04:00
Ilya Fedin
88f53cf1d9 Use pixel delta whenever it's present 2023-12-31 07:56:15 +00:00
Ilya Fedin
30ec6ea20d Multiple pixel delta by 2.5 on Linux 2023-12-31 07:56:15 +00:00
Ilya Fedin
8c01f3f0fa Unscale DirectManipulation values 2023-12-31 07:56:15 +00:00
Ilya Fedin
fb3d00bab0 Do pixel<->angle delta conversion right 2023-12-31 07:56:15 +00:00
Ilya Fedin
4dd604e61e Ensure temporaries don't detach with range loop 2023-12-29 12:59:09 +00:00
Ilya Fedin
955bf2dfa9 Normalize signal connections 2023-12-29 12:59:09 +00:00
Ilya Fedin
83f12e2dd0 QString::arg usage optimization 2023-12-29 12:59:09 +00:00
Ilya Fedin
d95f9e778b Instantiate QRegularExpression instances statically 2023-12-29 12:59:09 +00:00
John Preston
c5a616de35 Fix possible crash in style::colorizeImage. 2023-12-22 14:40:24 -04:00
23rd
afe99d1e06 Moved out include directive for styles from header of RippleAnimation. 2023-12-14 20:09:40 +03:00
Ilya Fedin
06360dea67 Fix missing include 2023-12-07 08:19:33 +04:00
Ilya Fedin
367a64aa1f Fix Qt's texture use-after-free with HiDPI 2023-12-06 17:51:23 +04:00
Ilya Fedin
a8b24e6f6f Fix a crash with QHighDpiScaling 2023-12-05 21:06:33 +04:00
John Preston
6b5524b63c Allow clearing system buttons state on Windows. 2023-12-04 14:18:49 +04:00
John Preston
4f2a33ea70 Allow disabling window title shadow on Windows. 2023-12-04 14:18:35 +04:00
John Preston
44161f183c Allow producer<TextWithEntities>() | map(ToLink). 2023-11-28 12:53:36 +04:00
23rd
66ca90c1b2 Moved style values for shake animation. 2023-11-28 02:05:16 +03:00
23rd
97a725c791 Fixed legal link in some files. 2023-11-28 02:05:16 +03:00
John Preston
cd4e9d378c Allow to use ForceFullRepaintSync on Linux. 2023-11-22 12:17:32 +04:00
John Preston
69c8353746 Allow line height less than font height. 2023-11-21 17:06:02 +04:00
Ilya Fedin
16772f440f Enable highdpi downscale when rhiConfig evaluates to GL 2023-11-21 09:08:01 +04:00
Ilya Fedin
b1d5c7c116 Allow Ui::GL::CheckCapapilities to work without QWidget 2023-11-21 09:08:01 +04:00
Ilya Fedin
1d1c524b2c Use setFixedSize for popup menu and tooltip 2023-11-21 09:08:01 +04:00
Ilya Fedin
89d664b6f7 Use setFixedSize instead of set{Minimum,Maximum}Size combo 2023-11-21 09:08:01 +04:00
Ilya Fedin
d86bd3f493 Add QHighDpiScaling support on Wayland via QPA API 2023-11-21 09:08:01 +04:00
John Preston
d6133525dc Remove unnecessary includes in input_field. 2023-11-16 14:29:12 +04:00
Ilya Fedin
e0c2500127 Cache QWindow native interface check in WindowMarginsSupported()
It couldn't be changed at runtime anyway
2023-11-16 14:09:27 +04:00
23rd
164877a0dc Moved out common default style entries from settings. 2023-11-15 04:18:55 +03:00
23rd
388fc70918 Spread some style entries from basic style. 2023-11-15 04:18:55 +03:00
John Preston
4ea96ef328 Fix saving custom emoji id in property. 2023-11-14 14:43:18 +04:00
John Preston
e3eabf8eff Allow better InputField content restriction. 2023-11-14 12:17:00 +04:00
John Preston
fee301f941 Use plain windows.h now it doesn't define small. 2023-11-13 18:59:56 +04:00
John Preston
f9b24c7551 Fix build on Windows. 2023-11-13 11:26:07 +04:00
Ilya Fedin
d047544584 Add X11 support for Ctrl+Shift+. 2023-11-11 21:25:14 +04:00
Ilya Fedin
f4b87f2322 Compare nativeVirtualKey with enum value 2023-11-11 21:25:14 +04:00
John Preston
024f438ce5 Fix modifications tracking in Ui::Text::String. 2023-11-10 16:46:06 +04:00
John Preston
85b25a109d Use Ctrl+Shift+Dot workaround on Windows only. 2023-11-10 11:18:46 +04:00