PyQt
四哥
这个作者很懒,什么都没留下…
展开
-
PyQt: Hello world
# coding: gbkfrom PyQt4.QtCore import *from PyQt4.QtGui import *import sysapp = QApplication(sys.argv)#label = QLabel("Hello world!")label = QLabel("HelloQt!")label.show()sys.e原创 2012-09-10 23:31:02 · 1064 阅读 · 0 评论 -
PyQt: layout widgets
# coding: gbkfrom PyQt4.QtCore import *from PyQt4.QtGui import *import sysapp = QApplication(sys.argv)window = QWidget()window.setWindowTitle("测试")layout = QVBoxLayout()window.原创 2012-09-10 23:39:23 · 1003 阅读 · 0 评论