diff options
Diffstat (limited to 'doc/html/tqlabel.html')
| -rw-r--r-- | doc/html/tqlabel.html | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/doc/html/tqlabel.html b/doc/html/tqlabel.html index bfbc52ffa..e35c5f53b 100644 --- a/doc/html/tqlabel.html +++ b/doc/html/tqlabel.html @@ -34,7 +34,7 @@ body { background: #ffffff; color: black; } <p>The TQLabel widget provides a text or image display. <a href="#details">More...</a> <p><tt>#include <<a href="tqlabel-h.html">tqlabel.h</a>></tt> -<p>Inherits <a href="ntqframe.html">TQFrame</a>. +<p>Inherits <a href="tqframe.html">TQFrame</a>. <p><a href="tqlabel-members.html">List of all member functions.</a> <h2>Public Members</h2> <ul> @@ -116,7 +116,7 @@ by <a href="#clear">clear</a>(). <p> When the content is changed using any of these functions, any previous content is cleared. <p> The look of a TQLabel can be tuned in several ways. All the -settings of <a href="ntqframe.html">TQFrame</a> are available for specifying a widget frame. +settings of <a href="tqframe.html">TQFrame</a> are available for specifying a widget frame. The positioning of the content within the TQLabel widget area can be tuned with <a href="#setAlignment">setAlignment</a>() and <a href="#setIndent">setIndent</a>(). For example, this code sets up a sunken panel with a two-line text in the bottom @@ -124,7 +124,7 @@ right corner (both lines being flush with the right side of the label): <pre> TQLabel *label = new TQLabel( this ); - label-><a href="ntqframe.html#setFrameStyle">setFrameStyle</a>( TQFrame::<a href="ntqframe.html#Shape-enum">Panel</a> | TQFrame::<a href="ntqframe.html#Shadow-enum">Sunken</a> ); + label-><a href="tqframe.html#setFrameStyle">setFrameStyle</a>( TQFrame::<a href="tqframe.html#Shape-enum">Panel</a> | TQFrame::<a href="tqframe.html#Shadow-enum">Sunken</a> ); label-><a href="#setText">setText</a>( "first line\nsecond line" ); label-><a href="#setAlignment">setAlignment</a>( AlignBottom | AlignRight ); </pre> @@ -149,15 +149,15 @@ also use the <a href="#setBuddy">setBuddy</a>() function to accomplish the same </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 -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>. +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 -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>. +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>. <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> @@ -168,8 +168,8 @@ 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 -to the <a href="ntqframe.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="ntqframe.html#setFrameStyle">setFrameStyle</a>(), and <a href="#indent-prop">indent</a>. +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>. <h3 class=fn><a name="~TQLabel"></a>TQLabel::~TQLabel () </h3> @@ -200,7 +200,7 @@ Clears any label contents. Equivalent to <a href="#setText">setText</a>( "" ). </h3> Draws the label contents using the painter <em>p</em>. -<p>Reimplemented from <a href="ntqframe.html#drawContents">TQFrame</a>. +<p>Reimplemented from <a href="tqframe.html#drawContents">TQFrame</a>. <h3 class=fn>bool <a name="hasScaledContents"></a>TQLabel::hasScaledContents () const </h3><p>Returns TRUE if the label will scale its contents to fill all available space; otherwise returns FALSE. See the <a href="tqlabel.html#scaledContents-prop">"scaledContents"</a> property for details. @@ -356,11 +356,11 @@ contains rich text, additionally <a href="ntqt.html#TextFlags-enum">WordBreak</a <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>. <p> If indent is negative, or if no indent has been set, the label -computes the effective indent as follows: If <a href="ntqframe.html#frameWidth">frameWidth</a>() is 0, +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, the effective indent becomes half the width of the "x" character of the widget's current <a href="tqwidget.html#font">font</a>(). -<p> <p>See also <a href="#alignment-prop">alignment</a>, <a href="ntqframe.html#frameWidth-prop">frameWidth</a>, and <a href="tqwidget.html#font-prop">font</a>. +<p> <p>See also <a href="#alignment-prop">alignment</a>, <a href="tqframe.html#frameWidth-prop">frameWidth</a>, and <a href="tqwidget.html#font-prop">font</a>. <p>Set this property's value with <a href="#setIndent">setIndent</a>() and get this property's value with <a href="#indent">indent</a>(). <h3 class=fn><a href="tqpixmap.html">TQPixmap</a> <a name="pixmap-prop"></a>pixmap</h3> |
