...
Name
qgroupbox — container widget with frame and title
Syntax
Panel | ||||||
---|---|---|---|---|---|---|
| ||||||
qgroupbox title |
Description
The qgroupbox command creates a QGroupBox object. This is a titled container widget with a frame. A layout manager is still required in order to arrange the contents inside.
Arguments
title
A title placed on the surrounding frame.
Examples
Ex.1: Horizontal group
Anchor | ||||
---|---|---|---|---|
|
No Format | ||||
---|---|---|---|---|
| ||||
set w [qwidget ]
qsetwindowtitle GroupBox
qvboxlayout {
qgroupbox "My GroupBox"
qhboxlayout {
qlabel "Left"
qlabel "Right"
}
}
qshow $w
{noformat}
!att:_img_cmd^qgroupbox.png!
|