Commit graph

27 commits

Author SHA1 Message Date
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
John Preston
83cab52cd6 Add access to scrollTop[Value] of PopupMenu. 2023-06-01 19:51:28 +04:00
John Preston
6c01a81900 Allow opening popup menu shifted to the cursor. 2023-02-03 19:31:57 +04:00
John Preston
43e9128014 Report animate phases from PopupMenu. 2023-01-25 11:22:56 +04:00
John Preston
6e3cc8c769 Fix child geometry for mega-rich popup menus. 2023-01-19 12:32:24 +04:00
23rd
ff821bc3d7 Changed default behavior to trim last separator in popup menu. 2022-12-03 17:14:30 +03:00
John Preston
18580e46a1 Handle touch events in PopupMenu. 2022-09-19 17:28:40 +04:00
John Preston
a5766cb1f6 Allow inserting actions in the middle of Menu. 2022-08-31 17:50:54 +04: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
9b0f4df007 Allow different style for child PopupMenu. 2022-07-27 13:48:32 +03:00
23rd
bf65a06735 Added ability to set vertical origin to Ui::PopupMenu. 2022-03-16 09:25:20 +03:00
John Preston
6ac846adbb Allow adding submenu actions with icons. 2021-12-09 21:55:35 +04:00
John Preston
40c0a11705 Support scroll inside PopupMenu. Draw shadow over. 2021-09-09 15:36:20 +03:00
John Preston
f4cf3094c2 Force PopupMenu item selection when submenu is shown. 2021-09-08 13:46:34 +03:00
John Preston
6651d9f9b6 Allow adding submenu to PopupMenu on the fly. 2021-09-07 21:18:43 +03:00
John Preston
e2c940dcdc Expose menu and menu style in PopupMenu. 2021-02-11 20:09:31 +04:00
23rd
43f09755e5 Moved key press handling from menu to menu item base. 2021-01-20 00:20:39 +03:00
23rd
0c5135f671 Added ability to fill menu with custom widgets. 2021-01-20 00:20:39 +03:00
23rd
11a2b0f88d Added ability to check if menu has no items. 2021-01-20 00:20:39 +03:00
23rd
ec988db6c7 Replaced passing of numerous arguments with struct in menu. 2021-01-20 00:20:39 +03:00
23rd
4cbe5fc464 Moved all files related to menu to separate namespace. 2021-01-20 00:20:39 +03:00
23rd
6f097fc571 Removed obsolete ability to fill menu with slots. 2021-01-20 00:20:39 +03:00
John Preston
3a05cdc11e Allow PopupMenu not to reactivate parent window. 2020-11-30 14:13:54 +03:00
John Preston
18ba60ec86 Support more options for popup menu. 2020-01-31 15:11:56 +03:00
John Preston
85c83003ca Initial commit. 2019-09-17 17:48:58 +03:00