diff options
Diffstat (limited to 'doc/html/tqiconset.html')
-rw-r--r-- | doc/html/tqiconset.html | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/doc/html/tqiconset.html b/doc/html/tqiconset.html index 555918fd6..7adf6c857 100644 --- a/doc/html/tqiconset.html +++ b/doc/html/tqiconset.html @@ -74,13 +74,13 @@ styles and sizes. <p> A TQIconSet can generate smaller, larger, active, and disabled pixmaps from the set of icons it is given. Such pixmaps are used by -<a href="ntqtoolbutton.html">TQToolButton</a>, <a href="ntqheader.html">TQHeader</a>, <a href="ntqpopupmenu.html">TQPopupMenu</a>, etc. to show an icon representing a +<a href="tqtoolbutton.html">TQToolButton</a>, <a href="ntqheader.html">TQHeader</a>, <a href="tqpopupmenu.html">TQPopupMenu</a>, etc. to show an icon representing a particular action. <p> The simplest use of TQIconSet is to create one from a <a href="ntqpixmap.html">TQPixmap</a> and then use it, allowing TQt to work out all the required icon styles and sizes. For example: <p> <pre> - <a href="ntqtoolbutton.html">TQToolButton</a> *but = new <a href="ntqtoolbutton.html">TQToolButton</a>( <a href="#TQIconSet">TQIconSet</a>( TQPixmap("open.xpm") ), ... ); + <a href="tqtoolbutton.html">TQToolButton</a> *but = new <a href="tqtoolbutton.html">TQToolButton</a>( <a href="#TQIconSet">TQIconSet</a>( TQPixmap("open.xpm") ), ... ); </pre> <p> Using whichever pixmaps you specify as a base, TQIconSet provides a @@ -118,7 +118,7 @@ pixmaps. </h3> <a name="1"></a><p> If you write your own widgets that have an option to set a small pixmap, consider allowing a TQIconSet to be set for that pixmap. The -TQt class <a href="ntqtoolbutton.html">TQToolButton</a> is an example of such a widget. +TQt class <a href="tqtoolbutton.html">TQToolButton</a> is an example of such a widget. <p> Provide a method to set a TQIconSet, and when you draw the icon, choose whichever icon is appropriate for the current state of your widget. For example: @@ -140,7 +140,7 @@ release that will activate the function, or when it is the currently selected item. If the widget can be toggled, the "On" mode might be used to draw a different icon. <p> <center><img src="iconset.png" alt="TQIconSet"></center> -<p> <p>See also <a href="tqiconfactory.html">TQIconFactory</a>, <a href="ntqpixmap.html">TQPixmap</a>, <a href="ntqmainwindow.html#usesBigPixmaps-prop">TQMainWindow::usesBigPixmaps</a>, <a href="guibooks.html#fowler">GUI Design Handbook: Iconic Label</a>, <a href="graphics.html">Graphics Classes</a>, <a href="images.html">Image Processing Classes</a>, and <a href="shared.html">Implicitly and Explicitly Shared Classes</a>. +<p> <p>See also <a href="tqiconfactory.html">TQIconFactory</a>, <a href="ntqpixmap.html">TQPixmap</a>, <a href="tqmainwindow.html#usesBigPixmaps-prop">TQMainWindow::usesBigPixmaps</a>, <a href="guibooks.html#fowler">GUI Design Handbook: Iconic Label</a>, <a href="graphics.html">Graphics Classes</a>, <a href="images.html">Image Processing Classes</a>, and <a href="shared.html">Implicitly and Explicitly Shared Classes</a>. <hr><h2>Member Type Documentation</h2> <h3 class=fn><a name="Mode-enum"></a>TQIconSet::Mode</h3> @@ -178,7 +178,7 @@ to generate the Small pixmap when required. Similarly, a Small pixmap will be automatically scaled up to generate a Large pixmap. The preferred sizes for large/small generated icons can be set using <a href="#setIconSize">setIconSize</a>(). -<p> <p>See also <a href="#setIconSize">setIconSize</a>(), <a href="#iconSize">iconSize</a>(), <a href="#setPixmap">setPixmap</a>(), <a href="#pixmap">pixmap</a>(), and <a href="ntqmainwindow.html#usesBigPixmaps-prop">TQMainWindow::usesBigPixmaps</a>. +<p> <p>See also <a href="#setIconSize">setIconSize</a>(), <a href="#iconSize">iconSize</a>(), <a href="#setPixmap">setPixmap</a>(), <a href="#pixmap">pixmap</a>(), and <a href="tqmainwindow.html#usesBigPixmaps-prop">TQMainWindow::usesBigPixmaps</a>. <h3 class=fn><a name="State-enum"></a>TQIconSet::State</h3> @@ -230,7 +230,7 @@ Detaches this icon set from others with which it may share data. <p> You will never need to call this function; other TQIconSet functions call it as necessary. -<h3 class=fn>const <a href="ntqsize.html">TQSize</a> & <a name="iconSize"></a>TQIconSet::iconSize ( <a href="tqiconset.html#Size-enum">Size</a> which )<tt> [static]</tt> +<h3 class=fn>const <a href="tqsize.html">TQSize</a> & <a name="iconSize"></a>TQIconSet::iconSize ( <a href="tqiconset.html#Size-enum">Size</a> which )<tt> [static]</tt> </h3> If <em>which</em> is Small, returns the preferred size of a small generated icon; if <em>which</em> is Large, returns the preferred size @@ -285,7 +285,7 @@ assuming it to be of size <em>size</em>. icon set. <p> This function does nothing if <em>pixmap</em> is a null pixmap. -<h3 class=fn>void <a name="setIconSize"></a>TQIconSet::setIconSize ( <a href="tqiconset.html#Size-enum">Size</a> which, const <a href="ntqsize.html">TQSize</a> & size )<tt> [static]</tt> +<h3 class=fn>void <a name="setIconSize"></a>TQIconSet::setIconSize ( <a href="tqiconset.html#Size-enum">Size</a> which, const <a href="tqsize.html">TQSize</a> & size )<tt> [static]</tt> </h3> Set the preferred size for all small or large icons that are generated after this call. If <em>which</em> is Small, sets the preferred |