diff options
Diffstat (limited to 'doc/html/tqpushbutton.html')
-rw-r--r-- | doc/html/tqpushbutton.html | 38 |
1 files changed, 19 insertions, 19 deletions
diff --git a/doc/html/tqpushbutton.html b/doc/html/tqpushbutton.html index 9c0682b10..9daa2bc76 100644 --- a/doc/html/tqpushbutton.html +++ b/doc/html/tqpushbutton.html @@ -133,7 +133,7 @@ button that is activated when the user presses the Enter or Return key in a dialog. You can change this with <a href="#setAutoDefault">setAutoDefault</a>(). Note that auto-default buttons reserve a little extra space which is necessary to draw a default-button indicator. If you do not want -this space around your buttons, call setAutoDefault(FALSE). +this space around your buttons, call setAutoDefault(false). <p> Being so central, the button widget has grown to accommodate a great many variations in the past decade. The Microsoft style guide now shows about ten different states of Windows push buttons @@ -204,10 +204,10 @@ Destroys the push button. </h3><p>Returns the accelerator associated with the button. See the <a href="tqbutton.html#accel-prop">"accel"</a> property for details. <h3 class=fn>bool <a name="autoDefault"></a>TQPushButton::autoDefault () const -</h3><p>Returns TRUE if the push button is the auto default button; otherwise returns FALSE. +</h3><p>Returns true if the push button is the auto default button; otherwise returns false. See the <a href="tqpushbutton.html#autoDefault-prop">"autoDefault"</a> property for details. <h3 class=fn>bool <a name="autoRepeat"></a>TQButton::autoRepeat () const -</h3><p>Returns TRUE if autoRepeat is enabled; otherwise returns FALSE. +</h3><p>Returns true if autoRepeat is enabled; otherwise returns false. See the <a href="tqbutton.html#autoRepeat-prop">"autoRepeat"</a> property for details. <h3 class=fn>void <a name="clicked"></a>TQButton::clicked ()<tt> [signal]</tt> </h3> @@ -234,25 +234,25 @@ returns 0. </h3><p>Returns the icon set on the push button. See the <a href="tqpushbutton.html#iconSet-prop">"iconSet"</a> property for details. <h3 class=fn>bool <a name="isDefault"></a>TQPushButton::isDefault () const -</h3><p>Returns TRUE if the push button is the default button; otherwise returns FALSE. +</h3><p>Returns true if the push button is the default button; otherwise returns false. See the <a href="tqpushbutton.html#default-prop">"default"</a> property for details. <h3 class=fn>bool <a name="isDown"></a>TQButton::isDown () const -</h3><p>Returns TRUE if the button is pressed; otherwise returns FALSE. +</h3><p>Returns true if the button is pressed; otherwise returns false. See the <a href="tqbutton.html#down-prop">"down"</a> property for details. <h3 class=fn>bool <a name="isExclusiveToggle"></a>TQButton::isExclusiveToggle () const -</h3><p>Returns TRUE if the button is an exclusive toggle; otherwise returns FALSE. +</h3><p>Returns true if the button is an exclusive toggle; otherwise returns false. See the <a href="tqbutton.html#exclusiveToggle-prop">"exclusiveToggle"</a> property for details. <h3 class=fn>bool <a name="isFlat"></a>TQPushButton::isFlat () const -</h3><p>Returns TRUE if the border is disabled; otherwise returns FALSE. +</h3><p>Returns true if the border is disabled; otherwise returns false. See the <a href="tqpushbutton.html#flat-prop">"flat"</a> property for details. <h3 class=fn>bool <a name="isMenuButton"></a>TQPushButton::isMenuButton () const -</h3><p>Returns TRUE if the push button has a menu button on it; otherwise returns FALSE. +</h3><p>Returns true if the push button has a menu button on it; otherwise returns false. See the <a href="tqpushbutton.html#menuButton-prop">"menuButton"</a> property for details. <h3 class=fn>bool <a name="isOn"></a>TQButton::isOn () const -</h3><p>Returns TRUE if the button is toggled; otherwise returns FALSE. +</h3><p>Returns true if the button is toggled; otherwise returns false. See the <a href="tqbutton.html#on-prop">"on"</a> property for details. <h3 class=fn>bool <a name="isToggleButton"></a>TQButton::isToggleButton () const -</h3><p>Returns TRUE if the button is a toggle button; otherwise returns FALSE. +</h3><p>Returns true if the button is a toggle button; otherwise returns false. See the <a href="tqbutton.html#toggleButton-prop">"toggleButton"</a> property for details. <h3 class=fn>const <a href="tqpixmap.html">TQPixmap</a> * <a name="pixmap"></a>TQButton::pixmap () const </h3><p>Returns the pixmap shown on the button. @@ -347,7 +347,7 @@ Toggles the state of a toggle button. <h3 class=fn>void <a name="toggled"></a>TQButton::toggled ( bool on )<tt> [signal]</tt> </h3> -<p> This signal is emitted whenever a toggle button changes status. <em>on</em> is TRUE if the button is on, or FALSE if the button is off. +<p> This signal is emitted whenever a toggle button changes status. <em>on</em> is true if the button is on, or false if the button is off. <p> This may be the result of a user action, <a href="tqbutton.html#toggle">toggle</a>() slot activation, or because <a href="#setOn">setOn</a>() was called. <p> <p>See also <a href="tqbutton.html#clicked">clicked</a>(). @@ -362,14 +362,14 @@ property to 0 then any current accelerator is removed. <p>Set this property's value with <a href="#setAccel">setAccel</a>() and get this property's value with <a href="#accel">accel</a>(). <h3 class=fn>bool <a name="autoDefault-prop"></a>autoDefault</h3> <p>This property holds whether the push button is the auto default button. -<p>If this property is set to TRUE then the push button is the auto +<p>If this property is set to true then the push button is the auto default button in a dialog. <p> In some GUI styles a default button is drawn with an extra frame around it, up to 3 pixels or more. TQt automatically keeps this space free around auto-default buttons, i.e. auto-default buttons may have a slightly larger size hint. -<p> This property's default is TRUE for buttons that have a <a href="tqdialog.html">TQDialog</a> -parent; otherwise it defaults to FALSE. +<p> This property's default is true for buttons that have a <a href="tqdialog.html">TQDialog</a> +parent; otherwise it defaults to false. <p> See the <a href="#default-prop">default</a> property for details of how <a href="#default-prop">default</a> and auto-default interact. @@ -387,7 +387,7 @@ effect on toggle buttons. autoRepeat is off by default. <p>Set this property's value with <a href="#setAutoRepeat">setAutoRepeat</a>() and get this property's value with <a href="#autoRepeat">autoRepeat</a>(). <h3 class=fn>bool <a name="default-prop"></a>default</h3> <p>This property holds whether the push button is the default button. -<p>If this property is set to TRUE then the push button will be +<p>If this property is set to true then the push button will be pressed if the user presses the Enter (or Return) key in a dialog. <p> Regardless of focus, if the user presses Enter: If there is a default button the default button is pressed; otherwise, if @@ -402,12 +402,12 @@ button. This button is then displayed with an additional frame <p> The default button behavior is provided only in dialogs. Buttons can always be clicked from the keyboard by pressing Enter (or Return) or the Spacebar when the button has focus. -<p> This property's default is FALSE. +<p> This property's default is false. <p>Set this property's value with <a href="#setDefault">setDefault</a>() and get this property's value with <a href="#isDefault">isDefault</a>(). <h3 class=fn>bool <a name="flat-prop"></a>flat</h3> <p>This property holds whether the border is disabled. -<p>This property's default is FALSE. +<p>This property's default is false. <p>Set this property's value with <a href="#setFlat">setFlat</a>() and get this property's value with <a href="#isFlat">isFlat</a>(). <h3 class=fn><a href="tqiconset.html">TQIconSet</a> <a name="iconSet-prop"></a>iconSet</h3> @@ -417,7 +417,7 @@ Return) or the Spacebar when the button has focus. <p>Set this property's value with <a href="#setIconSet">setIconSet</a>() and get this property's value with <a href="#iconSet">iconSet</a>(). <h3 class=fn>bool <a name="menuButton-prop"></a>menuButton</h3> <p>This property holds whether the push button has a menu button on it. <p><b>This property is obsolete.</b> It is provided to keep old source working. We strongly advise against using it in new code. -<p> If this property is set to TRUE, then a down arrow is drawn on the push +<p> If this property is set to true, then a down arrow is drawn on the push button to indicate that a menu will pop up if the user clicks on the arrow. @@ -425,7 +425,7 @@ arrow. <h3 class=fn>bool <a name="on-prop"></a>on</h3> <p>This property holds whether the push button is toggled. <p>This property should only be set for toggle push buttons. The -default value is FALSE. +default value is false. <p> <p>See also <a href="#on-prop">on</a>, <a href="tqbutton.html#toggle">toggle</a>(), <a href="tqbutton.html#toggled">toggled</a>(), and <a href="#toggleButton-prop">toggleButton</a>. <p>Set this property's value with <a href="#setOn">setOn</a>(). |