Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migrated to Confluence 5.3

...

Name

qgroupbox — container widget with frame and title

Syntax

Panel
bgColor#FFFFAA
borderWidth1
borderStylesolid

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
Horizontal group
Horizontal group

No Format
bgColor#eeeeee
borderWidth1
set w [qwidget ]
qsetwindowtitle GroupBox
qvboxlayout {
	qgroupbox "My GroupBox"
	qhboxlayout {
		qlabel "Left"
		qlabel "Right"
	}
}
qshow $w

{noformat}

!att:_img_cmd^qgroupbox.png!

{pagebreak}

Image Added