Commit graph

65 commits

Author SHA1 Message Date
John Preston
962c8d89e5 Add two new button types. 2020-11-28 14:59:40 +03:00
John Preston
e73bae12e2 Add some new colors to palette. 2020-11-26 10:39:42 +03:00
Ilya Fedin
cffa5e11d8 Use QClipboard::supportsSelection instead of ifdefs 2020-11-06 08:23:55 +03:00
John Preston
d4c99701b5 Fix deprecation warnings on Qt 5.15.1. 2020-11-04 18:44:45 +03:00
John Preston
a1dbca8578 Fix closing Ui::Window from FullScreen on macOS. 2020-08-14 19:58:55 +04:00
John Preston
3d5108a878 Allow Ui::Window to become fullscreen. 2020-08-12 20:45:57 +04:00
John Preston
608b25bd32 Allow custom drag area for Ui::Window. 2020-08-12 17:34:40 +04:00
John Preston
c9235ec9c2 Add label to call button. 2020-08-07 19:38:27 +04:00
23rd
697f2851b0 Added ability to pass rpl::producer to Checkbox constructors. 2020-07-19 21:22:06 +03:00
John Preston
2a0d189ee2 Allow badge in main menu button. 2020-06-23 13:13:22 +04:00
John Preston
d31d94e8fb Allow external RippleButton customization. 2020-06-22 16:50:30 +04:00
Ilya Fedin
f749fc7349 Use Q_OS_UNIX instead of Q_OS_LINUX since linux-specific code can be used also on *BSD/Haiku 2020-06-13 16:08:39 +04:00
John Preston
4ef97b57f6 Guard against inputMethodEvent destroying the field. 2020-06-08 12:13:15 +04:00
John Preston
dbcb6a35b0 Fix possible crash in InnerDropdown hiding. 2020-06-08 11:57:05 +04:00
John Preston
d71d2121b1 Move some methods out of the global scope. 2020-06-03 19:04:52 +04:00
John Preston
8e2cfbf303 Insert only paragraph separators in the field. 2020-05-12 19:12:33 +04:00
John Preston
6aa6a143bf Add a workaround for invalid Qt signal data. 2020-05-12 19:11:46 +04:00
John Preston
8e44fb7780 Fix tilde hack for non-empty styleName. 2020-05-10 17:02:37 +04:00
John Preston
cc9b7e2c2f Use Bold instead of Semibold by entities. 2020-05-08 11:51:41 +04:00
John Preston
ce0619dadd Use the same margins for different controls. 2020-04-30 16:34:24 +04:00
John Preston
66e44506dc Support tooltips with an icon. 2020-04-30 14:50:34 +04:00
John Preston
7849f0561b Allow sliding toasts from the parent side. 2020-04-30 13:16:15 +04:00
John Preston
48a8315740 Introduce a toast style structure. 2020-04-29 18:52:18 +04:00
ilya-fedin
74889b8c21 Better algorithm for font choosing 2020-04-13 11:31:34 +04:00
John Preston
7224c6a191 Move too wide badge to the left. 2020-03-24 17:51:14 +04:00
John Preston
f497eac804 Fix side bar button height with long text. 2020-03-23 15:10:34 +04:00
John Preston
ec6744022c Specify icon overrides for side bar button. 2020-03-19 15:04:55 +04:00
John Preston
1f0a772b18 Fix side bar button on Retina screens. 2020-03-19 13:39:13 +04:00
John Preston
e4e8faaa73 Improve colors for SideBarButton. 2020-03-16 17:01:24 +04:00
John Preston
4b6b328130 Show badge in SideBarButton. 2020-03-16 16:12:13 +04:00
John Preston
d2611d7e85 Add RoundImageCheckbox style to PeerListItem. 2020-03-13 18:08:51 +04:00
John Preston
1b673b7e40 Replace SideBarMenu with SideBarButton. 2020-03-09 13:02:51 +04:00
John Preston
15af9055ee Improve side bar layout. 2020-03-07 15:52:24 +04:00
John Preston
81e9a80831 Add a simple side bar widget. 2020-03-03 16:06:32 +04:00
John Preston
628d3b9ab6 Improve transparent popup menus. 2020-02-05 18:49:39 +04: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
23rd
983d6be8d4 Added rpl::event_stream for firing applied markdown tag to spellchecker. 2019-12-30 16:58:53 +03:00
John Preston
e6914d4649 Don't activate wrong window after popup menu. 2019-12-30 16:40:14 +03:00
John Preston
5851950296 Allow emoji in discrete slider labels. 2019-11-12 15:20:45 +03:00
John Preston
c68dceb189 Use selected text colors from the palette.
On macOS in Dark Mode + Graphite system settings have selected text color
'white' and selected text background color 'white+opacity'.

It looks fine if the control background is dark, but in case of custom color
themes with white control background the selected text becomes invisible.
2019-11-07 10:37:46 +03:00
John Preston
5723c2ba54 Fix workaround for Open Sans tilda bug. 2019-11-04 16:15:43 +03:00
23rd
ba12ebc67a Fixed firing of incorrect values to document changes rpl::event_stream. 2019-10-30 18:14:43 +03:00
23rd
ee44c5b89e Added ability to extend context menu of InputField via rpl. 2019-10-30 18:14:43 +03:00
23rd
24d69ee679 Added rpl::event_stream for document contents changes in InputField. 2019-10-30 18:14:43 +03:00
John Preston
7d9ae816d4 Add SettingsButton widget. 2019-10-29 18:20:44 +03:00
John Preston
aee559fda6 Fix '&'-strings in menu items. 2019-10-25 15:12:23 +03:00
John Preston
37f777e230 Attempt to fix emoji layout in the InputField. 2019-10-20 14:21:08 +04:00
John Preston
40d7581c36 Allow different custom window title styles. 2019-10-14 14:42:21 +04:00