GroupBox
A container that groups and organizes related widgets together. It provides a visual frame or box around the grouped widgets, along with an optional title, making it easier for users to understand the relationship between these widgets. It helps in structuring and presenting parts of a user interface, keeping elements organized and visually connected within an application
local group = GroupBox(title: optional)
Important
You can only set a layout to the widget and not add widgets directly
Note
using setChecked(false)
disables all the widgets in the widget. However, this only applies once setCheckable(true)
has been used.
Properties
- setLayout(layout)
Set a primary layout for the widget
- setBackgroundColor(color)
Sets background color for the widget
- setTitle(title)
Sets the title for the widget
- setToolTip(text)
Tooltips are brief informational messages that appear when the user hovers the mouse pointer over the tab
- setToolTipDuration(duration)
Set how long the tooltip displays
- getTooltip()
Returns the tooltip text
- getCheck()
Returns check status;
true
orfalse
- setCheck(check: bool)
Sets the box to be checked or not
- getTitle()
Gets the title for the widget