projects
/
biaweb_qt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Added the Site Configuration dialog
[biaweb_qt.git]
/
main_window.py
diff --git
a/main_window.py
b/main_window.py
index
258e0d4
..
d191866
100644
(file)
--- a/
main_window.py
+++ b/
main_window.py
@@
-3,6
+3,7
@@
import PyQt4
import ui_main_window
import PyQt4
import ui_main_window
+import site_configuration_dialog as scd
import sys
class MainWindow (PyQt4.QtGui.QMainWindow, ui_main_window.Ui_MainWindow):
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):
self.setupUi (self)
def onFileNew (self):
- print "New triggered"
+ dlg = scd.SiteConfigDialog (self)
+ dlg.exec_ ()
def onFileQuit (self):
sys.exit (0)
def onFileQuit (self):
sys.exit (0)