Commit graph

17 commits

Author SHA1 Message Date
23rd
5d74463bc9 Renamed contentWidth property to minWidth in menu items. 2021-01-20 00:20:39 +03:00
23rd
0d6a0d9cef Moved mouse selecting of menu items to menu base item. 2021-01-20 00:20:39 +03:00
23rd
4325eb2f1b Wrapped raw QAction pointers with not_null in menu items. 2021-01-20 00:20:39 +03:00
23rd
a6a2a8dde0 Fixed crash in dropdown menu. 2021-01-20 00:20:39 +03:00
23rd
79146e54b9 Returned finish of animating to menu. 2021-01-20 00:20:39 +03:00
23rd
5e37c06a6a Added action menu item with toggle view. 2021-01-20 00:20:39 +03:00
23rd
3640f69369 Removed redundant argument from action menu item constructor. 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
497452250a Added ability to set index to menu item. 2021-01-20 00:20:39 +03:00
23rd
df0a8ff589 Slightly refactored creating new items in menu. 2021-01-20 00:20:39 +03:00
23rd
98fa99ae42 Fixed mouse clicking on disabled context menu items. 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
f3e5220dfb Moved menu action item to separate file. 2021-01-20 00:20:39 +03:00
23rd
7e52011a06 Moved menu separator to separate file. 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