Menu

[r193]: / trunk / examples / PyGuiExample / example.py  Maximize  Restore  History

Download this file

16 lines (14 with data), 331 Bytes

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
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()
Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.