Commit graph

18 commits

Author SHA1 Message Date
John Preston
6651d9f9b6 Allow adding submenu to PopupMenu on the fly. 2021-09-07 21:18:43 +03:00
23rd
01d10cbdbf Added workaround for submenu on macOS. 2021-09-06 13:19:32 +03:00
John Preston
b1d5ed4ab5 Always call raise() before activateWindow(). 2021-06-07 11:24:22 +04:00
Ilya Fedin
af41bff7e4 Build with QT_NO_KEYWORDS 2021-03-03 22:34:02 +04:00
23rd
43f09755e5 Moved key press handling from menu to menu item base. 2021-01-20 00:20:39 +03:00
23rd
a6a2a8dde0 Fixed crash in dropdown menu. 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
8d5bdd6b7e Partially replaced code for using widgets as items in Ui::Menu. 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
d4c99701b5 Fix deprecation warnings on Qt 5.15.1. 2020-11-04 18:44:45 +03:00
John Preston
18ba60ec86 Support more options for popup menu. 2020-01-31 15:11:56 +03:00
John Preston
33ea14969e Use StartTranslucentPaint only on OpenGL widgets on macOS. 2020-01-29 18:54:25 +03:00
John Preston
da3b4704bf Fix activating window after popup menu. 2019-12-31 10:29:48 +03:00
John Preston
e6914d4649 Don't activate wrong window after popup menu. 2019-12-30 16:40:14 +03:00
John Preston
85c83003ca Initial commit. 2019-09-17 17:48:58 +03:00