X-Git-Url: https://harishankar.org/repos/?p=biaweb_qt.git;a=blobdiff_plain;f=main_window.py;fp=main_window.py;h=d19186605a83a3726fc4c2e01a18d6d0ae8ea746;hp=258e0d463ee884d9264543ac75a17b3c930a7be9;hb=16ae2cf83fb95a5d87220d3f06608c8560afe5a6;hpb=b25aeeb74249ed427f6a6be8aa4cf9d643750040 diff --git a/main_window.py b/main_window.py index 258e0d4..d191866 100644 --- a/main_window.py +++ b/main_window.py @@ -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)