Commit Graph

82 Commits

Author SHA1 Message Date
AlexeyZavar e15d380dd1 Merge tag 'v6.4.2' into dev 2026-01-12 20:19:28 +03:00
23rd 926bb91fac Added ability to set shortcut for admin log. 2025-12-28 13:36:55 +03:00
AlexeyZavar 9cf11ff45d Merge tag 'v6.1.3' into dev 2025-10-04 17:26:13 +03:00
John Preston a785d83791 Don't cancel special KeyPress events (key = 0).
I hope this fixes #29747, #29745, #29744, #29743, #29741.
2025-09-06 08:39:51 +04:00
John Preston 180a570f99 Handle robustly Ctrl+Q/Ctrl+Arrows in Ctrl+Tab chat switch. 2025-09-04 12:00:35 +04:00
John Preston d0341d191b Close selected chat in switch by Q. 2025-09-02 19:22:19 +04:00
John Preston 00919f3232 Support arrows in chat switch. 2025-09-01 10:27:55 +04:00
John Preston d63f3b6da1 Fix ctrl+tab/ctrl+shift+tab as overriden shortcuts. 2025-09-01 10:27:55 +04:00
John Preston 0d8065fc1f First attempt of Ctrl+Tab/Ctrl+Shift+Tab UI. 2025-08-22 13:05:26 +04:00
23rd 76e814944d Added shortcuts to start recording of voice or round message.
Fixed #29633.
2025-08-19 16:52:48 +03:00
AlexeyZavar 1447b62999 Merge tag 'v5.13.1' into dev 2025-04-25 02:29:09 +03:00
23rd 9682e37547 Added shortcut to open chat preview from dialogs. 2025-03-12 11:59:20 +04:00
AlexeyZavar adc691f516 Merge tag 'v5.12.1' into dev 2025-03-08 23:02:34 +03:00
John Preston 7d2878d81c Support gifting premium for stars. 2025-03-07 19:03:39 +04:00
John Preston 2e45d9fc6b Allow replacing default shortcuts. 2025-03-07 19:03:37 +04:00
AlexeyZavar 6163cc8a5a Merge tag 'v5.11.1' into dev 2025-02-14 01:51:34 +03:00
John Preston 5ebdf3ed39 Save custom shortcuts to disk. 2025-02-10 10:46:49 +04:00
John Preston 86096db02d Apply shortcuts changes to actions. 2025-02-10 10:46:49 +04:00
John Preston 0585e72c35 Section for shortcuts editing. 2025-02-10 10:46:48 +04:00
23rd 0089cad740 Replaced default shortcut to open chat menu with Ctrl+\. 2025-01-30 11:42:12 +03:00
AlexeyZavar ab3a61794b Merge tag 'v5.10.7' into dev 2025-01-29 01:49:51 +03:00
23rd 157a928f5a Added shortcut to open chat menu from dialogs, chat info and history. 2025-01-27 18:07:42 +04:00
AlexeyZavar 0979ab0b5f chore: revert remove shortcuts 2024-08-19 00:13:22 +03:00
AlexeyZavar fe1babe437 Merge tag 'v4.16.8' into dev
# Conflicts:
#	Telegram/Resources/winrc/Telegram.rc
#	Telegram/Resources/winrc/Updater.rc
#	Telegram/SourceFiles/core/version.h
#	Telegram/lib_ui
#	snap/snapcraft.yaml
2024-04-17 02:41:49 +03:00
23rd 86b9d16747 Added additional note for macOS keys to json of custom shortcuts. 2024-04-15 23:30:57 +03:00
AlexeyZavar c6b42e2940 Merge tag 'v4.16.0' into dev
# Conflicts:
#	README.md
#	Telegram/Resources/winrc/Telegram.rc
#	Telegram/Resources/winrc/Updater.rc
#	Telegram/SourceFiles/calls/calls_call.cpp
#	Telegram/SourceFiles/core/local_url_handlers.cpp
#	Telegram/SourceFiles/core/version.h
#	Telegram/SourceFiles/history/view/media/history_view_giveaway.cpp
#	Telegram/SourceFiles/history/view/media/history_view_sticker.cpp
#	Telegram/lib_ui
#	snap/snapcraft.yaml
2024-04-01 23:56:12 +03:00
23rd aad2961646 Added all unused shortcuts to json of default shortcuts. 2024-03-25 10:15:42 +04:00
23rd 00a89883fd Added ability to set shortcut to archive chat from dialogs list. 2024-03-25 10:15:42 +04:00
23rd 5509c1810b Added ability to set shortcut to open section with scheduled messages. 2024-03-25 10:15:42 +04:00
AlexeyZavar 3f639d5689 fix: remove rate call box
chore: revisit constants
2024-03-13 00:23:58 +03:00
ZavaruKitsu adb5abf4fb chore: reformat & refactor & remove as not planned for now 2024-02-04 18:36:11 +03:00
ZavaruKitsu fe64dfeb1f fix: make it compile
fix: restore Quit shortcut for use in custom shortcuts file
2024-01-17 01:05:24 +03:00
ZavaruKitsu abf17407ea Merge tag 'v4.14.6' into dev
# Conflicts:
#	Telegram/Resources/winrc/Telegram.rc
#	Telegram/Resources/winrc/Updater.rc
#	Telegram/SourceFiles/core/version.h
#	Telegram/SourceFiles/dialogs/dialogs_widget.cpp
#	Telegram/SourceFiles/dialogs/dialogs_widget.h
#	Telegram/SourceFiles/history/history_item_helpers.cpp
#	Telegram/SourceFiles/history/view/history_view_top_bar_widget.cpp
#	Telegram/lib_ui
#	lib/xdg/org.telegram.desktop.metainfo.xml
#	snap/snapcraft.yaml
2024-01-16 23:44:24 +03:00
John Preston ed027c23d0 Version 4.14.5: Fix build with GCC. 2024-01-16 20:29:37 +04:00
John Preston ac7958f335 Remove ctrl+shift+N shortcuts by default.
Those are used in some input methods, including Farsi.

