QtBase  v6.3.1
Functions | Variables
src_gui_widgets_qlabel.cpp File Reference

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] More...
 
QLineEditphoneEdit = new QLineEdit(this)
 [0] More...
 
QLabelphoneLabel = new QLabel("&Phone:", this)
 
QLineEditnameEdit = new QLineEdit(this)
 [1] More...
 
QLabelnameLabel = new QLabel("&Name:", this)
 

Function Documentation

◆ setAlignment()

label setAlignment ( Qt::AlignBottom|Qt::AlignRight  )

◆ 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 52 of file src_gui_widgets_qlabel.cpp.

◆ nameEdit

QLineEdit* nameEdit = new QLineEdit(this)

[1]

[2]

Definition at line 67 of file src_gui_widgets_qlabel.cpp.

◆ nameLabel

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

Definition at line 68 of file src_gui_widgets_qlabel.cpp.

◆ phoneEdit

QLineEdit * phoneEdit = new QLineEdit(this)

[0]

[1]

Definition at line 60 of file src_gui_widgets_qlabel.cpp.

◆ phoneLabel

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

Definition at line 61 of file src_gui_widgets_qlabel.cpp.