root / trunk / gui / main.pyw

Revision 4, 1.0 kB (checked in by ocandy, 4 years ago)

An inital framework for a QT4 GUI

  • Property svn:executable set to *
Line 
1#!/usr/bin/env python
2
3"""
4main.pyw
5
6Open Coin prototype GUI
7
8Copyright (C) 2007 Andrew Nicholson <andy@infiniterecursion.com.au>
9
10This program is free software; you can redistribute it and/or modify
11it under the terms of the GNU General Public License as published by
12the Free Software Foundation; either version 2 of the License, or
13(at your option) any later version.
14
15This program is distributed in the hope that it will be useful,
16but WITHOUT ANY WARRANTY; without even the implied warranty of
17MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
18GNU General Public License for more details.
19
20You should have received a copy of the GNU General Public License
21along with this program; if not, write to the Free Software
22Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
23"""
24
25import sys
26from PyQt4.QtGui import QApplication
27from window import Window
28
29if __name__ == "__main__":
30
31    app = QApplication(sys.argv)
32    window = Window()
33    window.show()
34    sys.exit(app.exec_())
Note: See TracBrowser for help on using the browser.