diff options
Diffstat (limited to 'doc/html/tqfont.html')
-rw-r--r-- | doc/html/tqfont.html | 50 |
1 files changed, 25 insertions, 25 deletions
diff --git a/doc/html/tqfont.html b/doc/html/tqfont.html index d1344d9c0..86feca2e3 100644 --- a/doc/html/tqfont.html +++ b/doc/html/tqfont.html @@ -41,7 +41,7 @@ body { background: #ffffff; color: black; } <li class=fn>enum <a href="#Weight-enum"><b>Weight</b></a> { Light = 25, Normal = 50, DemiBold = 63, Bold = 75, Black = 87 }</li> <li class=fn>enum <a href="#Stretch-enum"><b>Stretch</b></a> { UltraCondensed = 50, ExtraCondensed = 62, Condensed = 75, SemiCondensed = 87, Unstretched = 100, SemiExpanded = 112, Expanded = 125, ExtraExpanded = 150, UltraExpanded = 200 }</li> <li class=fn><a href="#TQFont"><b>TQFont</b></a> ()</li> -<li class=fn><a href="#TQFont-2"><b>TQFont</b></a> ( const TQString & family, int pointSize = 12, int weight = Normal, bool italic = FALSE )</li> +<li class=fn><a href="#TQFont-2"><b>TQFont</b></a> ( const TQString & family, int pointSize = 12, int weight = Normal, bool italic = false )</li> <li class=fn><a href="#TQFont-3"><b>TQFont</b></a> ( const TQFont & font )</li> <li class=fn><a href="#~TQFont"><b>~TQFont</b></a> ()</li> <li class=fn>TQString <a href="#family"><b>family</b></a> () const</li> @@ -126,7 +126,7 @@ you want the font to have. TQt will use the font with the specified attributes, or if no matching font exists, TQt will use the closest matching installed font. The attributes of the font that is actually used are retrievable from a <a href="tqfontinfo.html">TQFontInfo</a> object. If the -window system provides an exact match <a href="#exactMatch">exactMatch</a>() returns TRUE. +window system provides an exact match <a href="#exactMatch">exactMatch</a>() returns true. Use <a href="tqfontmetrics.html">TQFontMetrics</a> to get measurements, e.g. the pixel length of a string using <a href="tqfontmetrics.html#width">TQFontMetrics::width</a>(). <p> Use <a href="tqapplication.html#setFont">TQApplication::setFont</a>() to set the application's default font. @@ -449,7 +449,7 @@ ultralight, whilst 99 will be an extremely black. Constructs a font object that uses the application's default font. <p> <p>See also <a href="tqapplication.html#setFont">TQApplication::setFont</a>() and <a href="tqapplication.html#font">TQApplication::font</a>(). -<h3 class=fn><a name="TQFont-2"></a>TQFont::TQFont ( const <a href="tqstring.html">TQString</a> & family, int pointSize = 12, int weight = Normal, bool italic = FALSE ) +<h3 class=fn><a name="TQFont-2"></a>TQFont::TQFont ( const <a href="tqstring.html">TQString</a> & family, int pointSize = 12, int weight = Normal, bool italic = false ) </h3> Constructs a font object with the specified <em>family</em>, <em>pointSize</em>, <em>weight</em> and <em>italic</em> settings. <p> If <em>pointSize</em> is <= 0 it is set to 1. @@ -473,7 +473,7 @@ Destroys the font object and frees all allocated resources. <h3 class=fn>bool <a name="bold"></a>TQFont::bold () const </h3> -<p> Returns TRUE if <a href="#weight">weight</a>() is a value greater than <a href="#Weight-enum">TQFont::Normal</a>; otherwise returns FALSE. +<p> Returns true if <a href="#weight">weight</a>() is a value greater than <a href="#Weight-enum">TQFont::Normal</a>; otherwise returns false. <p> <p>See also <a href="#weight">weight</a>(), <a href="#setBold">setBold</a>(), and <a href="tqfontinfo.html#bold">TQFontInfo::bold</a>(). <p>Example: <a href="tutorial2-09.html#x2634">chart/optionsform.cpp</a>. @@ -496,12 +496,12 @@ hint. <h3 class=fn>bool <a name="dirty"></a>TQFont::dirty () const<tt> [protected]</tt> </h3> -Returns TRUE if the font attributes have been changed and the font -has to be (re)loaded; otherwise returns FALSE. +Returns true if the font attributes have been changed and the font +has to be (re)loaded; otherwise returns false. <h3 class=fn>bool <a name="exactMatch"></a>TQFont::exactMatch () const </h3> -Returns TRUE if a window system font exactly matching the settings +Returns true if a window system font exactly matching the settings of this font is available. <p> <p>See also <a href="tqfontinfo.html">TQFontInfo</a>. @@ -514,7 +514,7 @@ constructor or the last setFont() call. <p>Examples: <a href="tutorial2-09.html#x2635">chart/optionsform.cpp</a> and <a href="simple-font-demo-example.html#x2838">fonts/simple-tqfont-demo/viewer.cpp</a>. <h3 class=fn>bool <a name="fixedPitch"></a>TQFont::fixedPitch () const </h3> -Returns TRUE if fixed pitch has been set; otherwise returns FALSE. +Returns true if fixed pitch has been set; otherwise returns false. <p> <p>See also <a href="#setFixedPitch">setFixedPitch</a>() and <a href="tqfontinfo.html#fixedPitch">TQFontInfo::fixedPitch</a>(). <h3 class=fn>bool <a name="fromString"></a>TQFont::fromString ( const <a href="tqstring.html">TQString</a> & descrip ) @@ -545,14 +545,14 @@ substitution list for <em>familyName</em>. <p>Example: <a href="simple-font-demo-example.html#x2840">fonts/simple-tqfont-demo/viewer.cpp</a>. <h3 class=fn>bool <a name="isCopyOf"></a>TQFont::isCopyOf ( const <a href="tqfont.html">TQFont</a> & f ) const </h3> -Returns TRUE if this font and <em>f</em> are copies of each other, i.e. +Returns true if this font and <em>f</em> are copies of each other, i.e. one of them was created as a copy of the other and neither has been modified since. This is much stricter than equality. <p> <p>See also <a href="#operator-eq">operator=</a>() and <a href="#operator-eq-eq">operator==</a>(). <h3 class=fn>bool <a name="italic"></a>TQFont::italic () const </h3> -Returns TRUE if italic has been set; otherwise returns FALSE. +Returns true if italic has been set; otherwise returns false. <p> <p>See also <a href="#setItalic">setItalic</a>(). <p>Example: <a href="tutorial2-09.html#x2636">chart/optionsform.cpp</a>. @@ -589,8 +589,8 @@ it does, preferably with a list of the fonts you have installed. <h3 class=fn>bool <a name="operator!-eq"></a>TQFont::operator!= ( const <a href="tqfont.html">TQFont</a> & f ) const </h3> -Returns TRUE if this font is different from <em>f</em>; otherwise -returns FALSE. +Returns true if this font is different from <em>f</em>; otherwise +returns false. <p> Two TQFonts are considered to be different if their font attributes are different. If <a href="#rawMode">rawMode</a>() is enabled for both fonts, only the family fields are compared. @@ -602,8 +602,8 @@ Assigns <em>font</em> to this font and returns a reference to it. <h3 class=fn>bool <a name="operator-eq-eq"></a>TQFont::operator== ( const <a href="tqfont.html">TQFont</a> & f ) const </h3> -Returns TRUE if this font is equal to <em>f</em>; otherwise returns -FALSE. +Returns true if this font is equal to <em>f</em>; otherwise returns +false. <p> Two TQFonts are considered equal if their font attributes are equal. If <a href="#rawMode">rawMode</a>() is enabled for both fonts, only the family fields are compared. @@ -611,7 +611,7 @@ fields are compared. <h3 class=fn>bool <a name="overline"></a>TQFont::overline () const </h3> -Returns TRUE if overline has been set; otherwise returns FALSE. +Returns true if overline has been set; otherwise returns false. <p> <p>See also <a href="#setOverline">setOverline</a>(). <h3 class=fn>int <a name="pixelSize"></a>TQFont::pixelSize () const @@ -636,8 +636,8 @@ specified in pixels. <h3 class=fn>bool <a name="rawMode"></a>TQFont::rawMode () const </h3> -Returns TRUE if raw mode is used for font name matching; otherwise -returns FALSE. +Returns true if raw mode is used for font name matching; otherwise +returns false. <p> <p>See also <a href="#setRawMode">setRawMode</a>() and <a href="#rawName">rawName</a>(). <h3 class=fn><a href="tqstring.html">TQString</a> <a name="rawName"></a>TQFont::rawName () const @@ -687,20 +687,20 @@ available a family will be set using the <a href="#fontmatching">font <h3 class=fn>void <a name="setFixedPitch"></a>TQFont::setFixedPitch ( bool enable ) </h3> -If <em>enable</em> is TRUE, sets fixed pitch on; otherwise sets fixed +If <em>enable</em> is true, sets fixed pitch on; otherwise sets fixed pitch off. <p> <p>See also <a href="#fixedPitch">fixedPitch</a>() and <a href="tqfontinfo.html">TQFontInfo</a>. <h3 class=fn>void <a name="setItalic"></a>TQFont::setItalic ( bool enable ) </h3> -If <em>enable</em> is TRUE, italic is set on; otherwise italic is set +If <em>enable</em> is true, italic is set on; otherwise italic is set off. <p> <p>See also <a href="#italic">italic</a>() and <a href="tqfontinfo.html">TQFontInfo</a>. <p>Examples: <a href="fileiconview-example.html#x828">fileiconview/tqfileiconview.cpp</a>, <a href="simple-font-demo-example.html#x2842">fonts/simple-tqfont-demo/viewer.cpp</a>, and <a href="themes-example.html#x281">themes/metal.cpp</a>. <h3 class=fn>void <a name="setOverline"></a>TQFont::setOverline ( bool enable ) </h3> -If <em>enable</em> is TRUE, sets overline on; otherwise sets overline off. +If <em>enable</em> is true, sets overline on; otherwise sets overline off. <p> <p>See also <a href="#overline">overline</a>() and <a href="tqfontinfo.html">TQFontInfo</a>. <h3 class=fn>void <a name="setPixelSize"></a>TQFont::setPixelSize ( int pixelSize ) @@ -733,7 +733,7 @@ all platforms. <h3 class=fn>void <a name="setRawMode"></a>TQFont::setRawMode ( bool enable ) </h3> -If <em>enable</em> is TRUE, turns raw mode on; otherwise turns raw mode +If <em>enable</em> is true, turns raw mode on; otherwise turns raw mode off. This function only has an effect under X11. <p> If raw mode is enabled, TQt will search for an X font with a complete font name matching the family name, ignoring all other @@ -780,7 +780,7 @@ values for the SETWIDTH_NAME field of the XLFD. <h3 class=fn>void <a name="setStrikeOut"></a>TQFont::setStrikeOut ( bool enable ) </h3> -If <em>enable</em> is TRUE, sets strikeout on; otherwise sets strikeout +If <em>enable</em> is true, sets strikeout on; otherwise sets strikeout off. <p> <p>See also <a href="#strikeOut">strikeOut</a>() and <a href="tqfontinfo.html">TQFontInfo</a>. @@ -802,7 +802,7 @@ Sets the style strategy for the font to <em>s</em>. <h3 class=fn>void <a name="setUnderline"></a>TQFont::setUnderline ( bool enable ) </h3> -If <em>enable</em> is TRUE, sets underline on; otherwise sets underline +If <em>enable</em> is true, sets underline on; otherwise sets underline off. <p> <p>See also <a href="#underline">underline</a>() and <a href="tqfontinfo.html">TQFontInfo</a>. @@ -821,7 +821,7 @@ Returns the <a href="layout.html#stretch-factor">stretch factor</a> for the font <h3 class=fn>bool <a name="strikeOut"></a>TQFont::strikeOut () const </h3> -Returns TRUE if strikeout has been set; otherwise returns FALSE. +Returns true if strikeout has been set; otherwise returns false. <p> <p>See also <a href="#setStrikeOut">setStrikeOut</a>(). <h3 class=fn><a href="tqfont.html#StyleHint-enum">StyleHint</a> <a name="styleHint"></a>TQFont::styleHint () const @@ -872,7 +872,7 @@ in <a href="tqsettings.html">TQSettings</a>. <h3 class=fn>bool <a name="underline"></a>TQFont::underline () const </h3> -Returns TRUE if underline has been set; otherwise returns FALSE. +Returns true if underline has been set; otherwise returns false. <p> <p>See also <a href="#setUnderline">setUnderline</a>(). <h3 class=fn>int <a name="weight"></a>TQFont::weight () const |