diff options
Diffstat (limited to 'doc/html/tqlabel.html')
-rw-r--r-- | doc/html/tqlabel.html | 42 |
1 files changed, 21 insertions, 21 deletions
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 <a href="#setBuddy">setBuddy</a>() function to accomplish the same <h3 class=fn><a name="TQLabel"></a>TQLabel::TQLabel ( <a href="tqwidget.html">TQWidget</a> * parent, const char * name = 0, WFlags f = 0 ) </h3> Constructs an empty label. -<p> The <em>parent</em>, <em>name</em> and <a href="ntqt.html#WidgetFlags">widget flag</a> <em>f</em>, arguments are passed +<p> The <em>parent</em>, <em>name</em> and <a href="tqt.html#WidgetFlags">widget flag</a> <em>f</em>, arguments are passed to the <a href="tqframe.html">TQFrame</a> constructor. <p> <p>See also <a href="#alignment-prop">alignment</a>, <a href="tqframe.html#setFrameStyle">setFrameStyle</a>(), and <a href="#indent-prop">indent</a>. <h3 class=fn><a name="TQLabel-2"></a>TQLabel::TQLabel ( const <a href="tqstring.html">TQString</a> & text, <a href="tqwidget.html">TQWidget</a> * parent, const char * name = 0, WFlags f = 0 ) </h3> Constructs a label that displays the text, <em>text</em>. -<p> The <em>parent</em>, <em>name</em> and <a href="ntqt.html#WidgetFlags">widget flag</a> <em>f</em>, arguments are passed +<p> The <em>parent</em>, <em>name</em> and <a href="tqt.html#WidgetFlags">widget flag</a> <em>f</em>, arguments are passed to the <a href="tqframe.html">TQFrame</a> constructor. <p> <p>See also <a href="#text-prop">text</a>, <a href="#alignment-prop">alignment</a>, <a href="tqframe.html#setFrameStyle">setFrameStyle</a>(), and <a href="#indent-prop">indent</a>. @@ -167,7 +167,7 @@ buddy widget, <em>buddy</em>. 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. -<p> The <em>parent</em>, <em>name</em> and <a href="ntqt.html#WidgetFlags">widget flag</a>, <em>f</em>, arguments are passed +<p> The <em>parent</em>, <em>name</em> and <a href="tqt.html#WidgetFlags">widget flag</a>, <em>f</em>, arguments are passed to the <a href="tqframe.html">TQFrame</a> constructor. <p> <p>See also <a href="#text-prop">text</a>, <a href="#setBuddy">setBuddy</a>(), <a href="#alignment-prop">alignment</a>, <a href="tqframe.html#setFrameStyle">setFrameStyle</a>(), and <a href="#indent-prop">indent</a>. @@ -243,7 +243,7 @@ the <a href="focus.html#keyboard-focus">keyboard focus</a> is transferred to the <p> 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 <a href="ntqt.html#TextFlags-enum">ShowPrefix</a> +underlined, and the '&' is not displayed (i.e. the <a href="tqt.html#TextFlags-enum">ShowPrefix</a> alignment flag is turned on; see <a href="#setAlignment">setAlignment</a>()). <p> 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 <a href="tqlabel.html#scaledContents-prop">"scaledContents"</a> property <h3 class=fn>void <a name="setText"></a>TQLabel::setText ( const <a href="tqstring.html">TQString</a> & )<tt> [virtual slot]</tt> </h3><p>Sets the label's text. See the <a href="tqlabel.html#text-prop">"text"</a> property for details. -<h3 class=fn>void <a name="setTextFormat"></a>TQLabel::setTextFormat ( <a href="ntqt.html#TextFormat-enum">TextFormat</a> ) +<h3 class=fn>void <a name="setTextFormat"></a>TQLabel::setTextFormat ( <a href="tqt.html#TextFormat-enum">TextFormat</a> ) </h3><p>Sets the label's text format. See the <a href="tqlabel.html#textFormat-prop">"textFormat"</a> property for details. <h3 class=fn><a href="tqstring.html">TQString</a> <a name="text"></a>TQLabel::text () const </h3><p>Returns the label's text. See the <a href="tqlabel.html#text-prop">"text"</a> property for details. -<h3 class=fn><a href="ntqt.html#TextFormat-enum">TextFormat</a> <a name="textFormat"></a>TQLabel::textFormat () const +<h3 class=fn><a href="tqt.html#TextFormat-enum">TextFormat</a> <a name="textFormat"></a>TQLabel::textFormat () const </h3><p>Returns the label's text format. See the <a href="tqlabel.html#textFormat-prop">"textFormat"</a> property for details. <hr><h2>Property Documentation</h2> <h3 class=fn>Alignment <a name="alignment-prop"></a>alignment</h3> <p>This property holds the alignment of the label's contents. -<p>The alignment is a bitwise OR of <a href="ntqt.html#AlignmentFlags-enum">TQt::AlignmentFlags</a> and <a href="ntqt.html#TextFlags-enum">TQt::TextFlags</a> values. The <a href="ntqt.html#TextFlags-enum">ExpandTabs</a>, <a href="ntqt.html#TextFlags-enum">SingleLine</a> and <a href="ntqt.html#TextFlags-enum">ShowPrefix</a> flags apply only if the label contains plain text; -otherwise they are ignored. The <a href="ntqt.html#TextFlags-enum">DontClip</a> flag is always -ignored. <a href="ntqt.html#TextFlags-enum">WordBreak</a> applies to both rich text and plain text -labels. The <a href="ntqt.html#TextFlags-enum">BreakAnywhere</a> flag is not supported in TQLabel. -<p> If the label has a buddy, the <a href="ntqt.html#TextFlags-enum">ShowPrefix</a> flag is forced to +<p>The alignment is a bitwise OR of <a href="tqt.html#AlignmentFlags-enum">TQt::AlignmentFlags</a> and <a href="tqt.html#TextFlags-enum">TQt::TextFlags</a> values. The <a href="tqt.html#TextFlags-enum">ExpandTabs</a>, <a href="tqt.html#TextFlags-enum">SingleLine</a> and <a href="tqt.html#TextFlags-enum">ShowPrefix</a> flags apply only if the label contains plain text; +otherwise they are ignored. The <a href="tqt.html#TextFlags-enum">DontClip</a> flag is always +ignored. <a href="tqt.html#TextFlags-enum">WordBreak</a> applies to both rich text and plain text +labels. The <a href="tqt.html#TextFlags-enum">BreakAnywhere</a> flag is not supported in TQLabel. +<p> If the label has a buddy, the <a href="tqt.html#TextFlags-enum">ShowPrefix</a> flag is forced to TRUE. <p> The default alignment is <tt>AlignAuto | AlignVCenter | ExpandTabs</tt> if the label doesn't have a buddy and <tt>AlignAuto | AlignVCenter | ExpandTabs | ShowPrefix</tt> if the label has a buddy. If the label -contains rich text, additionally <a href="ntqt.html#TextFlags-enum">WordBreak</a> is turned on. -<p> <p>See also <a href="ntqt.html#AlignmentFlags-enum">TQt::AlignmentFlags</a>, <a href="#setBuddy">setBuddy</a>(), and <a href="#text-prop">text</a>. +contains rich text, additionally <a href="tqt.html#TextFlags-enum">WordBreak</a> is turned on. +<p> <p>See also <a href="tqt.html#AlignmentFlags-enum">TQt::AlignmentFlags</a>, <a href="#setBuddy">setBuddy</a>(), and <a href="#text-prop">text</a>. <p>Set this property's value with <a href="#setAlignment">setAlignment</a>() and get this property's value with <a href="#alignment">alignment</a>(). -<h3 class=fn><a href="ntqt.html#BackgroundMode-enum">BackgroundMode</a> <a name="backgroundMode-prop"></a>backgroundMode</h3> +<h3 class=fn><a href="tqt.html#BackgroundMode-enum">BackgroundMode</a> <a name="backgroundMode-prop"></a>backgroundMode</h3> <p>This property holds the label's background mode. <p>Get this property with <a href="tqwidget.html#backgroundMode">backgroundMode</a>(). <p> <p>See also <a href="tqwidget.html#backgroundMode-prop">TQWidget::backgroundMode</a>. @@ -352,9 +352,9 @@ contains rich text, additionally <a href="ntqt.html#TextFlags-enum">WordBreak</a <p><h3 class=fn>int <a name="indent-prop"></a>indent</h3> <p>This property holds the label's text indent in pixels. <p>If a label displays text, the indent applies to the left edge if -<a href="#alignment">alignment</a>() is <a href="ntqt.html#AlignmentFlags-enum">AlignLeft</a>, to the right edge if alignment() is -<a href="ntqt.html#AlignmentFlags-enum">AlignRight</a>, to the top edge if alignment() is <a href="ntqt.html#AlignmentFlags-enum">AlignTop</a>, and -to to the bottom edge if alignment() is <a href="ntqt.html#AlignmentFlags-enum">AlignBottom</a>. +<a href="#alignment">alignment</a>() is <a href="tqt.html#AlignmentFlags-enum">AlignLeft</a>, to the right edge if alignment() is +<a href="tqt.html#AlignmentFlags-enum">AlignRight</a>, to the top edge if alignment() is <a href="tqt.html#AlignmentFlags-enum">AlignTop</a>, and +to to the bottom edge if alignment() is <a href="tqt.html#AlignmentFlags-enum">AlignBottom</a>. <p> If indent is negative, or if no indent has been set, the label computes the effective indent as follows: If <a href="tqframe.html#frameWidth">frameWidth</a>() 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. <p> The text will be interpreted either as a plain text or as a rich text, depending on the text format setting; see <a href="#setTextFormat">setTextFormat</a>(). -The default setting is <a href="ntqt.html#TextFormat-enum">AutoText</a>, i.e. TQLabel will try to +The default setting is <a href="tqt.html#TextFormat-enum">AutoText</a>, i.e. TQLabel will try to auto-detect the format of the text set. <p> 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. <p> <p>See also <a href="#textFormat-prop">textFormat</a>, <a href="#setBuddy">setBuddy</a>(), and <a href="#alignment-prop">alignment</a>. <p>Set this property's value with <a href="#setText">setText</a>() and get this property's value with <a href="#text">text</a>(). -<h3 class=fn><a href="ntqt.html#TextFormat-enum">TextFormat</a> <a name="textFormat-prop"></a>textFormat</h3> +<h3 class=fn><a href="tqt.html#TextFormat-enum">TextFormat</a> <a name="textFormat-prop"></a>textFormat</h3> <p>This property holds the label's text format. -<p>See the <a href="ntqt.html#TextFormat-enum">TQt::TextFormat</a> enum for an explanation of the possible +<p>See the <a href="tqt.html#TextFormat-enum">TQt::TextFormat</a> enum for an explanation of the possible options. -<p> The default format is <a href="ntqt.html#TextFormat-enum">AutoText</a>. +<p> The default format is <a href="tqt.html#TextFormat-enum">AutoText</a>. <p> <p>See also <a href="#text-prop">text</a>. <p>Set this property's value with <a href="#setTextFormat">setTextFormat</a>() and get this property's value with <a href="#textFormat">textFormat</a>(). |