Added about box and application icon
[biaweb_qt.git] / main_window.py
index bf22310..02eaa8b 100644 (file)
@@ -373,6 +373,13 @@ class MainWindow (PyQt4.QtGui.QMainWindow, ui_main_window.Ui_MainWindow):
                        gendlg = gend.GenerateDialog (self, self.current_db)
                        gendlg.exec_ ()
 
+       # about menu is triggered
+       def onAbout (self):
+               PyQt4.QtGui.QMessageBox.about (self, "BiaWeb Qt",
+                       "<b>A static website/weblog content management system</b><br /><br />\
+Copyright (C) 2010 <a href=\"http://www.harishankar.org\">Harishankar</a><br />\
+Licensed under GNU/GPL v3")
+
        # file quit is clicked
        def onFileQuit (self):
                sys.exit (0)