projects
/
biaweb_qt.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
First commit
[biaweb_qt.git]
/
main_window.py
1
# BiaWeb Website content manager (c) 2010 V.Harishankar
2
# Main Window class
3
4
import
PyQt4
5
import
ui_main_window
6
import
sys
7
8
class
MainWindow
(
PyQt4
.
QtGui
.
QMainWindow
,
ui_main_window
.
Ui_MainWindow
):
9
def
__init__
(
self
):
10
PyQt4
.
QtGui
.
QMainWindow
.__
init
__
(
self
)
11
self
.
setupUi
(
self
)
12
13
def
onFileNew
(
self
):
14
print
"New triggered"
15
16
def
onFileQuit
(
self
):
17
sys
.
exit
(
0
)