diff options
Diffstat (limited to 'doc/html/ntqlabel.html')
-rw-r--r-- | doc/html/ntqlabel.html | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/doc/html/ntqlabel.html b/doc/html/ntqlabel.html index abdea23e4..7d7ddd03c 100644 --- a/doc/html/ntqlabel.html +++ b/doc/html/ntqlabel.html @@ -99,7 +99,7 @@ for specifying a focus accelerator key for another widget. <center><table cellpadding="4" cellspacing="2" border="0"> <tr bgcolor="#a2c511"> <th valign="top">Content <th valign="top">Setting <tr bgcolor="#f0f0f0"> <td valign="top">Plain text -<td valign="top">Pass a <a href="ntqstring.html">TQString</a> to <a href="#setText">setText</a>(). +<td valign="top">Pass a <a href="tqstring.html">TQString</a> to <a href="#setText">setText</a>(). <tr bgcolor="#d0d0d0"> <td valign="top">Rich text <td valign="top">Pass a TQString that contains rich text to setText(). <tr bgcolor="#f0f0f0"> <td valign="top">A pixmap @@ -152,14 +152,14 @@ Constructs an empty label. to the <a href="ntqframe.html">TQFrame</a> constructor. <p> <p>See also <a href="#alignment-prop">alignment</a>, <a href="ntqframe.html#setFrameStyle">setFrameStyle</a>(), and <a href="#indent-prop">indent</a>. -<h3 class=fn><a name="TQLabel-2"></a>TQLabel::TQLabel ( const <a href="ntqstring.html">TQString</a> & text, <a href="tqwidget.html">TQWidget</a> * parent, const char * name = 0, WFlags f = 0 ) +<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 to the <a href="ntqframe.html">TQFrame</a> constructor. <p> <p>See also <a href="#text-prop">text</a>, <a href="#alignment-prop">alignment</a>, <a href="ntqframe.html#setFrameStyle">setFrameStyle</a>(), and <a href="#indent-prop">indent</a>. -<h3 class=fn><a name="TQLabel-3"></a>TQLabel::TQLabel ( <a href="tqwidget.html">TQWidget</a> * buddy, const <a href="ntqstring.html">TQString</a> & text, <a href="tqwidget.html">TQWidget</a> * parent, const char * name = 0, WFlags f = 0 ) +<h3 class=fn><a name="TQLabel-3"></a>TQLabel::TQLabel ( <a href="tqwidget.html">TQWidget</a> * buddy, 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>. The label has a buddy widget, <em>buddy</em>. @@ -291,7 +291,7 @@ Does nothing if the integer's string representation is the same as the current contents of the label. <p> The buddy accelerator, if any, is disabled. <p> The label resizes itself if auto-resizing is enabled. -<p> <p>See also <a href="#text-prop">text</a>, <a href="ntqstring.html#setNum">TQString::setNum</a>(), and <a href="#setBuddy">setBuddy</a>(). +<p> <p>See also <a href="#text-prop">text</a>, <a href="tqstring.html#setNum">TQString::setNum</a>(), and <a href="#setBuddy">setBuddy</a>(). <h3 class=fn>void <a name="setNum-2"></a>TQLabel::setNum ( double num )<tt> [virtual slot]</tt> </h3> @@ -302,7 +302,7 @@ Does nothing if the double's string representation is the same as the current contents of the label. <p> The buddy accelerator, if any, is disabled. <p> The label resizes itself if auto-resizing is enabled. -<p> <p>See also <a href="#text-prop">text</a>, <a href="ntqstring.html#setNum">TQString::setNum</a>(), and <a href="#setBuddy">setBuddy</a>(). +<p> <p>See also <a href="#text-prop">text</a>, <a href="tqstring.html#setNum">TQString::setNum</a>(), and <a href="#setBuddy">setBuddy</a>(). <h3 class=fn>void <a name="setPicture"></a>TQLabel::setPicture ( const <a href="ntqpicture.html">TQPicture</a> & picture )<tt> [virtual slot]</tt> </h3> @@ -317,13 +317,13 @@ See the <a href="ntqlabel.html#pixmap-prop">"pixmap"</a> property for details. <h3 class=fn>void <a name="setScaledContents"></a>TQLabel::setScaledContents ( bool ) </h3><p>Sets whether the label will scale its contents to fill all available space. See the <a href="ntqlabel.html#scaledContents-prop">"scaledContents"</a> property for details. -<h3 class=fn>void <a name="setText"></a>TQLabel::setText ( const <a href="ntqstring.html">TQString</a> & )<tt> [virtual slot]</tt> +<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="ntqlabel.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><p>Sets the label's text format. See the <a href="ntqlabel.html#textFormat-prop">"textFormat"</a> property for details. -<h3 class=fn><a href="ntqstring.html">TQString</a> <a name="text"></a>TQLabel::text () const +<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="ntqlabel.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 @@ -379,7 +379,7 @@ pixmap to fill the available space. <p> <p>See also <a href="#scaledContents-prop">scaledContents</a>. <p>Set this property's value with <a href="#setScaledContents">setScaledContents</a>() and get this property's value with <a href="#hasScaledContents">hasScaledContents</a>(). -<h3 class=fn><a href="ntqstring.html">TQString</a> <a name="text-prop"></a>text</h3> +<h3 class=fn><a href="tqstring.html">TQString</a> <a name="text-prop"></a>text</h3> <p>This property holds the label's text. <p>If no text has been set this will return an empty string. Setting the text clears any previous content, unless they are the same. |