John Preston
6daa267329
Adjust privacy edit boxes to the mockup.
2022-02-25 14:14:42 +03:00
John Preston
d7c63b85ed
Simplify main menu cover according to the mockup.
2022-02-25 14:14:42 +03:00
John Preston
adb25d65c2
Use shortened count for unread badges in main menu.
2022-02-25 14:14:42 +03:00
John Preston
4af02d3d00
Add "Archived chats" unread badge to the main menu.
2022-02-25 14:14:42 +03:00
John Preston
bce19c7151
Adjust main menu accounts to the mockup.
2022-02-25 14:14:42 +03:00
John Preston
2e435f07a3
Make "Archived chats" a normal menu item.
2022-02-25 14:14:42 +03:00
John Preston
9c581d63ea
Adjust main menu icons to the mockup.
2022-02-25 14:14:41 +03:00
John Preston
1501a6d8fc
Don't check config.phonecalls_enabled value.
2022-02-25 14:14:41 +03:00
23rd
80aa596310
Fixed possible incorrect order of links in Ui.
2022-02-05 18:39:43 +03:00
John Preston
4913288061
Fix "Fix chats order" toggle in support mode.
2022-02-05 15:09:18 +03:00
23rd
a8c3d6c39b
Added ability to reorder accounts in MainMenu.
2022-02-01 18:48:02 +03:00
John Preston
6207770120
Paint unread mention badge as an icon.
2022-01-28 19:10:07 +03:00
John Preston
28f2c213f7
Remove app module. Support delayed quit by Cmd+Q on macOS.
2022-01-27 15:54:20 +03:00
John Preston
6a3ad52aef
Add upload cancel confirmation on Quit and Log Out.
2022-01-26 13:15:28 +03:00
23rd
5b569718ec
Removed text commands from main menu.
2022-01-12 11:54:24 +03:00
John Preston
b773bb6e70
Add icons to the media viewer menus.
2021-12-29 21:22:33 +03:00
John Preston
2c36623cfb
Add some icons to popup menus.
2021-12-29 21:22:33 +03:00
23rd
80461bd9fe
Moved ConfirmBox to Ui namespace.
2021-10-19 06:34:27 +03:00
23rd
6148edbc7d
Moved ConfirmBox to td_ui.
2021-10-19 06:34:27 +03:00
John Preston
5136cc3c9c
Rename Dialogs::Layout to Dialogs::Ui.
2021-10-04 23:45:21 +04:00
John Preston
b78b27f517
Move dialogs_layout to dialogs/ui/.
2021-10-04 23:45:21 +04:00
John Preston
8f9e394dd0
Fix build with GCC.
2021-09-07 23:41:08 +03:00
John Preston
b6cd9c2911
Invert patter image to white for dark colors.
2021-09-07 23:41:08 +03:00
John Preston
f5a323e40a
Move all background helper methods to chat_theme module.
2021-08-30 20:32:57 +03:00
John Preston
0a1e84ddb2
Move ChatTheme to td_ui.
2021-08-30 20:32:57 +03:00
John Preston
2abcb51dda
Filter out patterns without background colors.
2021-08-16 17:14:34 +03:00
John Preston
3dadcd9352
Animated transition on pattern-on-gradient resize.
2021-08-16 10:26:08 +03:00
John Preston
b9a9520ef5
Don't blend SoftLight patterns in realtime.
2021-08-16 10:26:08 +03:00
John Preston
436d7b9d82
Add support for linear gradients without patterns.
2021-08-16 10:26:08 +03:00
John Preston
ba7e976fe2
Fix background sample generation.
2021-08-16 10:26:08 +03:00
John Preston
c2b1187948
Start support of linear gradient wallpapers.
2021-08-16 10:26:08 +03:00
Ilya Fedin
97262a99c7
Get rid of osx and linux32 special targets
2021-08-11 16:59:27 +03:00
23rd
024bb5e54f
Moved App::formatPhone to td_ui.
2021-07-26 17:38:51 +03:00
John Preston
4276b6cce0
Use rpl for Window::Theme::Background updates.
2021-07-15 16:42:36 +03:00
Ilya Fedin
79cc797aff
Fix -Wunused-variable warnings
2021-07-13 21:43:34 +03:00
23rd
b422ec025e
Removed Ui::show from classes that have pointer to Controller.
2021-06-17 10:57:45 +04:00
Ilya Fedin
23272430b4
Build with QT_NO_KEYWORDS
2021-03-04 12:07:54 +04:00
John Preston
e8affa85b0
Try to open localized changelog.
2021-02-04 20:42:32 +04:00
23rd
1f80c297ec
Removed App:wnd for opening settings.
...
Removed unused App::showSettings from facades.
2021-02-04 18:13:03 +04:00
23rd
019e691fbb
Moved some session dependent methods to SessionController.
...
MainWindow::showAddContact(),
MainWindow::showNewGroup(),
MainWindow::showNewChannel().
2021-02-04 18:13:03 +04:00
John Preston
ce5c19dfe9
Update API scheme for phone log clearing.
2021-01-26 14:28:25 +04:00
John Preston
b2c84d675c
Allow clearing calls log.
2021-01-25 16:50:59 +04:00
John Preston
574d915c23
Fix build and tray icon menu on Windows.
2021-01-22 16:53:59 +04:00
23rd
1ccfcc824c
Updated code to be consistent with lib_ui.
2021-01-22 16:53:59 +04:00
23rd
97e8c0956f
Moved all files related to menu to separate namespace.
2021-01-22 16:53:59 +04:00
23rd
dc7a754418
Added ability to prevent application lock and account switch.
2020-12-14 17:09:24 +04:00
23rd
367b028094
Moved contacts box preparing to single place.
2020-10-23 13:31:24 +03:00
23rd
ce3279143d
Connected popup menu display to archive button display in main menu.
2020-09-30 19:00:53 +03:00
23rd
aecdc01e41
Added ability to mark all chats as read.
2020-09-29 19:03:29 +03:00
23rd
bdce2d5e25
Added ability to mark as read chats from folder from context menu.
...
Fixed #7507 .
Fixed #6004 .
2020-09-29 19:03:29 +03:00
23rd
f81271d1fe
Simplified confirmed callback for ConfirmBox instances.
2020-09-29 19:03:29 +03:00
John Preston
511067981d
Forbid auto-night mode with theme editor.
2020-07-24 10:01:37 +04:00
John Preston
9a186cd8ce
Indicate other accounts unread messages.
2020-07-24 09:41:51 +04:00
John Preston
8c4e8212cd
Add 'respect system dark mode' checkbox.
2020-07-22 17:18:17 +04:00
Ilya Fedin
47a237c924
Implement system-based dark mode for Windows and Linux
2020-07-22 10:32:56 +04:00
John Preston
eb1845e33b
Fix crash in session destruction.
...
Also use rpl::event_stream for downloaderTaskFinished.
2020-07-01 12:26:29 +04:00
John Preston
5cc7c2b6c6
Add account from settings three-dot menu.
2020-06-30 21:16:05 +04:00
John Preston
dd0e0a10cd
Add Activate/Logout context menu in accounts list.
2020-06-30 21:15:35 +04:00
John Preston
d529c60081
Fix crash in MainMenu hiding on external logout.
2020-06-30 19:13:57 +04:00
John Preston
0db6fc4ffb
Toggle accounts by userpic in Main Menu.
2020-06-30 11:34:02 +04:00
John Preston
9211b4d421
Remove duplicate accounts toggle subscription.
2020-06-30 11:31:52 +04:00
John Preston
1757dd856b
Fix 125% scale active account check.
2020-06-29 15:07:42 +04:00
John Preston
1bd0b03e8e
Return Saved Messages button to the main menu.
2020-06-29 09:55:19 +04:00
23rd
6507007086
Added fade animation for total unread count badge in main menu.
2020-06-29 06:25:36 +04:00
John Preston
30c82bb2e0
Remove some MainWindow::sessionController() calls.
2020-06-23 21:53:44 +04:00
John Preston
55ec4ebf86
Allow returning from new account setup.
2020-06-23 21:53:44 +04:00
John Preston
c92c15883d
Improve badges in accounts list.
2020-06-23 21:53:44 +04:00
John Preston
7b0a32b607
Add unread unmuted counter to main menu cover.
2020-06-23 21:53:44 +04:00
John Preston
34ef54e40b
Display check on the active account.
2020-06-23 21:53:43 +04:00
John Preston
51c2bc7349
Create only one EmojiImageLoader to fix a crash.
2020-06-23 21:53:43 +04:00
John Preston
1248cef86b
Add an arrow to the expand accounts button.
2020-06-23 21:53:43 +04:00
John Preston
5f238a71f9
Allow switching accounts from the main menu.
2020-06-23 21:53:43 +04:00
John Preston
4d6cc58f0d
Move session settings to main_session_settings.
2020-06-23 21:53:42 +04:00
John Preston
357caf8007
Keep separate MTP::Config's for separate accounts.
2020-06-23 21:53:41 +04:00
John Preston
3c4e959468
Replace observer_peer with rpl interface.
2020-06-23 21:53:40 +04:00
John Preston
ee43027bea
Remove some usages of App::main().
2020-06-23 21:53:39 +04:00
John Preston
ad4afe9293
Move session data localstorage -> storage_account.
2020-06-23 21:53:39 +04:00
John Preston
a6c84c36c0
Use layers and boxes from lib_ui.
2019-10-19 12:27:52 +04:00
John Preston
c057f28425
Move standard buttons to lib_ui.
2019-10-01 23:59:46 +03:00
John Preston
e2f54eb3e9
Move some style code to lib_ui.
2019-10-01 23:59:46 +03:00
John Preston
0c713a930a
Remove app.h / facades.h from precompiled header.
2019-10-01 23:59:46 +03:00
John Preston
6343221d7b
Remove many includes from stdafx.pch.
2019-09-06 19:31:07 +03:00
John Preston
bacaf805b5
Pass SessionNavigation to some boxes.
2019-07-25 20:55:11 +02:00
John Preston
ff44094ded
Rename AuthSession to Main::Session.
2019-07-24 13:45:24 +02:00
John Preston
06982fdf04
Remove some calls to Auth().
2019-07-24 13:13:51 +02:00
John Preston
4917ca7b32
Remove all legacy global namespace langs.
2019-06-21 11:06:52 +02:00
John Preston
87fc066e67
Use tr:: instead of lang().
2019-06-21 11:06:51 +02:00
John Preston
a7c8feaecb
Use tr:: instead of langFactory and __rich.
2019-06-21 11:06:50 +02:00
John Preston
ca7c50fbcd
Remove pseudo-HTML from langpacks and Ui::Text::String.
2019-06-21 11:06:46 +02:00
John Preston
e9677779b8
Show phone number only in the chat top bar.
2019-06-21 11:06:46 +02:00
23rd
ece315f3c5
Added ability to move archive in main menu.
...
- Added Folder::paintUserpic overload for custom color.
- Reduced size of _cloudButton.
2019-06-17 15:30:46 +02:00
John Preston
a547f80ae9
Rename Window::Controller to Window::SessionController.
2019-06-06 13:21:40 +03:00
23rd
b45705f39d
Returned render color theme in main menu when background is filled.
2019-05-31 21:10:53 +03:00
23rd
a5ea13f248
Changed background color of Saved Messages button in main menu.
2019-05-29 20:11:47 +03:00
23rd
b2e5ab36d4
Moved shadow drawing from paintEvent in MainMenu::refreshBackground.
2019-05-27 14:10:36 +02:00
23rd
159f90a42c
Added background analysis in main menu for better readability.
2019-05-27 14:10:36 +02:00
23rd
08a3a5747a
Added custom background to top of main menu.
2019-05-27 14:10:36 +02:00
23rd
dc27bfff2d
Fixed elision of user name in side menu.
2019-05-16 11:58:28 +03:00
John Preston
12614ab68c
Fix possible crash with nullptr screen.
2019-04-12 17:30:43 +04:00
John Preston
2bdce7dce6
Fix window activations handling without event loop nesting.
...
This was causing an assertion violation in Ui::PostponeCall.
- Add a generic Core::QtSignalProducer to convert Qt signals to rpl::producer.
- Track event loop nesting inside QtSignalProducer.
- Use QtSignalProducer for QWindow::activeChanged tracking.
2019-04-05 14:13:54 +04:00