Qt Forum

    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Unsolved

    Update: Forum Guidelines & Code of Conduct

    Connecting to menubar created in designer qt4 from python

    General and Desktop
    2
    2
    624
    Loading More Posts
    • 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
      rklein3013 last edited by

      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 Reply Quote 0
      • A
        andreyc last edited by

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

        1 Reply Last reply Reply Quote 0
        • First post
          Last post