Qt
Internal/Contributor docs for the Qt SDK. <b>Note:</b> These are NOT official API docs; those are found <a href='https://doc.qt.io/'>here</a>.
Loading...
Searching...
No Matches
src_gui_widgets_qlabel.cpp File Reference

(05fc3aef53348fb58be6308076e000825b704e58)

Go to the source code of this file.

Functions

label setFrameStyle (QFrame::Panel|QFrame::Sunken)
 
label setText ("first line\nsecond line")
 
label setAlignment (Qt::AlignBottom|Qt::AlignRight)
 
phoneLabel setBuddy (phoneEdit)
 
nameLabel setBuddy (nameEdit)
 

Variables

QLabellabel = new QLabel(this)
 [0]
 
QLineEditphoneEdit = new QLineEdit(this)
 [0]
 
QLabelphoneLabel = new QLabel("&Phone:", this)
 
QLineEditnameEdit = new QLineEdit(this)
 [1]
 
QLabelnameLabel = new QLabel("&Name:", this)
 

Function Documentation

◆ setAlignment()

◆ setBuddy() [1/2]

nameLabel setBuddy ( nameEdit )

◆ setBuddy() [2/2]

phoneLabel setBuddy ( phoneEdit )

◆ setFrameStyle()

label setFrameStyle ( QFrame::Panel|QFrame::Sunken )

◆ setText()

label setText ( "first line\nsecond line" )

Variable Documentation

◆ label

[0]

Definition at line 5 of file src_gui_widgets_qlabel.cpp.

◆ nameEdit

QLineEdit* nameEdit = new QLineEdit(this)

[1]

[2]

Definition at line 20 of file src_gui_widgets_qlabel.cpp.

◆ nameLabel

QLabel* nameLabel = new QLabel("&Name:", this)

Definition at line 21 of file src_gui_widgets_qlabel.cpp.

◆ phoneEdit

QLineEdit * phoneEdit = new QLineEdit(this)

[0]

[1]

Definition at line 13 of file src_gui_widgets_qlabel.cpp.

◆ phoneLabel

QLabel * phoneLabel = new QLabel("&Phone:", this)

Definition at line 14 of file src_gui_widgets_qlabel.cpp.