##// END OF EJS Templates
forgot to add header change...
forgot to add header change git-svn-id: svn://svn.code.sf.net/p/pythonqt/code/trunk@169 ea8d5007-eb21-0410-b261-ccb3ea6e24a9

File last commit:

r10:21d959e02207
r132:fadca774294c
Show More
example.py
15 lines | 331 B | text/x-python | PythonLexer
from PythonQt.QtGui import *
group = QGroupBox()
box = QVBoxLayout(group)
push1 = QPushButton(group)
box.addWidget(push1)
push2 = QPushButton(group)
box.addWidget(push2)
check = QCheckBox(group)
check.text = 'check me'
group.title = 'my title'
push1.text = 'press me'
push2.text = 'press me2'
box.addWidget(check)
group.show()