Commit graph

116 commits

Author SHA1 Message Date
John Preston
65afa2c402 Detach ComposeControls from SessionController. 2023-05-17 15:51:52 +04:00
23rd
cfc8820bad Added support of non-self users to UsernamesBox. 2023-04-11 19:17:42 +04:00
John Preston
7264d82e8d Allow larger scales on high-dpi screens. 2023-03-15 17:17:46 +04:00
John Preston
388541a3fb Show a new "Battery and Animations" settings item. 2023-03-01 09:12:02 +04:00
Ilya Fedin
98e8a20f5f Fix missing include in settings_main 2023-02-14 18:37:01 +04:00
Ilya Fedin
879df6e6a3 Present window's devicePixelRatio in the UI
It's a more valid value when Qt's rater downscaling is in effect

Also round it
2023-02-13 11:48:51 +04:00
Ilya Fedin
eee800b6d0 Use window widget's devicePixelRatio when displaying interface scale value
This is less confusing in multi-monitor environments
2023-02-08 12:18:21 +04:00
23rd
6bb7263f7d Provided result of emoji userpic builder to api. 2023-02-02 22:12:32 +04:00
23rd
9940ee21d3 Added api support to upload emoji markup of userpic instead of image. 2023-02-02 22:12:32 +04:00
John Preston
be71139515 Add "Translate Entire Chat" button to Settings. 2023-02-02 22:12:32 +04:00
John Preston
0de77a051a Fix interface scale padding in non-authed Settings. 2023-01-21 21:08:49 +04:00
John Preston
12c2e42917 Beta version 4.5.4: Fix build with GCC. 2023-01-10 16:59:05 +04:00
John Preston
43a830f0af Fix in-window preview (Wayland / noCompositing). 2023-01-09 09:05:07 +04:00
John Preston
ff331c040a Allow huge range of interface scales. 2023-01-09 09:05:07 +04:00
John Preston
1dd83f3d34 Support personal photo edit in EditContactBox. 2022-12-26 14:24:06 +04:00
John Preston
faf6c48f25 Remove ui/special_buttons module. 2022-12-26 14:24:06 +04:00
John Preston
5fe9c93cb6 Set / suggest / reset a contact personal photo. 2022-12-26 14:24:05 +04:00
Ilya Fedin
3991be752c Replace various QDesktopService::openUrl with File::OpenUrl for correct operation on Linux
This also reverts commit bb94507af1.
2022-12-23 14:02:25 +04:00
23rd
4fabb3f2a2 Replaced some qsl with u""_q literal. 2022-11-30 17:17:14 +03:00
John Preston
01139e1b04 Remove facades module. 2022-11-30 16:55:51 +04:00
23rd
acbc248f23 Replaced UsernameBox with generic box. 2022-11-01 19:25:39 +04:00
John Preston
791addd0ee Start topic profile cover design. 2022-11-01 19:25:38 +04:00
John Preston
3b3792ef75 Allow editing topic title and icon. 2022-11-01 19:25:33 +04:00
John Preston
5cc6275fc3 Fly + effects when choosing an emoji status. 2022-09-07 12:52:34 +04:00
John Preston
f0955f2021 Add emoji-status disclaimer for unknown peers. 2022-09-06 11:20:55 +04:00
John Preston
5530df8f2d Play emoji status only twice in main menu. 2022-09-02 21:14:33 +04:00
John Preston
bd089f20a8 Emoji status selector in MainMenu/Settings. 2022-09-02 21:14:28 +04:00
23rd
629574685e Fixed display of most of simple toasts in corresponding window. 2022-06-14 14:24:21 +03:00
23rd
691a434ba9 Added premium badge to main settings. 2022-06-14 08:52:45 +03:00
John Preston
4570da5767 Skip premium section in settings. 2022-06-07 11:27:06 +04:00
John Preston
499923b6d3 Show real subscription price from the API. 2022-06-03 15:57:06 +04:00
John Preston
de31c1cf0c Subscription status display. 2022-06-02 17:30:01 +04:00
23rd
e09b624b84 Added gradient color to icon of premium settings. 2022-06-01 11:59:14 +04:00
23rd
ee9a04393e Slightly improved style of premium settings. 2022-05-24 08:01:27 +03:00
John Preston
d1907083ed Add FileSizeLimitBox and pass "ref" to premium payment. 2022-05-23 18:46:15 +04:00
John Preston
d81bba155a Update some premium icons. 2022-05-20 19:28:50 +04:00
23rd
51ed3af14c Added new section for premium settings. 2022-05-20 13:18:22 +03:00
John Preston
fe91887ea2 Update API: support "All Chats" reordering. 2022-05-19 17:27:03 +04:00
23rd
6e8fb2ec06 Returned ability to copy phone number from main settings. 2022-05-10 08:53:31 +03:00
John Preston
488f6412f2 Change phone number section instead of a box. 2022-04-13 15:06:24 +04:00
John Preston
aa7143a831 Allow adding Settings::Section-s without changing Type. 2022-04-01 15:53:23 +04:00
John Preston
b8028886b0 Add upload photo button to Edit Info settings. 2022-03-15 16:35:28 +04:00
John Preston
32d09f189b Use rpl::empty instead of rpl::empty_value(). 2022-03-11 09:56:29 +04:00
John Preston
bcbd97e515 Fix restart confirmation box cancel. 2022-03-01 16:15:23 +03:00
John Preston
2917a53b75 Beta version 3.5.3: Fix build with GCC. 2022-02-28 23:25:55 +03:00
23rd
5718789d53 Replaced Ui::InformBox and Ui::ConfirmBox with GenericBox. 2022-02-28 09:08:01 +03:00
John Preston
dde4868540 Add phrases to lang.string. 2022-02-27 20:26:52 +03:00
John Preston
6daa267329 Adjust privacy edit boxes to the mockup. 2022-02-25 14:14:42 +03:00
John Preston
7c5d27d7ce Add "Telegram Features" to the main settings page. 2022-02-25 14:14:42 +03:00
John Preston
f57d21eaeb Add "Calls Settings" to the main settings section. 2022-02-25 14:14:41 +03:00