From 6f57abfc9cd3acf1d648aee696947ac9216adb71 Mon Sep 17 00:00:00 2001 From: Michele Calgaro Date: Mon, 9 Sep 2024 14:57:42 +0900 Subject: Rename remaining ntq[s-z]* related files to equivalent tq* Signed-off-by: Michele Calgaro --- doc/html/tqlabel.html | 42 +++++++++++++++++++++--------------------- 1 file changed, 21 insertions(+), 21 deletions(-) (limited to 'doc/html/tqlabel.html') diff --git a/doc/html/tqlabel.html b/doc/html/tqlabel.html index f963b82b6..045d6ec36 100644 --- a/doc/html/tqlabel.html +++ b/doc/html/tqlabel.html @@ -148,14 +148,14 @@ also use the setBuddy() function to accomplish the same

TQLabel::TQLabel ( TQWidget * parent, const char * name = 0, WFlags f = 0 )

Constructs an empty label. -

The parent, name and widget flag f, arguments are passed +

The parent, name and widget flag f, arguments are passed to the TQFrame constructor.

See also alignment, setFrameStyle(), and indent.

TQLabel::TQLabel ( const TQString & text, TQWidget * parent, const char * name = 0, WFlags f = 0 )

Constructs a label that displays the text, text. -

The parent, name and widget flag f, arguments are passed +

The parent, name and widget flag f, arguments are passed to the TQFrame constructor.

See also text, alignment, setFrameStyle(), and indent. @@ -167,7 +167,7 @@ buddy widget, buddy. 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. -

The parent, name and widget flag, f, arguments are passed +

The parent, name and widget flag, f, arguments are passed to the TQFrame constructor.

See also text, setBuddy(), alignment, setFrameStyle(), and indent. @@ -243,7 +243,7 @@ the keyboard focus is transferred to the

The buddy mechanism is only available for TQLabels that contain plain text in which one letter is prefixed with an ampersand, &. This letter is set as the accelerator key. The letter is displayed -underlined, and the '&' is not displayed (i.e. the ShowPrefix +underlined, and the '&' is not displayed (i.e. the ShowPrefix alignment flag is turned on; see setAlignment()).

In a dialog, you might create two data entry widgets and a label for each, and set up the geometry layout so each label is just to @@ -320,31 +320,31 @@ See the "scaledContents" property

void TQLabel::setText ( const TQString & ) [virtual slot]

Sets the label's text. See the "text" property for details. -

void TQLabel::setTextFormat ( TextFormat ) +

void TQLabel::setTextFormat ( TextFormat )

Sets the label's text format. See the "textFormat" property for details.

TQString TQLabel::text () const

Returns the label's text. See the "text" property for details. -

TextFormat TQLabel::textFormat () const +

TextFormat TQLabel::textFormat () const

Returns the label's text format. See the "textFormat" property for details.


Property Documentation

Alignment alignment

This property holds the alignment of the label's contents. -

The alignment is a bitwise OR of TQt::AlignmentFlags and TQt::TextFlags values. The ExpandTabs, SingleLine and ShowPrefix flags apply only if the label contains plain text; -otherwise they are ignored. The DontClip flag is always -ignored. WordBreak applies to both rich text and plain text -labels. The BreakAnywhere flag is not supported in TQLabel. -

If the label has a buddy, the ShowPrefix flag is forced to +

The alignment is a bitwise OR of TQt::AlignmentFlags and TQt::TextFlags values. The ExpandTabs, SingleLine and ShowPrefix flags apply only if the label contains plain text; +otherwise they are ignored. The DontClip flag is always +ignored. WordBreak applies to both rich text and plain text +labels. The BreakAnywhere flag is not supported in TQLabel. +

If the label has a buddy, the ShowPrefix flag is forced to TRUE.

The default alignment is AlignAuto | AlignVCenter | ExpandTabs if the label doesn't have a buddy and AlignAuto | AlignVCenter | ExpandTabs | ShowPrefix if the label has a buddy. If the label -contains rich text, additionally WordBreak is turned on. -

See also TQt::AlignmentFlags, setBuddy(), and text. +contains rich text, additionally WordBreak is turned on. +

See also TQt::AlignmentFlags, setBuddy(), and text.

Set this property's value with setAlignment() and get this property's value with alignment(). -

BackgroundMode backgroundMode

+

BackgroundMode backgroundMode

This property holds the label's background mode.

Get this property with backgroundMode().

See also TQWidget::backgroundMode. @@ -352,9 +352,9 @@ contains rich text, additionally WordBreak

int indent

This property holds the label's text indent in pixels.

If a label displays text, the indent applies to the left edge if -alignment() is AlignLeft, to the right edge if alignment() is -AlignRight, to the top edge if alignment() is AlignTop, and -to to the bottom edge if alignment() is AlignBottom. +alignment() is AlignLeft, to the right edge if alignment() is +AlignRight, to the top edge if alignment() is AlignTop, and +to to the bottom edge if alignment() is AlignBottom.

If indent is negative, or if no indent has been set, the label computes the effective indent as follows: If frameWidth() is 0, the effective indent becomes 0. If frameWidth() is greater than 0, @@ -385,7 +385,7 @@ pixmap to fill the available space. the text clears any previous content, unless they are the same.

The text will be interpreted either as a plain text or as a rich text, depending on the text format setting; see setTextFormat(). -The default setting is AutoText, i.e. TQLabel will try to +The default setting is AutoText, i.e. TQLabel will try to auto-detect the format of the text set.

If the text is interpreted as a plain text and a buddy has been set, the buddy accelerator key is updated from the new text. @@ -399,11 +399,11 @@ and can also provide a scrollbar when necessary.

See also textFormat, setBuddy(), and alignment.

Set this property's value with setText() and get this property's value with text(). -

TextFormat textFormat

+

TextFormat textFormat

This property holds the label's text format. -

See the TQt::TextFormat enum for an explanation of the possible +

See the TQt::TextFormat enum for an explanation of the possible options. -

The default format is AutoText. +

The default format is AutoText.

See also text.

Set this property's value with setTextFormat() and get this property's value with textFormat(). -- cgit v1.2.1