Commit graph

893 commits

Author SHA1 Message Date
Ilya Fedin
d5d8244abb Convert window extents to native pixels 2022-04-11 13:17:22 +04:00
Ilya Fedin
e09d5714e4 Use QPA API to set Wayland margins property 2022-04-11 13:17:22 +04:00
Ilya Fedin
d5a37c74b1 Try to use as less private APIs as possible to show window menu on Wayland 2022-04-11 09:43:09 +04:00
Ilya Fedin
362fbb6331 Fix build without Wayland integration 2022-04-11 09:43:09 +04:00
23rd
1c14306aba Revert "Added ability to set text color of menu item via QAction."
This reverts commit 8d181e53c5.
2022-04-04 17:15:36 +03:00
23rd
8d181e53c5 Added ability to set text color of action menu item via QAction. 2022-03-31 00:43:29 +03:00
23rd
c035b78f87 Added IconButtonWithText control. 2022-03-30 18:38:49 +03:00
23rd
9f28a0b106 Added MaskedInputField::changed signal on wheel event in Ui::TimePart. 2022-03-28 14:01:24 +03:00
23rd
c026c1125e Moved Ui::TimePart to separated file. 2022-03-28 14:01:24 +03:00
23rd
2256b4b8ea Moved number parsing to Ui::TimePart class. 2022-03-28 12:26:46 +03:00
23rd
c676256872 Fixed text validation when char is put on next part of time input. 2022-03-28 12:15:42 +03:00
23rd
62002f034b Added ability to ignore clicks for toggle in Ui::SettingsButton. 2022-03-27 16:25:30 +03:00
23rd
bc85f7baf3 Decomposed painting of text in Ui::Menu::Action. 2022-03-27 15:22:28 +03:00
23rd
a0b04da1d9 Added utils for fade animated showing/hiding of widgets. 2022-03-22 22:36:58 +03:00
John Preston
8700c2223a Add NV12 -> RGB shader. 2022-03-22 19:46:19 +04:00
Ilya Fedin
5fa3d7a9da Remove unused variable 2022-03-21 10:16:44 +04:00
Ilya Fedin
89be8d23fc Set screen for tooltip 2022-03-21 10:16:44 +04:00
Ilya Fedin
39176f619e Set screen for popup menu 2022-03-21 10:16:44 +04:00
John Preston
1027fb5dff Fix colorizing sparse images. 2022-03-18 20:40:27 +04:00
Ilya Fedin
af680714ff Don't involve screen geometry for tooltip on Wayland 2022-03-18 20:04:27 +04:00
Ilya Fedin
87c95b8fa7 Don't involve screen geometry for popup menus on Wayland 2022-03-18 20:04:27 +04:00
23rd
bf65a06735 Added ability to set vertical origin to Ui::PopupMenu. 2022-03-16 09:25:20 +03:00
John Preston
d98c3d539b Allow moving window controls vertically. 2022-03-15 19:40:38 +04:00
23rd
ba40979470 Moved out kMaxScrollSpeed from scroll area. 2022-03-14 18:24:52 +03:00
23rd
2779a7d036 Replaced timer for dragging scroll in Ui::BoxContent with manager. 2022-03-14 18:23:08 +03:00
23rd
d27e4803a1 Moved base::Timer to std::unique_ptr in DraggingScrollManager. 2022-03-14 18:06:27 +03:00
23rd
443191045b Added ability to provide delta to DraggingScrollManager. 2022-03-14 17:36:51 +03:00
23rd
6e6ba5a149 Moved Ui::SelectScrollManager to lib_ui. 2022-03-14 17:31:04 +03:00
John Preston
c7826b8dff Attempt to fix building with GCC. 2022-03-11 15:54:21 +04:00
John Preston
81e216f1ce Allow checking if JPEG bytes are a progressive jpeg. 2022-03-09 17:37:02 +04:00
John Preston
dd3cc5000e Fix shadow icons in scale > 2x. 2022-03-08 18:59:49 +04:00
John Preston
f17320171a Allow disabling system resize for a window on macOS. 2022-03-08 18:17:39 +04:00
John Preston
6be424604f Add some more !isnan assertions. 2022-03-07 09:43:46 +04:00
John Preston
6956514425 Add some !isnan Assert-s in the animations engine. 2022-03-05 18:35:44 +04:00
Ilya Fedin
f2c77daccc Use setContentMargins in QLineEdit-based input fields 2022-03-05 16:55:33 +04:00
Ilya Fedin
1f89e8bd53 Remove unneeded Q_OBJECT from DropdownMenu 2022-03-05 16:55:33 +04:00
23rd
d2e482dac3 Added Ui::Show implementation for Ui::BoxContent. 2022-03-04 11:24:55 +03:00
23rd
f0b800cdfb Introduced Ui::Show interface. 2022-03-03 16:45:51 +03:00
John Preston
214c5e8e22 Make PreventDelayedActivation more reliable. 2022-03-01 14:22:01 +03:00
John Preston
8415f7058c Support emoji in Ui::SettingsButton. 2022-03-01 12:47:53 +03:00
23rd
1ba9270234 Added ability to provide custom style of context menu to flat labels. 2022-03-01 08:35:05 +03:00
John Preston
5f3e04a319 Fix build with GCC. 2022-02-28 23:25:03 +03:00
John Preston
2f425edd75 Adjust default icon colors. 2022-02-28 22:36:31 +03:00
John Preston
5d475f54f0 Enlarge padded title controls hit area. 2022-02-28 19:12:26 +03:00
23rd
73ec29fa06 Added clearing of selection on changing of FlatLabel selectability. 2022-02-28 12:33:31 +03:00
23rd
dea62df69b Replaced index-based accessor with type-based one in variant text. 2022-02-28 11:39:53 +03:00
23rd
6392af756f Added utils for variant text. 2022-02-28 08:07:44 +03:00
John Preston
5214f96bba Parse markup in Ui::Text::String::setMarkedText by default. 2022-02-27 17:48:43 +03:00
John Preston
bd7c4ee06d Allow fractional stroke values in CrossAnimation. 2022-02-25 19:23:05 +03:00
John Preston
ec7af74351 Update some icons. 2022-02-25 16:08:47 +03:00