Commit graph

46 commits

Author SHA1 Message Date
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
John Preston
c0ce14bb68 Allow fixed windows with custom title bar. 2019-10-14 13:57:03 +04:00
John Preston
4ef3d2ff9f Fix label crossfade animation. 2019-10-11 19:59:39 +04:00
John Preston
11aa7bcd4e Support title-aware Window::setGeometry. 2019-09-30 11:58:45 +03:00
John Preston
84d68e48c0 Allow showing error without field focusing. 2019-09-26 11:10:03 +03:00
John Preston
ba1c7d8d31 Fix email links in labels. 2019-09-26 11:05:11 +03:00
John Preston
3ef71f63b8 Use RoundRect in RoundButton. 2019-09-26 09:53:57 +03:00
John Preston
d5c9ad77a9 Support nice Ui::Window under Windows. 2019-09-26 09:53:57 +03:00
John Preston
16adecf500 Improve label cross fade animation. 2019-09-23 21:24:10 +03:00
John Preston
71adf272c5 Use simple QPainter in CrossFadeAnimation. 2019-09-23 16:55:18 +03:00
John Preston
00393b7b3b Correct String::countHeight with breakEverywhere. 2019-09-20 19:30:21 +03:00
John Preston
6fb693f606 Add backButton style. 2019-09-20 14:47:07 +03:00
John Preston
82ccac3200 Add menuToggle style. 2019-09-20 14:10:29 +03:00
John Preston
f4904e5ec4 Add layer and box management. 2019-09-18 14:17:24 +03:00
John Preston
946c33ef25 Add basic and widget icons. 2019-09-18 10:57:11 +03:00
John Preston
85c83003ca Initial commit. 2019-09-17 17:48:58 +03:00