1toolbar = self.addToolBar("File") # create our toolbar
2edit=QAction(QtGui.QIcon("edit.png"),"Edit",self) # create a QAction
3saveEdit=QAction(QtGui.QIcon("save.png"),"Save",self) # create another one
4toolbar.addAction(edit) # ---
5# | --- add them to our toolbar
6toolbar.addAction(edit) # ---