Ok, below is a portion of the code that first (near as I can tell because I had nothign to do with desgining the program) sets up the menu (setupMenuBar) and then adds the commands to be used with the items:
def setupMenuBar(self): menubar = self.menuBar() file_ = menubar.addMenu("&File") file_.addAction(self.importEx) file_.addAction(self.exitAct) def createActions(self): fileMenu = QtGui.QMenu(self.tr("&File"), self) self.importEx = QtGui.QAction(self.tr("&Import Excel Document"), self) self.importEx.setShortcut(self.tr("Ctrl+E")) self.importEx.setStatusTip(self.tr("Import Excel Document")) self.connect(self.importEx, QtCore.SIGNAL("triggered()"), self.importExcel) self.exitAct = QtGui.QAction(self.tr("E&xit"), self) self.exitAct.setShortcut(self.tr("Ctrl+Q")) self.exitAct.setStatusTip(self.tr("Exit the application")) self.connect(self.exitAct, QtCore.SIGNAL("triggered()"), self, QtCore.SLOT("close()")) "Fredrik Lundh" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Brandon wrote: > >> I'm attempting to have a file copied from a menu selection. The menu >> already exists, but it won't even create the menu item. If anyone has >> any ideas, please let me know. > > try cutting down your code to a minimal example that illustrates the > problem, and post that code (that'll also allow us to figure out what > library you're using to create the menu...). > > </F > -- http://mail.python.org/mailman/listinfo/python-list