I have this code:

Qt Code:
  1. def CreateActions(self):
  2. global openAct
  3. openAct = QtGui.QAction("Open", self)
  4. openAct.setShortcut("Ctrl+O")
  5. self.connect(openAct, QtCore.SIGNAL("triggered()"), self, QtCore.SLOT("self.Open(self)"))
  6. def Open(self):
  7. print "test\n"
To copy to clipboard, switch view to plain text mode 

When I click the open button in my menu, nothing happens. When the code runs there are no errors. What is the problem?