You can always add such bindings in tdata/shortcuts-custom.json for
the "account1", "account2", etc commands.

Fixes #27334.
2024-01-16 13:03:44 +04:00
23rd a1369aaad0 Added references to structured bindings since Apple clang supports them. 2024-01-16 11:18:55 +04:00
John Preston 94a542a1d1 Allow change account shortcuts in shortcuts_custom.json 2024-01-16 11:16:28 +04:00
John Preston 28b43eff7c Make Ctrl+Shift+[1-6] jump through accounts. 2024-01-08 17:35:08 +04:00
ZavaruKitsu dc6cd45f50 feat: add custom replacements
fix: remove useless shortcuts
2023-11-18 20:51:18 +03:00
23rd 53c73accd0 Fixed typo in custom shortcut for full screen in media viewer. 2023-10-23 20:19:17 +04:00
23rd 6cae088d1f Added ability to customize shortcut for full screen in media viewer. 2023-10-12 04:20:35 +03:00
John Preston 3e332ad8e7 Rewrite shortcuts using QAction.
That way they don't depend on the main window.
2023-01-19 09:46:19 +04:00
John Preston 7023b013ce Initial support of separate windows for accounts. 2023-01-19 09:45:28 +04:00
John Preston b962efeca3 Allow ctrl+6/7/8 to activate extra pinned chats.
Fixes #25647.
2023-01-03 09:59:42 +04:00
23rd 4fabb3f2a2 Replaced some qsl with u""_q literal. 2022-11-30 17:17:14 +03:00
John Preston 18e6e2da9e Open specific chat only in one window. 2022-01-04 19:36:33 +03:00
Ilya Fedin 847c01d605 Add Qt 6 support
Tested only on Linux so far
2021-10-21 13:15:00 +04:00
Ilya Fedin dc81f9eeaf Remove SetWatchingMediaKeys
Since SPMediaKeyTap has been removed on Mac, Linux is the only platform where this function is implemented, but that's not really needed due to MPRIS support, so SetWatchingMediaKeys can be dropped entirely
2021-07-19 22:56:14 +03:00
23rd 4db5624beb Completely removed Global namespace. 2021-06-16 09:31:32 +03:00
Ilya Fedin c0c10689a1 Get rid of deprecated ranges::view usage 2021-03-13 19:14:58 +03:00