diff options
| author | Michele Calgaro <michele.calgaro@yahoo.it> | 2025-11-26 15:11:22 +0900 |
|---|---|---|
| committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2025-11-26 15:11:22 +0900 |
| commit | b87533f9904c10f24d6b2e8177c00944e3efe15b (patch) | |
| tree | c1106a381c851b51e86004698457aef1211b77be /doc/html/ntqlabel.html | |
| parent | 894037c3e68e1573a34183d936171f8cda5085f3 (diff) | |
| download | tqt-r14.1.x.tar.gz tqt-r14.1.x.zip | |
Replace TRUE/FALSE with boolean values true/false - part 4r14.1.x
Manually cherry-picked from commit 4d495175
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'doc/html/ntqlabel.html')
| -rw-r--r-- | doc/html/ntqlabel.html | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/doc/html/ntqlabel.html b/doc/html/ntqlabel.html index d60d71cb7..da5222dab 100644 --- a/doc/html/ntqlabel.html +++ b/doc/html/ntqlabel.html @@ -182,7 +182,7 @@ See the <a href="ntqlabel.html#alignment-prop">"alignment"</a> property for deta </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>(). @@ -202,7 +202,7 @@ Draws the label contents using the painter <em>p</em>. <p>Reimplemented from <a href="ntqframe.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="ntqlabel.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. @@ -227,7 +227,7 @@ See the <a href="ntqlabel.html#pixmap-prop">"pixmap"</a> property for details. See the <a href="ntqlabel.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 @@ -337,7 +337,7 @@ otherwise they are ignored. The <a href="ntqt.html#TextFlags-enum">DontClip</a> 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 -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="ntqt.html#TextFlags-enum">WordBreak</a> is turned on. @@ -367,7 +367,7 @@ of the widget's current <a href="ntqwidget.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>(). @@ -375,7 +375,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>(). |
