Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. Connecting to menubar created in designer qt4 from python

Connecting to menubar created in designer qt4 from python

Scheduled Pinned Locked Moved General and Desktop
2 Posts 2 Posters 801 Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • R Offline
    R Offline
    rklein3013
    wrote on last edited by
    #1

    I created a menubar with an item - File / Exit. Now I would like to access them in my python code. Buttons are simple just type self.buttonB.clicked.connect(self.buttonB_clicked). How do I access the menubar File / Exit to then exit my program/gui

    1 Reply Last reply
    0
    • A Offline
      A Offline
      andreyc
      wrote on last edited by
      #2

      "Here":http://zetcode.com/gui/pyqt4/menusandtoolbars/ is an example for PyQt4

      1 Reply Last reply
      0

      • Login

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • Users
      • Groups
      • Search
      • Get Qt Extensions
      • Unsolved