PyQt5 Tutorial #17 - Creating a Menu Bar with Menus & Actions & Keyboard Shortcuts

preview_player
Показать описание
Welcome to PyQt5 Tutorial for YOU. This tutorial is directed towards beginners. In this video, I show you how to create a menu bar, create menus and add to the menu bar, and create actions and them (with their keyboard shortcuts) to the menus.

Disclaimer:
Any product names, logos, brands, and other trademarks or images featured or referenced in this video are the property of their respective trademark holders. Use of these names, logos, brands, or other trademarks or images does not imply an affiliation with or endorsement by their respective owners.
Every effort has been made in the creation of this video to ensure the accuracy of information presented. However, neither the author, nor Darlington Nkwaze, and its affiliates will be held liable for any damages caused or alleged to be caused directly or indirectly by this video.

⌚ Timestamps
0:00 Introduction
1: 50 Creating a Menu Bar
2: 40 Creating a Menu
3:04 Create Actions
4:42 Adding Actions to the Menu with "addAction()"
5:56 Adding a Menu to the Menu Bar
6:56 Adding Actions with "addActions()"
8:59 Adding Separators to the Menu
9:54 Using QKeySequence for shortcuts
12:50 GNU Emacs Style Key Sequence
17:12 Creating a Nested Menu
19:26 Adding actions to the Zoom Menu
23:27 Implementing Signals and Slots
26:43 Summary and Conclusion

🚩 Connect with me on social media:

🔔 Subscribe to my YouTube channel.
Рекомендации по теме