diff options
author | Michele Calgaro <michele.calgaro@yahoo.it> | 2024-08-12 22:02:11 +0900 |
---|---|---|
committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2024-08-12 22:02:11 +0900 |
commit | 42957a3f812a1db64a9ae452baa2d3fbc35f2466 (patch) | |
tree | 0928f4e01a3dcc0698b46c7608d8310e471bdb49 /doc/man/man3/tqlabel.3qt | |
parent | fef846914f8db6dc117e206ef913d519bf6bb33e (diff) | |
download | tqt3-42957a3f812a1db64a9ae452baa2d3fbc35f2466.tar.gz tqt3-42957a3f812a1db64a9ae452baa2d3fbc35f2466.zip |
Rename more widget nt* related files to equivalent tq*
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'doc/man/man3/tqlabel.3qt')
-rw-r--r-- | doc/man/man3/tqlabel.3qt | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/doc/man/man3/tqlabel.3qt b/doc/man/man3/tqlabel.3qt index f0a10914a..fab04e929 100644 --- a/doc/man/man3/tqlabel.3qt +++ b/doc/man/man3/tqlabel.3qt @@ -11,7 +11,7 @@ TQLabel \- Text or image display .SH SYNOPSIS \fC#include <tqlabel.h>\fR .PP -Inherits QFrame. +Inherits TQFrame. .PP .SS "Public Members" .in +1c @@ -147,13 +147,13 @@ l - l. Content Setting Plain text Pass a TQString to setText(). Rich text Pass a .PP When the content is changed using any of these functions, any previous content is cleared. .PP -The look of a TQLabel can be tuned in several ways. All the settings of QFrame are available for specifying a widget frame. The positioning of the content within the TQLabel widget area can be tuned with setAlignment() and setIndent(). For example, this code sets up a sunken panel with a two-line text in the bottom right corner (both lines being flush with the right side of the label): +The look of a TQLabel can be tuned in several ways. All the settings of TQFrame are available for specifying a widget frame. The positioning of the content within the TQLabel widget area can be tuned with setAlignment() and setIndent(). For example, this code sets up a sunken panel with a two-line text in the bottom right corner (both lines being flush with the right side of the label): .PP .nf .br TQLabel *label = new TQLabel( this ); .br - label->setFrameStyle( QFrame::Panel | QFrame::Sunken ); + label->setFrameStyle( TQFrame::Panel | TQFrame::Sunken ); .br label->setText( "first line\\nsecond line" ); .br @@ -185,13 +185,13 @@ See also TQLineEdit, TQTextEdit, TQPixmap, TQMovie, GUI Design Handbook: Label, .SH "TQLabel::TQLabel ( TQWidget * parent, const char * name = 0, WFlags f = 0 )" Constructs an empty label. .PP -The \fIparent\fR, \fIname\fR and widget flag \fIf\fR, arguments are passed to the QFrame constructor. +The \fIparent\fR, \fIname\fR and widget flag \fIf\fR, arguments are passed to the TQFrame constructor. .PP See also alignment, setFrameStyle(), and indent. .SH "TQLabel::TQLabel ( const TQString & text, TQWidget * parent, const char * name = 0, WFlags f = 0 )" Constructs a label that displays the text, \fItext\fR. .PP -The \fIparent\fR, \fIname\fR and widget flag \fIf\fR, arguments are passed to the QFrame constructor. +The \fIparent\fR, \fIname\fR and widget flag \fIf\fR, arguments are passed to the TQFrame constructor. .PP See also text, alignment, setFrameStyle(), and indent. .SH "TQLabel::TQLabel ( TQWidget * buddy, const TQString & text, TQWidget * parent, const char * name = 0, WFlags f = 0 )" @@ -199,7 +199,7 @@ Constructs a label that displays the text \fItext\fR. The label has a buddy widg .PP If the \fItext\fR contains an underlined letter (a letter preceded by an ampersand, &), and the text is in plain text format, when the user presses Alt+ the underlined letter, focus is passed to the buddy widget. .PP -The \fIparent\fR, \fIname\fR and widget flag, \fIf\fR, arguments are passed to the QFrame constructor. +The \fIparent\fR, \fIname\fR and widget flag, \fIf\fR, arguments are passed to the TQFrame constructor. .PP See also text, setBuddy(), alignment, setFrameStyle(), and indent. .SH "TQLabel::~TQLabel ()" @@ -223,7 +223,7 @@ Clears any label contents. Equivalent to setText( "" ). .SH "void TQLabel::drawContents ( TQPainter * p )\fC [virtual protected]\fR" Draws the label contents using the painter \fIp\fR. .PP -Reimplemented from QFrame. +Reimplemented from TQFrame. .SH "bool TQLabel::hasScaledContents () const" Returns TRUE if the label will scale its contents to fill all available space; otherwise returns FALSE. See the "scaledContents" property for details. .SH "int TQLabel::indent () const" |