Commit graph

23 commits

Author SHA1 Message Date
John Preston
89ae115a87 Add customized rounded ripple mask generators. 2022-10-03 15:10:49 +04:00
John Preston
73b6bc5e13 Implement animated spoilers. 2022-09-17 00:22:08 +04:00
23rd
e94d77847c Added ability to override painting of action menu items. 2022-04-17 02:11:24 +03: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
bc85f7baf3 Decomposed painting of text in Ui::Menu::Action. 2022-03-27 15:22:28 +03:00
23rd
b81b9371e6 Removed TextParseRichText. 2022-01-08 08:24:06 +03:00
John Preston
725654654d Allow changing menu action icons in realtime. 2021-11-25 17:22:46 +04:00
Ilya Fedin
8e5d35229a Simple replacements for Qt 6
QStringRef -> QStringView
QTextCursor constructor accepts a QTextDocument only
Some headers are moved, so paths are removed
QMatrix -> QTransform
Methods returning qsizetype are wrapped to int()s to allow compiler to deduce the type
2021-10-19 17:06:25 +04:00
John Preston
02c1bd5674 Allow enabling + selecting menu item under cursor. 2021-09-08 14:37:19 +03:00
23rd
beb09445d1 Appended references to const auto type in loop to prevent copying. 2021-09-08 14:01:07 +03:00
John Preston
f4cf3094c2 Force PopupMenu item selection when submenu is shown. 2021-09-08 13:46:34 +03:00
23rd
4748986bf4 Returned ability to use right click for menu actions. 2021-01-30 10:55:17 +03:00
23rd
0ce0766b5e Removed redundant hasSubmenu property from menu item base. 2021-01-20 00:20:39 +03:00
23rd
43f09755e5 Moved key press handling from menu to menu item base. 2021-01-20 00:20:39 +03:00
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
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
497452250a Added ability to set index to menu item. 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