Commit graph

178 commits

Author SHA1 Message Date
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
23rd
6f097fc571 Removed obsolete ability to fill menu with slots. 2021-01-20 00:20:39 +03:00
John Preston
55a97c0106 Allow different icon on RoundButton hover. 2021-01-15 16:56:57 +04:00
John Preston
239cec923f Make radio button closer to guidelines. 2021-01-15 15:40:06 +04:00
John Preston
b5fb343d6c Allow only Ctrl modifier for Backspace on Linux. 2020-12-30 17:51:26 +04:00
23rd
17eb0f22b4 Slightly improved connecting animation in mute button. 2020-12-25 11:30:39 +03:00
23rd
bab4cfa5aa Fixed crash in mute button disconnect with disabled animations. 2020-12-24 13:53:19 +03:00
23rd
a29e93ca55 Added initial implementation of label animation in mute button. 2020-12-18 21:33:52 +03:00
John Preston
abb615a7c9 Improve label positions in mute button. 2020-12-18 12:42:03 +04:00
23rd
d7ee715b63 Improved animation from any state to Connecting state in mute button. 2020-12-18 09:54:48 +03:00
23rd
1d2357eed9 Moved progress clamping in mute button to single place. 2020-12-18 06:55:29 +03:00
John Preston
407079e5b1 Add a sub-label to CallMuteButton. 2020-12-17 18:01:26 +04:00
23rd
ac71aabba2 Improved animation from Connecting state in mute button. 2020-12-17 16:16:50 +03:00
23rd
526a816b7e Updated colors for force muted state in group calls. 2020-12-17 15:57:46 +03:00
23rd
9eef2289a7 Replaced main blob in mute button with circle. 2020-12-17 15:57:46 +03:00
John Preston
3bd98ac564 Add shake-on-error animation to CallMuteButton. 2020-12-16 15:27:59 +04:00
23rd
d5a076ccef Fixed computing of inner rect from mute button. 2020-12-14 16:33:22 +03:00
23rd
417413f026 Updated appearance for force muted state in group calls. 2020-12-14 16:33:22 +03:00
23rd
b0925f97d0 Moved InterpolateF to animation_value header. 2020-12-11 11:04:52 +03:00
23rd
37d939a650 Replaced CallButton with AbstractButton in mute button. 2020-12-11 11:04:52 +03:00
23rd
d032f4d8b5 Extracted common code for radial and linear blob classes. 2020-12-11 02:00:38 +03:00
John Preston
dfc0f0b889 Change button round radius. 2020-12-08 11:12:46 +04:00
23rd
ea840471d2 Fixed blob animations in mute button with enabled push-to-talk. 2020-12-06 19:58:50 +03:00
23rd
f24411cd96 Added correct handling animations disabling in mute button. 2020-12-03 21:14:22 +03:00
23rd
5437c8865d Added initial animation of Blobs hiding. 2020-12-03 21:14:22 +03:00
23rd
5b0e499932 Replaced raw radius values of Blob with struct. 2020-12-03 21:14:22 +03:00
John Preston
ab4ad89c4c Allow colorizing CrossLineAnimation. 2020-12-02 15:25:02 +03:00
23rd
87ee83bc73 Fixed delta time computing in BlobsWidget. 2020-12-01 14:54:24 +03:00
23rd
c8c29c7c78 Replaced gradients in mute button. 2020-12-01 14:54:24 +03:00
23rd
5c6ddf9cb3 Disabled mouse events for mute button when state is inactive. 2020-11-30 20:27:21 +03:00
23rd
4761b307b4 Fixed reversed animations in mute button. 2020-11-30 20:08:41 +03:00
John Preston
c4df097339 Paint CallButton eliipse with high quality. 2020-11-30 18:49:30 +03:00
23rd
5897e357bf Added colors overriding for call settings button from mute button. 2020-11-30 15:09:28 +03:00
23rd
07359392c2 Added ability to override background and ripple colors in CallButton. 2020-11-30 15:09:28 +03:00
23rd
011d0ba692 Fixed blobs paint for non-default scales. 2020-11-30 15:09:28 +03:00