if ans <> PyQt4.QtGui.QMessageBox.Yes:
event.ignore ()
+ # on help about dialog box
+ def on_help_about (self):
+ PyQt4.QtGui.QMessageBox.about (self, lang.ABOUT_TITLE, lang.ABOUT_TEXT)
+
# on file exit
def on_exit (self):
# call the close event
self.close()
+ # on file export - export current document to any external format based on
+ # a template
+ def on_file_export (self):
+ pass
+
# function to open a file
def on_file_open (self):
# if modified, confirm