diff options
Diffstat (limited to 'doc/html/tqlabel.html')
-rw-r--r-- | doc/html/tqlabel.html | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/doc/html/tqlabel.html b/doc/html/tqlabel.html index c61f87b90..3737f157f 100644 --- a/doc/html/tqlabel.html +++ b/doc/html/tqlabel.html @@ -181,7 +181,7 @@ See the <a href="tqlabel.html#alignment-prop">"alignment"</a> property for detai </h3> <p> <b>This function is obsolete.</b> It is provided to keep old source working. We strongly advise against using it in new code. -<p> Returns TRUE if auto-resizing is enabled, or FALSE if auto-resizing +<p> Returns true if auto-resizing is enabled, or false if auto-resizing is disabled. <p> Auto-resizing is disabled by default. <p> <p>See also <a href="#setAutoResize">setAutoResize</a>(). @@ -201,7 +201,7 @@ Draws the label contents using the painter <em>p</em>. <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. +</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. <h3 class=fn>int <a name="indent"></a>TQLabel::indent () const </h3><p>Returns the label's text indent in pixels. @@ -226,7 +226,7 @@ See the <a href="tqlabel.html#pixmap-prop">"pixmap"</a> property for details. See the <a href="tqlabel.html#alignment-prop">"alignment"</a> property for details. <h3 class=fn>void <a name="setAutoResize"></a>TQLabel::setAutoResize ( bool enable )<tt> [virtual]</tt> </h3> <b>This function is obsolete.</b> It is provided to keep old source working. We strongly advise against using it in new code. -<p> Enables auto-resizing if <em>enable</em> is TRUE, or disables it if <em>enable</em> is FALSE. +<p> Enables auto-resizing if <em>enable</em> is true, or disables it if <em>enable</em> is false. <p> When auto-resizing is enabled the label will resize itself to fit the contents whenever the contents change. The top-left corner is not moved. This is useful for TQLabel widgets that are not managed by @@ -336,7 +336,7 @@ otherwise they are ignored. The <a href="tqt.html#TextFlags-enum">DontClip</a> f 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. +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="tqt.html#TextFlags-enum">WordBreak</a> is turned on. @@ -366,7 +366,7 @@ of the widget's current <a href="tqwidget.html#font">font</a>(). <p>This property holds the label's pixmap. <p>If no pixmap has been set this will return an invalid pixmap. <p> Setting the pixmap clears any previous content, and resizes the -label if <a href="#autoResize">TQLabel::autoResize</a>() is TRUE. The buddy accelerator, +label if <a href="#autoResize">TQLabel::autoResize</a>() is true. The buddy accelerator, if any, is disabled. <p>Set this property's value with <a href="#setPixmap">setPixmap</a>() and get this property's value with <a href="#pixmap">pixmap</a>(). @@ -374,7 +374,7 @@ if any, is disabled. <p>This property holds whether the label will scale its contents to fill all available space. <p>When enabled and the label shows a pixmap, it will scale the pixmap to fill the available space. -<p> This property's default is FALSE. +<p> This property's default is false. <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>(). |