| 53 | "standard paragraphs to add them.") |
| 54 | |
| 55 | def createActions(self): |
| 56 | #self.saveAct = QtGui.QAction(QtGui.QIcon(':/images/save.png'), |
| 57 | #"&Save...", self, shortcut=QtGui.QKeySequence.Save, |
| 58 | #statusTip="Save the current form letter", |
| 59 | #triggered=self.save) |
| 60 | |
| 61 | |
| 62 | self.quitAct = QtGui.QAction("&Quit", self, shortcut="Ctrl+Q", |
| 63 | statusTip="Quit the application", triggered=self.close) |
| 64 | |
| 65 | self.aboutAct = QtGui.QAction("&About", self, |
| 66 | statusTip="Show the application's About box", |
| 67 | triggered=self.about) |
| 68 | |
| 69 | self.aboutQtAct = QtGui.QAction("About &Qt", self, |
| 70 | statusTip="Show the Qt library's About box", |
| 71 | triggered=QtGui.qApp.aboutQt) |
| 72 | |
| 73 | def createMenus(self): |
| 74 | self.fileMenu = self.menuBar().addMenu("&File") |