René's URL Explorer Experiment


Title: Python and PyQt: Creating Menus, Toolbars, and Status Bars – Real Python

Open Graph Title: Python and PyQt: Creating Menus, Toolbars, and Status Bars – Real Python

Description: In this step-by-step tutorial, you’ll learn how to create, customize, and use Python menus, toolbars, and status bars for creating GUI applications using PyQt.

Open Graph Description: In this step-by-step tutorial, you’ll learn how to create, customize, and use Python menus, toolbars, and status bars for creating GUI applications using PyQt.

Mail addresses
?subject=Python article for you&body=Python and PyQt: Creating Menus, Toolbars, and Status Bars on Real Python https://realpython.com/python-menus-toolbars/

Opengraph URL: https://realpython.com/python-menus-toolbars/

X: @realpython

direct link

Domain: realpython.com


Hey, it has json ld scripts:
{
  "@context": "http://schema.org",
  "@type": "Article",
  "headline": "Python and PyQt: Creating Menus, Toolbars, and Status Bars",
  "image": {
    "@type": "ImageObject",
    "url": "https://files.realpython.com/media/PyQt-Menus-and-Toolbars_Watermarked.0f40a74dc69b.jpg",
    "width": 1920,
    "height": 1080
  },
  "mainEntityOfPage": {
    "@type": "WebPage",
    "@id": "https://realpython.com/python-menus-toolbars/",
    "lastReviewed": "2023-07-31",
    "author": {
      "@type": "Person",
      "name": "Leodanis Pozo Ramos",
      "image": "https://realpython.com/cdn-cgi/image/width=862,height=862,fit=crop,gravity=auto,format=auto/https://files.realpython.com/media/Perfil_final1.9f896bc212f6.jpg",
      "url": "https://realpython.com/team/lpozoramos/",
      "affiliation": {
        "@type": "Organization",
        "@id": "https://realpython.com/#organization",
        "name": "Real Python",
        "url": "https://realpython.com",
        "logo": "https://realpython.com/static/real-python-logo-square-512.157ae6bf64ed.png"
      }
    },
    "reviewedBy": [
      {
        "@type": "Person",
        "name": "Aldren Santos",
        "image": "https://realpython.com/cdn-cgi/image/width=500,height=500,fit=crop,gravity=auto,format=auto/https://files.realpython.com/media/Aldren_Santos_Real_Python.6b0861d8b841.png",
        "url": "https://realpython.com/team/asantos/",
        "affiliation": {
          "@type": "Organization",
          "@id": "https://realpython.com/#organization",
          "name": "Real Python",
          "url": "https://realpython.com",
          "logo": "https://realpython.com/static/real-python-logo-square-512.157ae6bf64ed.png"
        }
      },
      {
        "@type": "Person",
        "name": "Bartosz Zaczy\u0144ski",
        "image": "https://realpython.com/cdn-cgi/image/width=1694,height=1694,fit=crop,gravity=auto,format=auto/https://files.realpython.com/media/coders_lab_2109368.259b1599fbee.jpg",
        "url": "https://realpython.com/team/bzaczynski/",
        "affiliation": {
          "@type": "Organization",
          "@id": "https://realpython.com/#organization",
          "name": "Real Python",
          "url": "https://realpython.com",
          "logo": "https://realpython.com/static/real-python-logo-square-512.157ae6bf64ed.png"
        }
      },
      {
        "@type": "Person",
        "name": "Geir Arne Hjelle",
        "image": "https://realpython.com/cdn-cgi/image/width=800,height=800,fit=crop,gravity=auto,format=auto/https://files.realpython.com/media/gahjelle.470149ee709e.jpg",
        "url": "https://realpython.com/team/gahjelle/",
        "affiliation": {
          "@type": "Organization",
          "@id": "https://realpython.com/#organization",
          "name": "Real Python",
          "url": "https://realpython.com",
          "logo": "https://realpython.com/static/real-python-logo-square-512.157ae6bf64ed.png"
        }
      },
      {
        "@type": "Person",
        "name": "Joanna Jablonski",
        "image": "https://realpython.com/cdn-cgi/image/width=800,height=800,fit=crop,gravity=auto,format=auto/https://files.realpython.com/media/jjablonksi-avatar.e37c4f83308e.jpg",
        "url": "https://realpython.com/team/jjablonski/",
        "affiliation": {
          "@type": "Organization",
          "@id": "https://realpython.com/#organization",
          "name": "Real Python",
          "url": "https://realpython.com",
          "logo": "https://realpython.com/static/real-python-logo-square-512.157ae6bf64ed.png"
        }
      },
      {
        "@type": "Person",
        "name": "Jacob Schmitt",
        "image": "https://realpython.com/cdn-cgi/image/width=400,height=400,fit=crop,gravity=auto,format=auto/https://files.realpython.com/media/profile-small_js.2f4d0d8da1ca.jpg",
        "url": "https://realpython.com/team/jschmitt/",
        "affiliation": {
          "@type": "Organization",
          "@id": "https://realpython.com/#organization",
          "name": "Real Python",
          "url": "https://realpython.com",
          "logo": "https://realpython.com/static/real-python-logo-square-512.157ae6bf64ed.png"
        }
      }
    ]
  },
  "datePublished": "2020-11-16T14:00:00+00:00",
  "dateModified": "2023-07-31T20:49:13.909325+00:00",
  "publisher": {
    "@type": "Organization",
    "@id": "https://realpython.com/#organization",
    "name": "Real Python",
    "url": "https://realpython.com",
    "logo": {
      "@type": "ImageObject",
      "url": "https://realpython.com/static/real-python-logo-square-512.157ae6bf64ed.png",
      "width": 512,
      "height": 512
    },
    "description": "Real Python is a leading provider of online Python education and one of the largest language-specific online communities for software developers. It publishes high-quality learning resources, such as tutorials, books, and courses to an audience of millions of developers, data scientists, and machine learning engineers each month.",
    "slogan": "Become a Python Expert",
    "email": "info@realpython.com",
    "sameAs": [
      "https://github.com/realpython",
      "https://www.youtube.com/realpython",
      "https://twitter.com/realpython",
      "https://x.com/realpython",
      "https://www.linkedin.com/company/realpython-com/",
      "https://www.facebook.com/learnrealpython",
      "https://www.instagram.com/realpython",
      "https://www.tiktok.com/@realpython.com"
    ]
  },
  "author": {
    "@type": "Person",
    "name": "Leodanis Pozo Ramos",
    "image": "https://realpython.com/cdn-cgi/image/width=862,height=862,fit=crop,gravity=auto,format=auto/https://files.realpython.com/media/Perfil_final1.9f896bc212f6.jpg",
    "url": "https://realpython.com/team/lpozoramos/",
    "affiliation": {
      "@type": "Organization",
      "@id": "https://realpython.com/#organization",
      "name": "Real Python",
      "url": "https://realpython.com",
      "logo": "https://realpython.com/static/real-python-logo-square-512.157ae6bf64ed.png"
    }
  },
  "description": "In this step-by-step tutorial, you\u2019ll learn how to create, customize, and use Python menus, toolbars, and status bars for creating GUI applications using PyQt."
}

