Revision: 57961
Initial Code
Initial URL
Initial Description
Initial Title
Initial Tags
Initial Language
at June 18, 2012 00:22 by akus85
Initial Code
from PyQt4 import QtGui, QtCore
import sys
class Window(QtGui.QMainWindow):
def __init__(self):
QtGui.QMainWindow.__init__(self) #import all widgets and core functions
self.resize(200,200)
self.setWindowTitle('First Window')
app = QtGui.QApplication(sys.argv)
main = Window()
main.show()
sys.exit(app.exec_()) #freeze screen
Initial URL
Initial Description
Initial Title
First Window in PyQt4
Initial Tags
window, python
Initial Language
Python