Added the Site Configuration dialog
[biaweb_qt.git] / main_window.py
index 258e0d4..d191866 100644 (file)
@@ -3,6 +3,7 @@
 
 import PyQt4
 import ui_main_window
+import site_configuration_dialog as scd
 import sys
 
 class MainWindow (PyQt4.QtGui.QMainWindow, ui_main_window.Ui_MainWindow):
@@ -11,7 +12,8 @@ class MainWindow (PyQt4.QtGui.QMainWindow, ui_main_window.Ui_MainWindow):
                self.setupUi (self)
 
        def onFileNew (self):
-               print "New triggered"
+               dlg = scd.SiteConfigDialog (self)
+               dlg.exec_ ()
 
        def onFileQuit (self):
                sys.exit (0)