dummy functions for NYI stuff
[vuplus_bitbake] / bin / commander / mainwindow.py
1 #!/usr/bin/env python
2 # -*- coding: iso8859-15 -*-
3
4 from appinfo import *
5 from mainwindowbase import *
6 from aboutdialog import *
7
8 class MainWindow( MainWindowBase ):
9
10     def __init__( self, parent = None, name = None, fl = 0 ):
11         MainWindowBase.__init__(self, parent, name, fl )
12
13     def fileNew(self):
14         print "MainWindowBase.fileNew(): Not implemented yet"
15         QMessageBox.information( self, "%s V%s" % ( appname, appversion ), "Not implemented yet" )
16
17     def fileOpen(self):
18         print "MainWindowBase.fileOpen(): Not implemented yet"
19         QMessageBox.information( self, "%s V%s" % ( appname, appversion ), "Not implemented yet" )
20
21     def fileSave(self):
22         print "MainWindowBase.fileSave(): Not implemented yet"
23         QMessageBox.information( self, "%s V%s" % ( appname, appversion ), "Not implemented yet" )
24
25     def fileSaveAs(self):
26         print "MainWindowBase.fileSaveAs(): Not implemented yet"
27         QMessageBox.information( self, "%s V%s" % ( appname, appversion ), "Not implemented yet" )
28
29     def filePrint(self):
30         print "MainWindowBase.filePrint(): Not implemented yet"
31         QMessageBox.information( self, "%s V%s" % ( appname, appversion ), "Not implemented yet" )
32
33     def fileExit(self):
34         print "MainWindowBase.fileExit(): Not implemented yet"
35         QMessageBox.information( self, "%s V%s" % ( appname, appversion ), "Not implemented yet" )
36
37     def editUndo(self):
38         print "MainWindowBase.editUndo(): Not implemented yet"
39         QMessageBox.information( self, "%s V%s" % ( appname, appversion ), "Not implemented yet" )
40
41     def editRedo(self):
42         print "MainWindowBase.editRedo(): Not implemented yet"
43         QMessageBox.information( self, "%s V%s" % ( appname, appversion ), "Not implemented yet" )
44
45     def editCut(self):
46         print "MainWindowBase.editCut(): Not implemented yet"
47         QMessageBox.information( self, "%s V%s" % ( appname, appversion ), "Not implemented yet" )
48
49     def editCopy(self):
50         print "MainWindowBase.editCopy(): Not implemented yet"
51         QMessageBox.information( self, "%s V%s" % ( appname, appversion ), "Not implemented yet" )
52
53     def editPaste(self):
54         print "MainWindowBase.editPaste(): Not implemented yet"
55         QMessageBox.information( self, "%s V%s" % ( appname, appversion ), "Not implemented yet" )
56
57     def editFind(self):
58         print "MainWindowBase.editFind(): Not implemented yet"
59         QMessageBox.information( self, "%s V%s" % ( appname, appversion ), "Not implemented yet" )
60
61     def helpIndex(self):
62         print "MainWindowBase.helpIndex(): Not implemented yet"
63         QMessageBox.information( self, "%s V%s" % ( appname, appversion ), "Not implemented yet" )
64
65     def helpContents(self):
66         print "MainWindowBase.helpContents(): Not implemented yet"
67         QMessageBox.information( self, "%s V%s" % ( appname, appversion ), "Not implemented yet" )
68
69     def helpAbout(self):
70         d = AboutDialog()
71         d.exec_loop()
72
73 #------------------------------------------------------------------------#
74 # main
75 #------------------------------------------------------------------------#
76
77 if __name__ == "__main__":
78     import sys
79     from qt import *
80     app = QApplication( sys.argv )
81     mw = MainWindow()
82     mw.show()
83     app.setMainWidget( mw )
84     app.exec_loop()
85