Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
Loading...
Searching...
No Matches
src_gui_widgets_qgroupbox.cpp File Reference

(f371f8a64dc76ec9ff07b666577b7ab47b69751d)

Go to the source code of this file.

Functions

g setTitle ("&User information")
 [0]
 
radio1 setChecked (true)
 
vbox addWidget (radio1)
 
vbox addWidget (radio2)
 
vbox addWidget (radio3)
 
vbox addStretch (1)
 
groupBox setLayout (vbox)
 

Variables

QGroupBoxgroupBox = new QGroupBox(tr("Group Box with Layout"))
 [0]
 
QRadioButtonradio1 = new QRadioButton(tr("&Radio button 1"))
 
QRadioButtonradio2 = new QRadioButton(tr("R&adio button 2"))
 
QRadioButtonradio3 = new QRadioButton(tr("Ra&dio button 3"))
 
QVBoxLayoutvbox = new QVBoxLayout
 

Function Documentation

◆ addStretch()

vbox addStretch ( 1 )

◆ addWidget() [1/3]

vbox addWidget ( radio1 )

◆ addWidget() [2/3]

vbox addWidget ( radio2 )

◆ addWidget() [3/3]

vbox addWidget ( radio3 )

◆ setChecked()

radio1 setChecked ( true )

◆ setLayout()

groupBox setLayout ( vbox )

◆ setTitle()

g setTitle ( "&User information" )

[0]

Variable Documentation

◆ groupBox

QGroupBox* groupBox = new QGroupBox(tr("Group Box with Layout"))

[0]

[Set up QGroupBox with layout]

Definition at line 9 of file src_gui_widgets_qgroupbox.cpp.

◆ radio1

QRadioButton * radio1 = new QRadioButton(tr("&Radio button 1"))

Definition at line 11 of file src_gui_widgets_qgroupbox.cpp.

◆ radio2

QRadioButton * radio2 = new QRadioButton(tr("R&adio button 2"))

Definition at line 12 of file src_gui_widgets_qgroupbox.cpp.

◆ radio3

QRadioButton * radio3 = new QRadioButton(tr("Ra&dio button 3"))

Definition at line 13 of file src_gui_widgets_qgroupbox.cpp.

◆ vbox

QVBoxLayout * vbox = new QVBoxLayout

Definition at line 17 of file src_gui_widgets_qgroupbox.cpp.