Wiki Markup |
---|
{alias:qgroupbox}
h2. Name
*qgroupbox* — container widget with frame and title
h2. Syntax
{panel:|borderStyle=solid|borderWidth=1|bgColor=#FFFFAA}
*qgroupbox* _title_
{panel}
h2. 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.
h2. Arguments
_title_
{indent}
A title placed on the surrounding frame.
{indent}
h2. Examples
h3. Ex.1: Horizontal group
{anchor:Horizontal group}
{noformat:|borderWidth=1|bgColor=#eeeeee}
set w [qwidget ]
qsetwindowtitle GroupBox
qvboxlayout {
qgroupbox "My GroupBox"
qhboxlayout {
qlabel "Left"
qlabel "Right"
}
}
qshow $w
{noformat}
!att:_img_cmd^qgroupbox.png!
{pagebreak} |
Page Comparison
Manage space
Manage content
Integrations