authorReal Python
twitter:cardsummary_large_image
twitter:imagehttps://files.realpython.com/media/PyQt-Menus-and-Toolbars_Watermarked.0f40a74dc69b.jpg
og:imagehttps://files.realpython.com/media/PyQt-Menus-and-Toolbars_Watermarked.0f40a74dc69b.jpg
twitter:creator@realpython
og:typearticle

Links:

https://realpython.com/
Start Herehttps://realpython.com/start-here/
Learn Python https://realpython.com/python-menus-toolbars/
Python Tutorials →In-depth articles and video courseshttps://realpython.com/search?kind=article&kind=course&order=newest
Learning Paths →Guided study plans for accelerated learninghttps://realpython.com/learning-paths/
Quizzes & Exercises →Check your learning progresshttps://realpython.com/quizzes/
Browse Topics →Focus on a specific area or skill levelhttps://realpython.com/tutorials/all/
Community Chat →Learn with other Pythonistashttps://realpython.com/community/
Office Hours →Live Q&A calls with Python expertshttps://realpython.com/office-hours/
Podcast →Hear what’s new in the world of Pythonhttps://realpython.com/podcasts/rpp/
Books →Round out your knowledge and learn offlinehttps://realpython.com/products/books/
Reference →Concise definitions for common Python termshttps://realpython.com/ref/
Code Mentor →BetaPersonalized code assistance & learning toolshttps://realpython.com/mentor/
Unlock All Content →https://realpython.com/account/join/
More https://realpython.com/python-menus-toolbars/
Learner Storieshttps://realpython.com/learner-stories/
Python Newsletterhttps://realpython.com/newsletter/
Python Job Boardhttps://www.pythonjobshq.com
Meet the Teamhttps://realpython.com/team/
Become a Tutorial Writerhttps://realpython.com/write-for-us/
Become a Video Instructorhttps://realpython.com/become-an-instructor/
Searchhttps://realpython.com/search
https://realpython.com/search
Joinhttps://realpython.com/account/join/
Sign‑Inhttps://realpython.com/account/login/?next=%2Fpython-menus-toolbars%2F
Browse Topicshttps://realpython.com/tutorials/all/
Guided Learning Pathshttps://realpython.com/learning-paths/
Basicshttps://realpython.com/search?level=basics
Intermediatehttps://realpython.com/search?level=intermediate
Advancedhttps://realpython.com/search?level=advanced
aihttps://realpython.com/tutorials/ai/
algorithmshttps://realpython.com/tutorials/algorithms/
apihttps://realpython.com/tutorials/api/
best-practiceshttps://realpython.com/tutorials/best-practices/
careerhttps://realpython.com/tutorials/career/
communityhttps://realpython.com/tutorials/community/
databaseshttps://realpython.com/tutorials/databases/
data-sciencehttps://realpython.com/tutorials/data-science/
data-structureshttps://realpython.com/tutorials/data-structures/
data-vizhttps://realpython.com/tutorials/data-viz/
devopshttps://realpython.com/tutorials/devops/
djangohttps://realpython.com/tutorials/django/
dockerhttps://realpython.com/tutorials/docker/
editorshttps://realpython.com/tutorials/editors/
flaskhttps://realpython.com/tutorials/flask/
front-endhttps://realpython.com/tutorials/front-end/
gamedevhttps://realpython.com/tutorials/gamedev/
guihttps://realpython.com/tutorials/gui/
machine-learninghttps://realpython.com/tutorials/machine-learning/
newshttps://realpython.com/tutorials/news/
numpyhttps://realpython.com/tutorials/numpy/
projectshttps://realpython.com/tutorials/projects/
pythonhttps://realpython.com/tutorials/python/
stdlibhttps://realpython.com/tutorials/stdlib/
testinghttps://realpython.com/tutorials/testing/
toolshttps://realpython.com/tutorials/tools/
web-devhttps://realpython.com/tutorials/web-dev/
web-scrapinghttps://realpython.com/tutorials/web-scraping/
Table of Contentshttps://realpython.com/python-menus-toolbars/#toc
Building Python Menu Bars, Menus, and Toolbars in PyQthttps://realpython.com/python-menus-toolbars/#building-python-menu-bars-menus-and-toolbars-in-pyqt
Creating Menu Barshttps://realpython.com/python-menus-toolbars/#creating-menu-bars
Adding Menus to a Menu Barhttps://realpython.com/python-menus-toolbars/#adding-menus-to-a-menu-bar
Creating Toolbarshttps://realpython.com/python-menus-toolbars/#creating-toolbars
Using Icons and Resources in PyQthttps://realpython.com/python-menus-toolbars/#using-icons-and-resources-in-pyqt
Creating Actions for Python Menus and Toolbars in PyQthttps://realpython.com/python-menus-toolbars/#creating-actions-for-python-menus-and-toolbars-in-pyqt
Adding Options to Python Menus in PyQthttps://realpython.com/python-menus-toolbars/#adding-options-to-python-menus-in-pyqt
Populating Menus With Actionshttps://realpython.com/python-menus-toolbars/#populating-menus-with-actions
Creating Python Submenushttps://realpython.com/python-menus-toolbars/#creating-python-submenus
Adding Options to a Toolbars in PyQthttps://realpython.com/python-menus-toolbars/#adding-options-to-a-toolbars-in-pyqt
Populating Toolbars With Actionshttps://realpython.com/python-menus-toolbars/#populating-toolbars-with-actions
Adding Widgets to a Toolbarhttps://realpython.com/python-menus-toolbars/#adding-widgets-to-a-toolbar
Customizing Toolbarshttps://realpython.com/python-menus-toolbars/#customizing-toolbars
Organizing Menu and Toolbar Optionshttps://realpython.com/python-menus-toolbars/#organizing-menu-and-toolbar-options
Building Context or Pop-Up Menus in PyQthttps://realpython.com/python-menus-toolbars/#building-context-or-pop-up-menus-in-pyqt
Creating Context Menus Through Context Menu Policyhttps://realpython.com/python-menus-toolbars/#creating-context-menus-through-context-menu-policy
Creating Context Menus Through Event Handlinghttps://realpython.com/python-menus-toolbars/#creating-context-menus-through-event-handling
Organizing Context Menus Optionshttps://realpython.com/python-menus-toolbars/#organizing-context-menus-options
Connecting Signals and Slots in Menus and Toolbarshttps://realpython.com/python-menus-toolbars/#connecting-signals-and-slots-in-menus-and-toolbars
Populating Python Menus Dynamicallyhttps://realpython.com/python-menus-toolbars/#populating-python-menus-dynamically
Defining Keyboard Shortcuts for Menu and Toolbar Optionshttps://realpython.com/python-menus-toolbars/#defining-keyboard-shortcuts-for-menu-and-toolbar-options
Using Key Sequenceshttps://realpython.com/python-menus-toolbars/#using-key-sequences
Using Keyboard Acceleratorshttps://realpython.com/python-menus-toolbars/#using-keyboard-accelerators
Creating Menus and Toolbars: Best Practices and Tipshttps://realpython.com/python-menus-toolbars/#creating-menus-and-toolbars-best-practices-and-tips
Building Python Status Bars in PyQthttps://realpython.com/python-menus-toolbars/#building-python-status-bars-in-pyqt
Showing Temporary Status Messageshttps://realpython.com/python-menus-toolbars/#showing-temporary-status-messages
Showing Permanent Messages in Status Barshttps://realpython.com/python-menus-toolbars/#showing-permanent-messages-in-status-bars
Adding Help Tips to Actionshttps://realpython.com/python-menus-toolbars/#adding-help-tips-to-actions
Conclusionhttps://realpython.com/python-menus-toolbars/#conclusion
https://realpython.com/feedback/survey/article/python-menus-toolbars/liked/?from=article-sidebar
https://realpython.com/feedback/survey/article/python-menus-toolbars/disliked/?from=article-sidebar
Leodanis Pozo Ramoshttps://realpython.com/python-menus-toolbars/#author
https://realpython.com/python-menus-toolbars/#reader-comments
intermediatehttps://realpython.com/tutorials/intermediate/
guihttps://realpython.com/tutorials/gui/
Building Python Menu Bars, Menus, and Toolbars in PyQthttps://realpython.com/python-menus-toolbars/#building-python-menu-bars-menus-and-toolbars-in-pyqt
Creating Menu Barshttps://realpython.com/python-menus-toolbars/#creating-menu-bars
Adding Menus to a Menu Barhttps://realpython.com/python-menus-toolbars/#adding-menus-to-a-menu-bar
Creating Toolbarshttps://realpython.com/python-menus-toolbars/#creating-toolbars
Using Icons and Resources in PyQthttps://realpython.com/python-menus-toolbars/#using-icons-and-resources-in-pyqt
Creating Actions for Python Menus and Toolbars in PyQthttps://realpython.com/python-menus-toolbars/#creating-actions-for-python-menus-and-toolbars-in-pyqt
Adding Options to Python Menus in PyQthttps://realpython.com/python-menus-toolbars/#adding-options-to-python-menus-in-pyqt
Populating Menus With Actionshttps://realpython.com/python-menus-toolbars/#populating-menus-with-actions
Creating Python Submenushttps://realpython.com/python-menus-toolbars/#creating-python-submenus
Adding Options to a Toolbars in PyQthttps://realpython.com/python-menus-toolbars/#adding-options-to-a-toolbars-in-pyqt
Populating Toolbars With Actionshttps://realpython.com/python-menus-toolbars/#populating-toolbars-with-actions
Adding Widgets to a Toolbarhttps://realpython.com/python-menus-toolbars/#adding-widgets-to-a-toolbar
Customizing Toolbarshttps://realpython.com/python-menus-toolbars/#customizing-toolbars
Organizing Menu and Toolbar Optionshttps://realpython.com/python-menus-toolbars/#organizing-menu-and-toolbar-options
Building Context or Pop-Up Menus in PyQthttps://realpython.com/python-menus-toolbars/#building-context-or-pop-up-menus-in-pyqt
Creating Context Menus Through Context Menu Policyhttps://realpython.com/python-menus-toolbars/#creating-context-menus-through-context-menu-policy
Creating Context Menus Through Event Handlinghttps://realpython.com/python-menus-toolbars/#creating-context-menus-through-event-handling
Organizing Context Menus Optionshttps://realpython.com/python-menus-toolbars/#organizing-context-menus-options
Connecting Signals and Slots in Menus and Toolbarshttps://realpython.com/python-menus-toolbars/#connecting-signals-and-slots-in-menus-and-toolbars
Populating Python Menus Dynamicallyhttps://realpython.com/python-menus-toolbars/#populating-python-menus-dynamically
Defining Keyboard Shortcuts for Menu and Toolbar Optionshttps://realpython.com/python-menus-toolbars/#defining-keyboard-shortcuts-for-menu-and-toolbar-options
Using Key Sequenceshttps://realpython.com/python-menus-toolbars/#using-key-sequences
Using Keyboard Acceleratorshttps://realpython.com/python-menus-toolbars/#using-keyboard-accelerators
Creating Menus and Toolbars: Best Practices and Tipshttps://realpython.com/python-menus-toolbars/#creating-menus-and-toolbars-best-practices-and-tips
Building Python Status Bars in PyQthttps://realpython.com/python-menus-toolbars/#building-python-status-bars-in-pyqt
Showing Temporary Status Messageshttps://realpython.com/python-menus-toolbars/#showing-temporary-status-messages
Showing Permanent Messages in Status Barshttps://realpython.com/python-menus-toolbars/#showing-permanent-messages-in-status-bars
Adding Help Tips to Actionshttps://realpython.com/python-menus-toolbars/#adding-help-tips-to-actions
Conclusionhttps://realpython.com/python-menus-toolbars/#conclusion
Remove adshttps://realpython.com/account/join/
graphical user interface (GUI)https://en.wikipedia.org/wiki/Graphical_user_interface
PyQthttps://www.riverbankcomputing.com/static/Docs/PyQt5/
menushttps://en.wikipedia.org/wiki/Menu_(computing)
toolbarshttps://en.wikipedia.org/wiki/Toolbar
status barshttps://en.wikipedia.org/wiki/Status_bar
Python and PyQt: Building a GUI Desktop Calculatorhttps://realpython.com/python-pyqt-gui-calculator/
Click here to get the code you’ll usehttps://realpython.com/bonus/python-pyqt-menus/
https://realpython.com/python-menus-toolbars/#building-python-menu-bars-menus-and-toolbars-in-pyqt
main windowhttps://realpython.com/python-pyqt-layout/
main window–style applicationhttps://realpython.com/python-pyqt-gui-calculator/#main-windows
code editor or IDEhttps://realpython.com/python-ides-code-editors-guide/
QMainWindowhttps://www.riverbankcomputing.com/static/Docs/PyQt5/api/qtwidgets/qmainwindow.html
official documentationhttps://www.riverbankcomputing.com/static/Docs/PyQt5/index.html
PyQt4 documentationhttps://www.riverbankcomputing.com/static/Docs/PyQt4/
Qt documentationhttps://doc.qt.io/
super()https://realpython.com/python-super/
Python and PyQt: Building a GUI Desktop Calculatorhttps://realpython.com/python-pyqt-gui-calculator/
QLabelhttps://www.riverbankcomputing.com/static/Docs/PyQt5/api/qtwidgets/qlabel.html
alignment flagshttps://www.riverbankcomputing.com/static/Docs/PyQt5/api/qtcore/qt.html#AlignmentFlag
run the application from your command linehttps://realpython.com/run-python-scripts/
https://files.realpython.com/media/pyqt-sample-app.1926ae5ad791.png
Remove adshttps://realpython.com/account/join/
https://realpython.com/python-menus-toolbars/#creating-menu-bars
QMenuBarhttps://www.riverbankcomputing.com/static/Docs/PyQt5/api/qtwidgets/qmenubar.html
garbage-collectshttps://realpython.com/python-memory-management/#garbage-collection
scopehttps://realpython.com/python-scope-legb-rule/
returnshttps://realpython.com/python-return-statement/
ownershiphttps://doc.qt.io/qt-5/objecttrees.html
importhttps://realpython.com/absolute-vs-relative-python-imports/
desktop environmenthttps://en.wikipedia.org/wiki/Desktop_environment
https://realpython.com/python-menus-toolbars/#adding-menus-to-a-menu-bar
Menushttps://en.wikipedia.org/wiki/Menu_(computing)
actionhttps://www.riverbankcomputing.com/static/Docs/PyQt5/api/qt3dinput/qaction.html
QWidgethttps://www.riverbankcomputing.com/static/Docs/PyQt5/api/qtwidgets/qwidget.html
importhttps://realpython.com/python-import/
Using Icons and Resources in PyQthttps://realpython.com/python-menus-toolbars/#using-icons-and-resources-in-pyqt
https://files.realpython.com/media/pyqt-menu-bar.2e39e200250d.gif
Populating Menus With Actionshttps://realpython.com/python-menus-toolbars/#populating-menus-with-actions
Defining Keyboard Shortcuts for Menu and Toolbar Optionshttps://realpython.com/python-menus-toolbars/#defining-keyboard-shortcuts-for-menu-and-toolbar-options
Remove adshttps://realpython.com/account/join/
https://realpython.com/python-menus-toolbars/#creating-toolbars
toolbarhttps://en.wikipedia.org/wiki/Toolbar
QToolBarhttps://www.riverbankcomputing.com/static/Docs/PyQt5/api/qtwidgets/qtoolbar.html
toolbar areashttps://www.riverbankcomputing.com/static/Docs/PyQt5/api/qtcore/qt.html#ToolBarArea
fully qualified nameshttps://docs.python.org/3/glossary.html#term-qualified-name
context menuhttps://realpython.com/python-menus-toolbars/#building-context-or-pop-up-menus-in-pyqt
https://files.realpython.com/media/pyqt-toolbars.712a3ec34165.gif
QActionhttps://www.riverbankcomputing.com/static/Docs/PyQt5/api/qt3dinput/qaction.html
later sectionhttps://realpython.com/python-menus-toolbars/#creating-actions-for-python-menus-and-toolbars-in-pyqt
Remove adshttps://realpython.com/account/join/
https://realpython.com/python-menus-toolbars/#using-icons-and-resources-in-pyqt
Qt libraryhttps://qt.io/
Qt resource systemhttps://doc.qt.io/qt-5/resources.html
pyrcc5https://www.riverbankcomputing.com/static/Docs/PyQt5/resources.html#pyrcc5
Python environmenthttps://realpython.com/python-virtual-environments-a-primer/
Lintershttps://realpython.com/python-code-quality/#linters
editors, and IDEshttps://realpython.com/python-ides-code-editors-guide/
QIconhttps://www.riverbankcomputing.com/static/Docs/PyQt5/api/qtgui/qicon.html
https://files.realpython.com/media/pyqt-menu-bar-icon.348be94c0101.gif
Remove adshttps://realpython.com/account/join/
https://realpython.com/python-menus-toolbars/#creating-actions-for-python-menus-and-toolbars-in-pyqt
functionhttps://realpython.com/defining-your-own-python-function/
methodhttps://realpython.com/instance-class-and-static-methods-demystified/
QObjecthttps://www.riverbankcomputing.com/static/Docs/PyQt5/api/qtcore/qobject.html
.toolButtonStylehttps://www.riverbankcomputing.com/static/Docs/PyQt5/api/qtcore/qt.html#ToolButtonStyle-enum
stylehttps://www.riverbankcomputing.com/static/Docs/PyQt5/api/qtwidgets/qstyle.html
documentationhttps://www.riverbankcomputing.com/static/Docs/PyQt5/api/qt3dinput/qaction.html
instance attributeshttps://realpython.com/python3-object-oriented-programming/#class-and-instance-attributes
Populating Toolbars With Actionshttps://realpython.com/python-menus-toolbars/#populating-toolbars-with-actions
Remove adshttps://realpython.com/account/join/
https://realpython.com/python-menus-toolbars/#adding-options-to-python-menus-in-pyqt
https://realpython.com/python-menus-toolbars/#populating-menus-with-actions
several variationshttps://www.riverbankcomputing.com/static/Docs/PyQt5/api/qtwidgets/qmenu.html
https://files.realpython.com/media/pyqt-menu-options.6fd18b7916c9.gif
Remove adshttps://realpython.com/account/join/
https://realpython.com/python-menus-toolbars/#creating-python-submenus
submenushttps://en.wikipedia.org/wiki/Menu_(computing)#Sub-menus
https://files.realpython.com/media/pyqt-submenus.cc7b897096a6.gif
https://realpython.com/python-menus-toolbars/#adding-options-to-a-toolbars-in-pyqt
spin boxeshttps://www.riverbankcomputing.com/static/Docs/PyQt5/api/qtwidgets/qwidget.html
combo boxeshttps://www.riverbankcomputing.com/static/Docs/PyQt5/api/qtwidgets/qcombobox.html
https://realpython.com/python-menus-toolbars/#populating-toolbars-with-actions
https://files.realpython.com/media/pyqt-toolbars-buttons.cfc325f76877.gif
Creating Toolbarshttps://realpython.com/python-menus-toolbars/#creating-toolbars
Remove adshttps://realpython.com/account/join/
https://realpython.com/python-menus-toolbars/#adding-widgets-to-a-toolbar
focusPolicyhttps://www.riverbankcomputing.com/static/Docs/PyQt5/api/qtcore/qt.html#FocusPolicy
keyboard shortcutshttps://realpython.com/python-menus-toolbars/#defining-keyboard-shortcuts-for-menu-and-toolbar-options
https://files.realpython.com/media/pyqt-toolbars-widgets.16efd0eda0d5.gif
https://realpython.com/python-menus-toolbars/#customizing-toolbars
https://files.realpython.com/media/pyqt-toolbars-customization.fec03271a9f5.gif
https://realpython.com/python-menus-toolbars/#organizing-menu-and-toolbar-options
https://files.realpython.com/media/pyqt-menu-separators.d85124f79856.gif
Remove adshttps://realpython.com/account/join/
https://realpython.com/python-menus-toolbars/#building-context-or-pop-up-menus-in-pyqt
Context menushttps://en.wikipedia.org/wiki/Context_menu
eventhttps://en.wikipedia.org/wiki/Event_(computing)
https://realpython.com/python-menus-toolbars/#creating-context-menus-through-context-menu-policy
contextMenuPolicyhttps://www.riverbankcomputing.com/static/Docs/PyQt5/api/qtwidgets/qwidget.html#contextMenuPolicy
Qt.ActionsContextMenuhttps://www.riverbankcomputing.com/static/Docs/PyQt5/api/qtcore/qt.html#ContextMenuPolicy
https://files.realpython.com/media/pyqt-context-menu.1abd4b1ac8f8.gif
Remove adshttps://realpython.com/account/join/
https://realpython.com/python-menus-toolbars/#creating-context-menus-through-event-handling
.contextMenuEvent()https://www.riverbankcomputing.com/static/Docs/PyQt5/api/qtwidgets/qwidget.html#contextMenuEvent
.globalPos()https://www.riverbankcomputing.com/static/Docs/PyQt5/api/qtgui/qwheelevent.html#globalPos
https://realpython.com/python-menus-toolbars/#organizing-context-menus-options
https://files.realpython.com/media/pyqt-context-menu-separators.50803505f32d.gif
Remove adshttps://realpython.com/account/join/
https://realpython.com/python-menus-toolbars/#connecting-signals-and-slots-in-menus-and-toolbars
signals and slotshttps://www.riverbankcomputing.com/static/Docs/PyQt5/signals_slots.html
.__call__()https://realpython.com/python-callable-instances/
https://files.realpython.com/media/pyqt-signals-slots.9b215eb6a86e.gif
https://realpython.com/python-menus-toolbars/#populating-python-menus-dynamically
for loophttps://realpython.com/python-for-loop/
functools.partial()https://docs.python.org/3/library/functools.html#functools.partial
listhttps://realpython.com/python-list/
https://files.realpython.com/media/pyqt-dynamical-menus.1936df247611.gif
https://realpython.com/python-menus-toolbars/#defining-keyboard-shortcuts-for-menu-and-toolbar-options
clipboardhttps://en.wikipedia.org/wiki/Clipboard_(computing)
https://realpython.com/python-menus-toolbars/#using-key-sequences
QKeySequencehttps://www.riverbankcomputing.com/static/Docs/PyQt5/api/qtgui/qkeysequence.html#QKeySequence
StandardKeyhttps://www.riverbankcomputing.com/static/Docs/PyQt5/api/qtgui/qkeysequence.html#StandardKey
Standard Shortcuts sectionhttps://www.riverbankcomputing.com/static/Docs/PyQt5/api/qtgui/qkeysequence.html#standard-shortcuts
QKeySequence.StandardKey documentationhttps://www.riverbankcomputing.com/static/Docs/PyQt5/api/qtgui/qkeysequence.html?highlight=keysequence#enums
https://files.realpython.com/media/pyqt-keyboard-shortcuts.70aea1ab2ff4.gif
https://realpython.com/python-menus-toolbars/#using-keyboard-accelerators
https://realpython.com/python-menus-toolbars/#creating-menus-and-toolbars-best-practices-and-tips
https://realpython.com/python-menus-toolbars/#building-python-status-bars-in-pyqt
status barhttps://en.wikipedia.org/wiki/Status_bar
Qt documentationhttps://doc.qt.io/qt-5/qstatusbar.html#details
https://files.realpython.com/media/pyqt-status-bar.182664a8bf07.png
https://realpython.com/python-menus-toolbars/#showing-temporary-status-messages
https://files.realpython.com/media/pyqt-status-bar-message.2b376a55d689.gif
https://realpython.com/python-menus-toolbars/#showing-permanent-messages-in-status-bars
QToolButtonhttps://www.riverbankcomputing.com/static/Docs/PyQt5/api/qtwidgets/qtoolbutton.html
QProgressBarhttps://www.riverbankcomputing.com/static/Docs/PyQt5/api/qtwidgets/qprogressbar.html
f-stringhttps://realpython.com/python-f-strings/
instance attributehttps://realpython.com/python3-object-oriented-programming/#class-and-instance-attributes
https://files.realpython.com/media/pyqt-status-bar-widgets.a71e3085fec0.png
https://realpython.com/python-menus-toolbars/#adding-help-tips-to-actions
What’s Thishttps://www.riverbankcomputing.com/static/Docs/PyQt5/api/qtwidgets/qwhatsthis.html
https://files.realpython.com/media/pyqt-help-tips.9149f314e9db.gif
https://realpython.com/python-menus-toolbars/#conclusion
Menushttps://en.wikipedia.org/wiki/Menu_(computing)
toolbarshttps://en.wikipedia.org/wiki/Toolbar
status barshttps://en.wikipedia.org/wiki/Status_bar
GUI applicationshttps://realpython.com/python-pyqt-gui-calculator/
Click here to get the code you’ll usehttps://realpython.com/bonus/python-pyqt-menus/
https://realpython.com/feedback/survey/article/python-menus-toolbars/liked/?from=article-footer
https://realpython.com/feedback/survey/article/python-menus-toolbars/disliked/?from=article-footer
https://realpython.com/team/lpozoramos/
» More about Leodanishttps://realpython.com/team/lpozoramos/
https://realpython.com/team/asantos/
Aldrenhttps://realpython.com/team/asantos/
https://realpython.com/team/bzaczynski/
Bartoszhttps://realpython.com/team/bzaczynski/
https://realpython.com/team/gahjelle/
Geir Arnehttps://realpython.com/team/gahjelle/
https://realpython.com/team/jjablonski/
Joannahttps://realpython.com/team/jjablonski/
https://realpython.com/team/jschmitt/
Jacobhttps://realpython.com/team/jschmitt/
Level Up Your Python Skills »https://realpython.com/account/join/?utm_source=rp_article_footer&utm_content=python-menus-toolbars
Level Up Your Python Skills »https://realpython.com/account/join/?utm_source=rp_article_footer&utm_content=python-menus-toolbars
https://realpython.com/feedback/survey/article/python-menus-toolbars/liked/?from=article-comments
https://realpython.com/feedback/survey/article/python-menus-toolbars/disliked/?from=article-comments
LinkedInhttps://www.linkedin.com/sharing/share-offsite/?url=https%3A%2F%2Frealpython.com%2Fpython-menus-toolbars%2F
Twitterhttps://twitter.com/intent/tweet/?text=Interesting%20Python%20article%20on%20%40realpython%3A%20Python%20and%20PyQt%3A%20Creating%20Menus%2C%20Toolbars%2C%20and%20Status%20Bars&url=https%3A%2F%2Frealpython.com%2Fpython-menus-toolbars%2F
Blueskyhttps://bsky.app/intent/compose?text=Interesting%20Python%20article%20on%20%40realpython.com%3A%20Python%20and%20PyQt%3A%20Creating%20Menus%2C%20Toolbars%2C%20and%20Status%20Bars%20https%3A%2F%2Frealpython.com%2Fpython-menus-toolbars%2F
Facebookhttps://facebook.com/sharer/sharer.php?u=https%3A%2F%2Frealpython.com%2Fpython-menus-toolbars%2F
Get tips for asking good questionshttps://realpython.com/python-beginner-tips/#tip-9-ask-good-questions
get answers to common questions in our support portalhttps://support.realpython.com
Real Python Community Chathttps://realpython.com/community/
“Office Hours” Live Q&A Sessionhttps://realpython.com/office-hours/
intermediatehttps://realpython.com/tutorials/intermediate/
guihttps://realpython.com/tutorials/gui/
Python and PyQt: Building a GUI Desktop Calculatorhttps://realpython.com/python-pyqt-gui-calculator/?utm_source=realpython&utm_medium=web&utm_campaign=related-post&utm_content=python-menus-toolbars
Qt Designer and Python: Build Your GUI Applications Fasterhttps://realpython.com/qt-designer-python/?utm_source=realpython&utm_medium=web&utm_campaign=related-post&utm_content=python-menus-toolbars
PyQt Layouts: Create Professional-Looking GUI Applicationshttps://realpython.com/python-pyqt-layout/?utm_source=realpython&utm_medium=web&utm_campaign=related-post&utm_content=python-menus-toolbars
Use PyQt's QThread to Prevent Freezing GUIshttps://realpython.com/python-pyqt-qthread/?utm_source=realpython&utm_medium=web&utm_campaign=related-post&utm_content=python-menus-toolbars
Python GUI Programming: Your Tkinter Tutorialhttps://realpython.com/python-gui-tkinter/?utm_source=realpython&utm_medium=web&utm_campaign=related-post&utm_content=python-menus-toolbars
https://realpython.com/account/signup/?intent=continue_reading&utm_source=rp&utm_medium=web&utm_campaign=rwn&utm_content=v1&next=%2Fpython-menus-toolbars%2F
Continue »https://realpython.com/account/signup/?intent=continue_reading&utm_source=rp&utm_medium=web&utm_campaign=rwn&utm_content=v1&next=%2Fpython-menus-toolbars%2F
Sign-Inhttps://realpython.com/account/login/?next=/python-menus-toolbars/
Start Herehttps://realpython.com/start-here/
Learning Resourceshttps://realpython.com/search
Code Mentorhttps://realpython.com/mentor/
Python Referencehttps://realpython.com/ref/
Python Cheat Sheethttps://realpython.com/cheatsheets/python/
Support Centerhttps://support.realpython.com/
Learning Pathshttps://realpython.com/learning-paths/
Quizzes & Exerciseshttps://realpython.com/quizzes/
Browse Topicshttps://realpython.com/tutorials/all/
Live Courseshttps://realpython.com/live/
Bookshttps://realpython.com/books/
Podcasthttps://realpython.com/podcasts/rpp/
Newsletterhttps://realpython.com/newsletter/
Community Chathttps://realpython.com/community/
Office Hourshttps://realpython.com/office-hours/
Learner Storieshttps://realpython.com/learner-stories/
Plans & Pricinghttps://realpython.com/account/join/
Team Planshttps://realpython.com/account/join-team/
For Businesshttps://realpython.com/account/join-team/inquiry/
For Schoolshttps://realpython.com/account/join-team/education-inquiry/
Reviewshttps://realpython.com/learner-stories/
About Ushttps://realpython.com/about/
Teamhttps://realpython.com/team/
Mission & Valueshttps://realpython.com/mission/
Editorial Guidelineshttps://realpython.com/editorial-guidelines/
Sponsorshipshttps://realpython.com/sponsorships/
Careershttps://realpython.workable.com
Press Kithttps://realpython.com/media-kit/
Merchhttps://realpython.com/merch
https://www.youtube.com/realpython
https://x.com/realpython
https://www.linkedin.com/company/realpython-com
https://www.facebook.com/LearnRealPython
https://github.com/realpython/
Privacy Policyhttps://realpython.com/privacy-policy/
Terms of Usehttps://realpython.com/terms/
Securityhttps://realpython.com/security/
Contacthttps://realpython.com/contact/
https://realpython.com/

Viewport: width=device-width, initial-scale=1, shrink-to-fit=no, viewport-fit=cover

Robots: max-image-preview:large


URLs of crawlers that visited me.