Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Wiki Markup
{alias:qgroupbox}

Name

qgroupbox — container widget with frame and title

...

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

...

No Format
bgColor#eeeeee
borderWidth1

set w [qwidget ]
qsetwindowtitle GroupBox
qvboxlayout {
	qgroupbox "My GroupBox"
	qhboxlayout {
		qlabel "Left"
		qlabel "Right"
	}
}
qshow $w

...