summaryrefslogtreecommitdiffstats
path: root/doc/html/qtoolbutton.html
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-11-08 12:31:36 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-11-08 12:31:36 -0600
commitd796c9dd933ab96ec83b9a634feedd5d32e1ba3f (patch)
tree6e3dcca4f77e20ec8966c666aac7c35bd4704053 /doc/html/qtoolbutton.html
downloadtqt3-d796c9dd933ab96ec83b9a634feedd5d32e1ba3f.tar.gz
tqt3-d796c9dd933ab96ec83b9a634feedd5d32e1ba3f.zip
Test conversion to TQt3 from Qt3 8c6fc1f8e35fd264dd01c582ca5e7549b32ab731
Diffstat (limited to 'doc/html/qtoolbutton.html')
-rw-r--r--doc/html/qtoolbutton.html392
1 files changed, 392 insertions, 0 deletions
diff --git a/doc/html/qtoolbutton.html b/doc/html/qtoolbutton.html
new file mode 100644
index 000000000..d3c8cdae2
--- /dev/null
+++ b/doc/html/qtoolbutton.html
@@ -0,0 +1,392 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
+<!-- /home/espenr/tmp/qt-3.3.8-espenr-2499/qt-x11-free-3.3.8/src/widgets/qtoolbutton.cpp:75 -->
+<html>
+<head>
+<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
+<title>TQToolButton Class</title>
+<style type="text/css"><!--
+fn { margin-left: 1cm; text-indent: -1cm; }
+a:link { color: #004faf; text-decoration: none }
+a:visited { color: #672967; text-decoration: none }
+body { background: #ffffff; color: black; }
+--></style>
+</head>
+<body>
+
+<table border="0" cellpadding="0" cellspacing="0" width="100%">
+<tr bgcolor="#E5E5E5">
+<td valign=center>
+ <a href="index.html">
+<font color="#004faf">Home</font></a>
+ | <a href="classes.html">
+<font color="#004faf">All&nbsp;Classes</font></a>
+ | <a href="mainclasses.html">
+<font color="#004faf">Main&nbsp;Classes</font></a>
+ | <a href="annotated.html">
+<font color="#004faf">Annotated</font></a>
+ | <a href="groups.html">
+<font color="#004faf">Grouped&nbsp;Classes</font></a>
+ | <a href="functions.html">
+<font color="#004faf">Functions</font></a>
+</td>
+<td align="right" valign="center"><img src="logo32.png" align="right" width="64" height="32" border="0"></td></tr></table><h1 align=center>TQToolButton Class Reference</h1>
+
+<p>The TQToolButton class provides a tquick-access button to
+commands or options, usually used inside a TQToolBar.
+<a href="#details">More...</a>
+<p><tt>#include &lt;<a href="qtoolbutton-h.html">qtoolbutton.h</a>&gt;</tt>
+<p>Inherits <a href="qbutton.html">TQButton</a>.
+<p><a href="qtoolbutton-members.html">List of all member functions.</a>
+<h2>Public Members</h2>
+<ul>
+<li class=fn>enum <a href="#TextPosition-enum"><b>TextPosition</b></a> { BesideIcon, BelowIcon, Right = BesideIcon, Under = BelowIcon }</li>
+<li class=fn><a href="#TQToolButton"><b>TQToolButton</b></a> ( TQWidget&nbsp;*&nbsp;parent, const&nbsp;char&nbsp;*&nbsp;name = 0 )</li>
+<li class=fn><a href="#TQToolButton-2"><b>TQToolButton</b></a> ( const&nbsp;TQIconSet&nbsp;&amp;&nbsp;iconSet, const&nbsp;TQString&nbsp;&amp;&nbsp;textLabel, const&nbsp;TQString&nbsp;&amp;&nbsp;grouptext, TQObject&nbsp;*&nbsp;receiver, const&nbsp;char&nbsp;*&nbsp;slot, TQToolBar&nbsp;*&nbsp;parent, const&nbsp;char&nbsp;*&nbsp;name = 0 )</li>
+<li class=fn><a href="#TQToolButton-3"><b>TQToolButton</b></a> ( ArrowType&nbsp;type, TQWidget&nbsp;*&nbsp;parent, const&nbsp;char&nbsp;*&nbsp;name = 0 )</li>
+<li class=fn><a href="#~TQToolButton"><b>~TQToolButton</b></a> ()</li>
+<li class=fn>void setOnIconSet ( const TQIconSet &amp; ) &nbsp;<em>(obsolete)</em></li>
+<li class=fn>void setOffIconSet ( const TQIconSet &amp; ) &nbsp;<em>(obsolete)</em></li>
+<li class=fn>void setIconSet ( const&nbsp;TQIconSet&nbsp;&amp;&nbsp;set, bool&nbsp;on ) &nbsp;<em>(obsolete)</em></li>
+<li class=fn>TQIconSet onIconSet () const &nbsp;<em>(obsolete)</em></li>
+<li class=fn>TQIconSet offIconSet () const &nbsp;<em>(obsolete)</em></li>
+<li class=fn>TQIconSet iconSet ( bool&nbsp;on ) const &nbsp;<em>(obsolete)</em></li>
+<li class=fn>virtual void <a href="#setIconSet"><b>setIconSet</b></a> ( const TQIconSet &amp; )</li>
+<li class=fn>TQIconSet <a href="#iconSet"><b>iconSet</b></a> () const</li>
+<li class=fn>bool <a href="#usesBigPixmap"><b>usesBigPixmap</b></a> () const</li>
+<li class=fn>bool <a href="#usesTextLabel"><b>usesTextLabel</b></a> () const</li>
+<li class=fn>TQString <a href="#textLabel"><b>textLabel</b></a> () const</li>
+<li class=fn>void <a href="#setPopup"><b>setPopup</b></a> ( TQPopupMenu&nbsp;*&nbsp;popup )</li>
+<li class=fn>TQPopupMenu * <a href="#popup"><b>popup</b></a> () const</li>
+<li class=fn>void <a href="#setPopupDelay"><b>setPopupDelay</b></a> ( int&nbsp;delay )</li>
+<li class=fn>int <a href="#popupDelay"><b>popupDelay</b></a> () const</li>
+<li class=fn>void <a href="#openPopup"><b>openPopup</b></a> ()</li>
+<li class=fn>void <a href="#setAutoRaise"><b>setAutoRaise</b></a> ( bool&nbsp;enable )</li>
+<li class=fn>bool <a href="#autoRaise"><b>autoRaise</b></a> () const</li>
+<li class=fn>TextPosition <a href="#textPosition"><b>textPosition</b></a> () const</li>
+</ul>
+<h2>Public Slots</h2>
+<ul>
+<li class=fn>virtual void <a href="#setUsesBigPixmap"><b>setUsesBigPixmap</b></a> ( bool&nbsp;enable )</li>
+<li class=fn>virtual void <a href="#setUsesTextLabel"><b>setUsesTextLabel</b></a> ( bool&nbsp;enable )</li>
+<li class=fn>virtual void <a href="#setTextLabel-2"><b>setTextLabel</b></a> ( const&nbsp;TQString&nbsp;&amp;&nbsp;newLabel, bool&nbsp;tipToo )</li>
+<li class=fn>virtual void <a href="#setToggleButton"><b>setToggleButton</b></a> ( bool&nbsp;enable )</li>
+<li class=fn>virtual void <a href="#setOn"><b>setOn</b></a> ( bool&nbsp;enable )</li>
+<li class=fn>void <a href="#toggle"><b>toggle</b></a> ()</li>
+<li class=fn>void <a href="#setTextLabel"><b>setTextLabel</b></a> ( const TQString &amp; )</li>
+<li class=fn>void <a href="#setTextPosition"><b>setTextPosition</b></a> ( TextPosition&nbsp;pos )</li>
+</ul>
+<h2>Properties</h2>
+<ul>
+<li class=fn>bool <a href="#autoRaise-prop"><b>autoRaise</b></a>&nbsp;- whether auto-raising is enabled</li>
+<li class=fn>BackgroundMode <a href="#backgroundMode-prop"><b>backgroundMode</b></a>&nbsp;- the toolbutton's background mode &nbsp;<em>(read only)</em></li>
+<li class=fn>TQIconSet <a href="#iconSet-prop"><b>iconSet</b></a>&nbsp;- the icon set providing the icon shown on the button</li>
+<li class=fn>TQIconSet offIconSet&nbsp;- the icon set that is used when the button is in an "off" state &nbsp;<em>(obsolete)</em></li>
+<li class=fn>bool <a href="#on-prop"><b>on</b></a>&nbsp;- whether this tool button is on</li>
+<li class=fn>TQIconSet onIconSet&nbsp;- the icon set that is used when the button is in an "on" state &nbsp;<em>(obsolete)</em></li>
+<li class=fn>TQPixmap <a href="#pixmap-prop"><b>pixmap</b></a>&nbsp;- the pixmap of the button &nbsp;<em>(read only)</em></li>
+<li class=fn>int <a href="#popupDelay-prop"><b>popupDelay</b></a>&nbsp;- the time delay between pressing the button and the appearance of the associated popup menu in milliseconds</li>
+<li class=fn>TQString <a href="#textLabel-prop"><b>textLabel</b></a>&nbsp;- the label of this button</li>
+<li class=fn>TextPosition <a href="#textPosition-prop"><b>textPosition</b></a>&nbsp;- the position of the text label of this button</li>
+<li class=fn>bool <a href="#toggleButton-prop"><b>toggleButton</b></a>&nbsp;- whether this tool button is a toggle button</li>
+<li class=fn>bool <a href="#usesBigPixmap-prop"><b>usesBigPixmap</b></a>&nbsp;- whether this toolbutton uses big pixmaps</li>
+<li class=fn>bool <a href="#usesTextLabel-prop"><b>usesTextLabel</b></a>&nbsp;- whether the toolbutton displays a text label below the button pixmap</li>
+</ul>
+<h2>Protected Members</h2>
+<ul>
+<li class=fn>bool <a href="#uses3D"><b>uses3D</b></a> () const</li>
+</ul>
+<hr><a name="details"></a><h2>Detailed Description</h2>
+
+
+The TQToolButton class provides a tquick-access button to
+commands or options, usually used inside a <a href="qtoolbar.html">TQToolBar</a>.
+<p>
+
+<p> A tool button is a special button that provides tquick-access to
+specific commands or options. As opposed to a normal command
+button, a tool button usually doesn't show a text label, but shows
+an icon instead. Its classic usage is to select tools, for example
+the "pen" tool in a drawing program. This would be implemented
+with a TQToolButton as toggle button (see <a href="#setToggleButton">setToggleButton</a>() ).
+<p> TQToolButton supports auto-raising. In auto-raise mode, the button
+draws a 3D frame only when the mouse points at it. The feature is
+automatically turned on when a button is used inside a TQToolBar.
+Change it with <a href="#setAutoRaise">setAutoRaise</a>().
+<p> A tool button's icon is set as <a href="qiconset.html">TQIconSet</a>. This makes it possible to
+specify different pixmaps for the disabled and active state. The
+disabled pixmap is used when the button's functionality is not
+available. The active pixmap is displayed when the button is
+auto-raised because the mouse pointer is hovering over it.
+<p> The button's look and dimension is adjustable with
+<a href="#setUsesBigPixmap">setUsesBigPixmap</a>() and <a href="#setUsesTextLabel">setUsesTextLabel</a>(). When used inside a
+<a href="qtoolbar.html">TQToolBar</a> in a <a href="qmainwindow.html">TQMainWindow</a>, the button automatically adjusts to
+TQMainWindow's settings (see <a href="qmainwindow.html#setUsesTextLabel">TQMainWindow::setUsesTextLabel</a>() and
+<a href="qmainwindow.html#setUsesBigPixmaps">TQMainWindow::setUsesBigPixmaps</a>()). The pixmap set on a TQToolButton
+will be set to 22x22 if it is bigger than this size. If
+<a href="#usesBigPixmap">usesBigPixmap</a>() is TRUE, then the pixmap will be set to 32x32.
+<p> A tool button can offer additional choices in a popup menu. The
+feature is sometimes used with the "Back" button in a web browser.
+After pressing and holding the button down for a while, a menu
+pops up showing a list of possible pages to jump to. With
+TQToolButton you can set a popup menu using <a href="#setPopup">setPopup</a>(). The default
+delay is 600ms; you can adjust it with <a href="#setPopupDelay">setPopupDelay</a>().
+<p> <center><img src="qdockwindow.png" alt="Toolbar with Toolbuttons &#92;caption A floating"></center> TQToolbar with TQToolbuttons
+<p> <p>See also <a href="qpushbutton.html">TQPushButton</a>, <a href="qtoolbar.html">TQToolBar</a>, <a href="qmainwindow.html">TQMainWindow</a>, <a href="guibooks.html#fowler
+">GUI Design Handbook: Push Button</a>, and <a href="basic.html">Basic Widgets</a>.
+
+<hr><h2>Member Type Documentation</h2>
+<h3 class=fn><a name="TextPosition-enum"></a>TQToolButton::TextPosition</h3>
+
+<p> The position of the tool button's textLabel in relation to the
+tool button's icon.
+<ul>
+<li><tt>TQToolButton::BesideIcon</tt> - The text appears beside the icon.
+<li><tt>TQToolButton::BelowIcon</tt> - The text appears below the icon.
+</ul>
+<hr><h2>Member Function Documentation</h2>
+<h3 class=fn><a name="TQToolButton"></a>TQToolButton::TQToolButton ( <a href="qwidget.html">TQWidget</a>&nbsp;*&nbsp;parent, const&nbsp;char&nbsp;*&nbsp;name = 0 )
+</h3>
+Constructs an empty tool button called <em>name</em>, with parent <em>parent</em>.
+
+<h3 class=fn><a name="TQToolButton-2"></a>TQToolButton::TQToolButton ( const&nbsp;<a href="qiconset.html">TQIconSet</a>&nbsp;&amp;&nbsp;iconSet, const&nbsp;<a href="qstring.html">TQString</a>&nbsp;&amp;&nbsp;textLabel, const&nbsp;<a href="qstring.html">TQString</a>&nbsp;&amp;&nbsp;grouptext, <a href="qobject.html">TQObject</a>&nbsp;*&nbsp;receiver, const&nbsp;char&nbsp;*&nbsp;slot, <a href="qtoolbar.html">TQToolBar</a>&nbsp;*&nbsp;parent, const&nbsp;char&nbsp;*&nbsp;name = 0 )
+</h3>
+Constructs a tool button called <em>name</em>, that is a child of <em>parent</em> (which must be a <a href="qtoolbar.html">TQToolBar</a>).
+<p> The tool button will display <em>iconSet</em>, with its text label and
+tool tip set to <em>textLabel</em> and its status bar message set to <em>grouptext</em>. It will be connected to the <em>slot</em> in object <em>receiver</em>.
+
+<h3 class=fn><a name="TQToolButton-3"></a>TQToolButton::TQToolButton ( <a href="qt.html#ArrowType-enum">ArrowType</a>&nbsp;type, <a href="qwidget.html">TQWidget</a>&nbsp;*&nbsp;parent, const&nbsp;char&nbsp;*&nbsp;name = 0 )
+</h3>
+Constructs a tool button as an arrow button. The <a href="qt.html#ArrowType-enum">ArrowType</a> <em>type</em> defines the arrow direction. Possible values are <a href="qt.html#ArrowType-enum">LeftArrow</a>, <a href="qt.html#ArrowType-enum">RightArrow</a>, <a href="qt.html#ArrowType-enum">UpArrow</a> and <a href="qt.html#ArrowType-enum">DownArrow</a>.
+<p> An arrow button has auto-repeat turned on by default.
+<p> The <em>parent</em> and <em>name</em> arguments are sent to the <a href="qwidget.html">TQWidget</a>
+constructor.
+
+<h3 class=fn><a name="~TQToolButton"></a>TQToolButton::~TQToolButton ()
+</h3>
+Destroys the object and frees any allocated resources.
+
+<h3 class=fn>bool <a name="autoRaise"></a>TQToolButton::autoRaise () const
+</h3><p>Returns TRUE if auto-raising is enabled; otherwise returns FALSE.
+See the <a href="qtoolbutton.html#autoRaise-prop">"autoRaise"</a> property for details.
+<h3 class=fn><a href="qiconset.html">TQIconSet</a> <a name="iconSet"></a>TQToolButton::iconSet () const
+</h3><p>Returns the icon set providing the icon shown on the button.
+See the <a href="qtoolbutton.html#iconSet-prop">"iconSet"</a> property for details.
+<h3 class=fn><a href="qiconset.html">TQIconSet</a> <a name="iconSet-2"></a>TQToolButton::iconSet ( bool&nbsp;on ) const
+</h3> This is an overloaded member function, provided for convenience. It behaves essentially like the above function.
+<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> Since TQt 3.0, <a href="qiconset.html">TQIconSet</a> contains both the On and Off icons.
+<p> For ease of porting, this function ignores the <em>on</em> parameter and
+returns the <a href="#iconSet-prop">iconSet</a> property. If you relied on the <em>on</em>
+parameter, you probably want to update your code to use the TQIconSet
+On/Off mechanism.
+
+<h3 class=fn><a href="qiconset.html">TQIconSet</a> <a name="offIconSet"></a>TQToolButton::offIconSet () const
+</h3><p>Returns the icon set that is used when the button is in an "off" state.
+See the <a href="qtoolbutton.html#offIconSet-prop">"offIconSet"</a> property for details.
+<h3 class=fn><a href="qiconset.html">TQIconSet</a> <a name="onIconSet"></a>TQToolButton::onIconSet () const
+</h3><p>Returns the icon set that is used when the button is in an "on" state.
+See the <a href="qtoolbutton.html#onIconSet-prop">"onIconSet"</a> property for details.
+<h3 class=fn>void <a name="openPopup"></a>TQToolButton::openPopup ()
+</h3>
+Opens (pops up) the associated popup menu. If there is no such
+menu, this function does nothing. This function does not return
+until the popup menu has been closed by the user.
+
+<h3 class=fn><a href="qpopupmenu.html">TQPopupMenu</a>&nbsp;* <a name="popup"></a>TQToolButton::popup () const
+</h3>
+Returns the associated popup menu, or 0 if no popup menu has been
+defined.
+<p> <p>See also <a href="#setPopup">setPopup</a>().
+
+<h3 class=fn>int <a name="popupDelay"></a>TQToolButton::popupDelay () const
+</h3><p>Returns the time delay between pressing the button and the appearance of the associated popup menu in milliseconds.
+See the <a href="qtoolbutton.html#popupDelay-prop">"popupDelay"</a> property for details.
+<h3 class=fn>void <a name="setAutoRaise"></a>TQToolButton::setAutoRaise ( bool&nbsp;enable )
+</h3><p>Sets whether auto-raising is enabled to <em>enable</em>.
+See the <a href="qtoolbutton.html#autoRaise-prop">"autoRaise"</a> property for details.
+<h3 class=fn>void <a name="setIconSet"></a>TQToolButton::setIconSet ( const&nbsp;<a href="qiconset.html">TQIconSet</a>&nbsp;&amp; )<tt> [virtual]</tt>
+</h3><p>Sets the icon set providing the icon shown on the button.
+See the <a href="qtoolbutton.html#iconSet-prop">"iconSet"</a> property for details.
+<h3 class=fn>void <a name="setIconSet-2"></a>TQToolButton::setIconSet ( const&nbsp;<a href="qiconset.html">TQIconSet</a>&nbsp;&amp;&nbsp;set, bool&nbsp;on )
+</h3> This is an overloaded member function, provided for convenience. It behaves essentially like the above function.
+<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> Since TQt 3.0, <a href="qiconset.html">TQIconSet</a> contains both the On and Off icons.
+<p> For ease of porting, this function ignores the <em>on</em> parameter and
+sets the <a href="#iconSet-prop">iconSet</a> property. If you relied on the <em>on</em> parameter,
+you probably want to update your code to use the TQIconSet On/Off
+mechanism.
+<p> <p>See also <a href="#iconSet-prop">iconSet</a> and <a href="qiconset.html#State-enum">TQIconSet::State</a>.
+
+<h3 class=fn>void <a name="setOffIconSet"></a>TQToolButton::setOffIconSet ( const&nbsp;<a href="qiconset.html">TQIconSet</a>&nbsp;&amp; )
+</h3><p>Sets the icon set that is used when the button is in an "off" state.
+See the <a href="qtoolbutton.html#offIconSet-prop">"offIconSet"</a> property for details.
+<h3 class=fn>void <a name="setOn"></a>TQToolButton::setOn ( bool&nbsp;enable )<tt> [virtual slot]</tt>
+</h3><p>Sets whether this tool button is on to <em>enable</em>.
+See the <a href="qtoolbutton.html#on-prop">"on"</a> property for details.
+<h3 class=fn>void <a name="setOnIconSet"></a>TQToolButton::setOnIconSet ( const&nbsp;<a href="qiconset.html">TQIconSet</a>&nbsp;&amp; )
+</h3><p>Sets the icon set that is used when the button is in an "on" state.
+See the <a href="qtoolbutton.html#onIconSet-prop">"onIconSet"</a> property for details.
+<h3 class=fn>void <a name="setPopup"></a>TQToolButton::setPopup ( <a href="qpopupmenu.html">TQPopupMenu</a>&nbsp;*&nbsp;popup )
+</h3>
+Associates the popup menu <em>popup</em> with this tool button.
+<p> The popup will be shown each time the tool button has been pressed
+down for a certain amount of time. A typical application example
+is the "back" button in some web browsers's tool bars. If the user
+clicks it, the browser simply browses back to the previous page.
+If the user presses and holds the button down for a while, the
+tool button shows a menu containing the current history list.
+<p> Ownership of the popup menu is not transferred to the tool button.
+<p> <p>See also <a href="#popup">popup</a>().
+
+<h3 class=fn>void <a name="setPopupDelay"></a>TQToolButton::setPopupDelay ( int&nbsp;delay )
+</h3><p>Sets the time delay between pressing the button and the appearance of the associated popup menu in milliseconds to <em>delay</em>.
+See the <a href="qtoolbutton.html#popupDelay-prop">"popupDelay"</a> property for details.
+<h3 class=fn>void <a name="setTextLabel"></a>TQToolButton::setTextLabel ( const&nbsp;<a href="qstring.html">TQString</a>&nbsp;&amp; )<tt> [slot]</tt>
+</h3><p>Sets the label of this button.
+See the <a href="qtoolbutton.html#textLabel-prop">"textLabel"</a> property for details.
+<h3 class=fn>void <a name="setTextLabel-2"></a>TQToolButton::setTextLabel ( const&nbsp;<a href="qstring.html">TQString</a>&nbsp;&amp;&nbsp;newLabel, bool&nbsp;tipToo )<tt> [virtual slot]</tt>
+</h3>
+This is an overloaded member function, provided for convenience. It behaves essentially like the above function.
+<p> Sets the label of this button to <em>newLabel</em> and automatically
+sets it as a tool tip if <em>tipToo</em> is TRUE.
+
+<h3 class=fn>void <a name="setTextPosition"></a>TQToolButton::setTextPosition ( <a href="qtoolbutton.html#TextPosition-enum">TextPosition</a>&nbsp;pos )<tt> [slot]</tt>
+</h3><p>Sets the position of the text label of this button to <em>pos</em>.
+See the <a href="qtoolbutton.html#textPosition-prop">"textPosition"</a> property for details.
+<h3 class=fn>void <a name="setToggleButton"></a>TQToolButton::setToggleButton ( bool&nbsp;enable )<tt> [virtual slot]</tt>
+</h3><p>Sets whether this tool button is a toggle button to <em>enable</em>.
+See the <a href="qtoolbutton.html#toggleButton-prop">"toggleButton"</a> property for details.
+<h3 class=fn>void <a name="setUsesBigPixmap"></a>TQToolButton::setUsesBigPixmap ( bool&nbsp;enable )<tt> [virtual slot]</tt>
+</h3><p>Sets whether this toolbutton uses big pixmaps to <em>enable</em>.
+See the <a href="qtoolbutton.html#usesBigPixmap-prop">"usesBigPixmap"</a> property for details.
+<h3 class=fn>void <a name="setUsesTextLabel"></a>TQToolButton::setUsesTextLabel ( bool&nbsp;enable )<tt> [virtual slot]</tt>
+</h3><p>Sets whether the toolbutton displays a text label below the button pixmap to <em>enable</em>.
+See the <a href="qtoolbutton.html#usesTextLabel-prop">"usesTextLabel"</a> property for details.
+<h3 class=fn><a href="qstring.html">TQString</a> <a name="textLabel"></a>TQToolButton::textLabel () const
+</h3><p>Returns the label of this button.
+See the <a href="qtoolbutton.html#textLabel-prop">"textLabel"</a> property for details.
+<h3 class=fn><a href="qtoolbutton.html#TextPosition-enum">TextPosition</a> <a name="textPosition"></a>TQToolButton::textPosition () const
+</h3><p>Returns the position of the text label of this button.
+See the <a href="qtoolbutton.html#textPosition-prop">"textPosition"</a> property for details.
+<h3 class=fn>void <a name="toggle"></a>TQToolButton::toggle ()<tt> [slot]</tt>
+</h3>
+Toggles the state of this tool button.
+<p> This function has no effect on <a href="qbutton.html#isToggleButton">non-toggling
+ buttons.</a>
+<p> <p>See also <a href="#toggleButton-prop">toggleButton</a> and <a href="qbutton.html#toggled">toggled</a>().
+
+<h3 class=fn>bool <a name="uses3D"></a>TQToolButton::uses3D () const<tt> [protected]</tt>
+</h3>
+Returns TRUE if this button should be drawn using raised edges;
+otherwise returns FALSE.
+<p> <p>See also <a href="qbutton.html#drawButton">drawButton</a>().
+
+<h3 class=fn>bool <a name="usesBigPixmap"></a>TQToolButton::usesBigPixmap () const
+</h3><p>Returns TRUE if this toolbutton uses big pixmaps; otherwise returns FALSE.
+See the <a href="qtoolbutton.html#usesBigPixmap-prop">"usesBigPixmap"</a> property for details.
+<h3 class=fn>bool <a name="usesTextLabel"></a>TQToolButton::usesTextLabel () const
+</h3><p>Returns TRUE if the toolbutton displays a text label below the button pixmap; otherwise returns FALSE.
+See the <a href="qtoolbutton.html#usesTextLabel-prop">"usesTextLabel"</a> property for details.
+<hr><h2>Property Documentation</h2>
+<h3 class=fn>bool <a name="autoRaise-prop"></a>autoRaise</h3>
+<p>This property holds whether auto-raising is enabled.
+<p>The default is disabled (i.e. FALSE).
+
+<p>Set this property's value with <a href="#setAutoRaise">setAutoRaise</a>() and get this property's value with <a href="#autoRaise">autoRaise</a>().
+<h3 class=fn><a href="qt.html#BackgroundMode-enum">BackgroundMode</a> <a name="backgroundMode-prop"></a>backgroundMode</h3>
+<p>This property holds the toolbutton's background mode.
+<p>Get this property with <a href="qwidget.html#backgroundMode">backgroundMode</a>().
+<p> <p>See also <a href="qwidget.html#backgroundMode-prop">TQWidget::backgroundMode</a>.
+
+<p><h3 class=fn><a href="qiconset.html">TQIconSet</a> <a name="iconSet-prop"></a>iconSet</h3>
+<p>This property holds the icon set providing the icon shown on the button.
+<p>Setting this property sets <a href="#pixmap-prop">TQToolButton::pixmap</a> to a null
+pixmap. There is no default iconset.
+<p> <p>See also <a href="#pixmap-prop">pixmap</a>, <a href="#toggleButton-prop">toggleButton</a>, and <a href="#on-prop">on</a>.
+
+<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><a href="qiconset.html">TQIconSet</a> <a name="offIconSet-prop"></a>offIconSet</h3>
+<p>This property holds the icon set that is used when the button is in an "off" state.
+<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> Since TQt 3.0, <a href="qiconset.html">TQIconSet</a> contains both the On and Off icons. There is
+now an <a href="#iconSet-prop">TQToolButton::iconSet</a> property that replaces both <a href="#onIconSet-prop">TQToolButton::onIconSet</a> and <a href="#offIconSet-prop">TQToolButton::offIconSet</a>.
+<p> For ease of porting, this property is a synonym for <a href="#iconSet-prop">TQToolButton::iconSet</a>. You probably want to go over your application
+code and use the TQIconSet On/Off mechanism.
+<p> <p>See also <a href="#iconSet-prop">iconSet</a> and <a href="qiconset.html#State-enum">TQIconSet::State</a>.
+
+<p>Set this property's value with <a href="#setOffIconSet">setOffIconSet</a>() and get this property's value with <a href="#offIconSet">offIconSet</a>().
+<h3 class=fn>bool <a name="on-prop"></a>on</h3>
+<p>This property holds whether this tool button is on.
+<p>This property has no effect on <a href="qbutton.html#isToggleButton">non-toggling
+ buttons.</a> The default is FALSE (i.e. off).
+<p> <p>See also <a href="#toggleButton-prop">toggleButton</a> and <a href="#toggle">toggle</a>().
+
+<p>Set this property's value with <a href="#setOn">setOn</a>().
+<h3 class=fn><a href="qiconset.html">TQIconSet</a> <a name="onIconSet-prop"></a>onIconSet</h3>
+<p>This property holds the icon set that is used when the button is in an "on" state.
+<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> Since TQt 3.0, <a href="qiconset.html">TQIconSet</a> contains both the On and Off icons. There is
+now an <a href="#iconSet-prop">TQToolButton::iconSet</a> property that replaces both <a href="#onIconSet-prop">TQToolButton::onIconSet</a> and <a href="#offIconSet-prop">TQToolButton::offIconSet</a>.
+<p> For ease of porting, this property is a synonym for <a href="#iconSet-prop">TQToolButton::iconSet</a>. You probably want to go over your application
+code and use the TQIconSet On/Off mechanism.
+<p> <p>See also <a href="#iconSet-prop">iconSet</a> and <a href="qiconset.html#State-enum">TQIconSet::State</a>.
+
+<p>Set this property's value with <a href="#setOnIconSet">setOnIconSet</a>() and get this property's value with <a href="#onIconSet">onIconSet</a>().
+<h3 class=fn><a href="qpixmap.html">TQPixmap</a> <a name="pixmap-prop"></a>pixmap</h3> <p>This property holds the pixmap of the button.
+<p>The pixmap property has no meaning for tool buttons. Use the
+iconSet property instead.
+
+<p><h3 class=fn>int <a name="popupDelay-prop"></a>popupDelay</h3>
+<p>This property holds the time delay between pressing the button and the appearance of the associated popup menu in milliseconds.
+<p>Usually this is around half a second. A value of 0 draws the down
+arrow button to the side of the button which can be used to open
+up the popup menu.
+<p> <p>See also <a href="#setPopup">setPopup</a>().
+
+<p>Set this property's value with <a href="#setPopupDelay">setPopupDelay</a>() and get this property's value with <a href="#popupDelay">popupDelay</a>().
+<h3 class=fn><a href="qstring.html">TQString</a> <a name="textLabel-prop"></a>textLabel</h3>
+<p>This property holds the label of this button.
+<p>Setting this property automatically sets the text as a tool tip
+too. There is no default text.
+
+<p>Set this property's value with <a href="#setTextLabel">setTextLabel</a>() and get this property's value with <a href="#textLabel">textLabel</a>().
+<h3 class=fn><a href="qtoolbutton.html#TextPosition-enum">TextPosition</a> <a name="textPosition-prop"></a>textPosition</h3>
+<p>This property holds the position of the text label of this button.
+<p>
+<p>Set this property's value with <a href="#setTextPosition">setTextPosition</a>() and get this property's value with <a href="#textPosition">textPosition</a>().
+<h3 class=fn>bool <a name="toggleButton-prop"></a>toggleButton</h3>
+<p>This property holds whether this tool button is a toggle button.
+<p>Toggle buttons have an on/off state similar to <a href="qcheckbox.html">check boxes.</a> A tool button is not a toggle button by
+default.
+<p> <p>See also <a href="#on-prop">on</a> and <a href="#toggle">toggle</a>().
+
+<p>Set this property's value with <a href="#setToggleButton">setToggleButton</a>().
+<h3 class=fn>bool <a name="usesBigPixmap-prop"></a>usesBigPixmap</h3>
+<p>This property holds whether this toolbutton uses big pixmaps.
+<p>TQToolButton automatically connects this property to the relevant
+signal in the <a href="qmainwindow.html">TQMainWindow</a> in which it resides. We strongly
+recommend that you use <a href="qmainwindow.html#setUsesBigPixmaps">TQMainWindow::setUsesBigPixmaps</a>() instead.
+<p> This property's default is TRUE.
+<p> <b>Warning:</b> If you set some buttons (in a TQMainWindow) to have big
+pixmaps and others to have small pixmaps, TQMainWindow may not get
+the geometry right.
+
+<p>Set this property's value with <a href="#setUsesBigPixmap">setUsesBigPixmap</a>() and get this property's value with <a href="#usesBigPixmap">usesBigPixmap</a>().
+<h3 class=fn>bool <a name="usesTextLabel-prop"></a>usesTextLabel</h3>
+<p>This property holds whether the toolbutton displays a text label below the button pixmap.
+<p>The default is FALSE.
+<p> TQToolButton automatically connects this slot to the relevant
+signal in the <a href="qmainwindow.html">TQMainWindow</a> in which is resides.
+
+<p>Set this property's value with <a href="#setUsesTextLabel">setUsesTextLabel</a>() and get this property's value with <a href="#usesTextLabel">usesTextLabel</a>().
+<!-- eof -->
+<hr><p>
+This file is part of the <a href="index.html">TQt toolkit</a>.
+Copyright &copy; 1995-2007
+<a href="http://www.trolltech.com/">Trolltech</a>. All Rights Reserved.<p><address><hr><div align=center>
+<table width=100% cellspacing=0 border=0><tr>
+<td>Copyright &copy; 2007
+<a href="troll.html">Trolltech</a><td align=center><a href="trademarks.html">Trademarks</a>
+<td align=right><div align=right>TQt 3.3.8</div>
+</table></div></address></body>
+</html>