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
Forum Updated to NodeBB v4.3 + New Features

Connecting to menubar created in designer qt4 from python

Scheduled Pinned Locked Moved General and Desktop
2 Posts 2 Posters 804 Views 1 Watching
  • 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 10 Sept 2014, 15:35 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 10 Sept 2014, 23:45 last edited by
      #2

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

      1 Reply Last reply
      0

      1/2

      10 Sept 2014, 15:35

      • Login

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