diff options
Diffstat (limited to 'doc/html/tqiconset.html')
-rw-r--r-- | doc/html/tqiconset.html | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/doc/html/tqiconset.html b/doc/html/tqiconset.html index f75757e29..c994b4a03 100644 --- a/doc/html/tqiconset.html +++ b/doc/html/tqiconset.html @@ -76,7 +76,7 @@ styles and sizes. from the set of icons it is given. Such pixmaps are used by <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 +<p> The simplest use of TQIconSet is to create one from a <a href="tqpixmap.html">TQPixmap</a> and then use it, allowing TQt to work out all the required icon styles and sizes. For example: <p> <pre> @@ -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="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>. +<p> <p>See also <a href="tqiconfactory.html">TQIconFactory</a>, <a href="tqpixmap.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> @@ -195,7 +195,7 @@ used. The <em>state</em> can be: Constructs a null icon set. <p> <p>See also <a href="#setPixmap">setPixmap</a>() and <a href="#reset">reset</a>(). -<h3 class=fn><a name="TQIconSet-2"></a>TQIconSet::TQIconSet ( const <a href="ntqpixmap.html">TQPixmap</a> & pixmap, <a href="tqiconset.html#Size-enum">Size</a> size = Automatic ) +<h3 class=fn><a name="TQIconSet-2"></a>TQIconSet::TQIconSet ( const <a href="tqpixmap.html">TQPixmap</a> & pixmap, <a href="tqiconset.html#Size-enum">Size</a> size = Automatic ) </h3> Constructs an icon set for which the Normal pixmap is <em>pixmap</em>, which is assumed to be of size <em>size</em>. @@ -206,7 +206,7 @@ considered to be Small. You can use <a href="#setIconSize">setIconSize</a>() to preferred size of a generated icon. <p> <p>See also <a href="#setIconSize">setIconSize</a>() and <a href="#reset">reset</a>(). -<h3 class=fn><a name="TQIconSet-3"></a>TQIconSet::TQIconSet ( const <a href="ntqpixmap.html">TQPixmap</a> & smallPix, const <a href="ntqpixmap.html">TQPixmap</a> & largePix ) +<h3 class=fn><a name="TQIconSet-3"></a>TQIconSet::TQIconSet ( const <a href="tqpixmap.html">TQPixmap</a> & smallPix, const <a href="tqpixmap.html">TQPixmap</a> & largePix ) </h3> Creates an iconset which uses the pixmap <em>smallPix</em> for for displaying a small icon, and the pixmap <em>largePix</em> for displaying a large icon. @@ -261,23 +261,23 @@ Assigns <em>other</em> to this icon set and returns a reference to this icon set. <p> <p>See also <a href="#detach">detach</a>(). -<h3 class=fn><a href="ntqpixmap.html">TQPixmap</a> <a name="pixmap"></a>TQIconSet::pixmap ( <a href="tqiconset.html#Size-enum">Size</a> size, <a href="tqiconset.html#Mode-enum">Mode</a> mode, <a href="tqiconset.html#State-enum">State</a> state = Off ) const +<h3 class=fn><a href="tqpixmap.html">TQPixmap</a> <a name="pixmap"></a>TQIconSet::pixmap ( <a href="tqiconset.html#Size-enum">Size</a> size, <a href="tqiconset.html#Mode-enum">Mode</a> mode, <a href="tqiconset.html#State-enum">State</a> state = Off ) const </h3> Returns a pixmap with size <em>size</em>, mode <em>mode</em> and state <em>state</em>, generating one if necessary. Generated pixmaps are cached. -<h3 class=fn><a href="ntqpixmap.html">TQPixmap</a> <a name="pixmap-2"></a>TQIconSet::pixmap ( <a href="tqiconset.html#Size-enum">Size</a> size, bool enabled, <a href="tqiconset.html#State-enum">State</a> state = Off ) const +<h3 class=fn><a href="tqpixmap.html">TQPixmap</a> <a name="pixmap-2"></a>TQIconSet::pixmap ( <a href="tqiconset.html#Size-enum">Size</a> size, bool enabled, <a href="tqiconset.html#State-enum">State</a> state = Off ) 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> This is the same as <a href="#pixmap">pixmap</a>(<em>size</em>, <em>enabled</em>, <em>state</em>). -<h3 class=fn><a href="ntqpixmap.html">TQPixmap</a> <a name="pixmap-3"></a>TQIconSet::pixmap () const +<h3 class=fn><a href="tqpixmap.html">TQPixmap</a> <a name="pixmap-3"></a>TQIconSet::pixmap () const </h3> This is an overloaded member function, provided for convenience. It behaves essentially like the above function. <p> Returns the pixmap originally provided to the constructor or to <a href="#reset">reset</a>(). This is the Normal pixmap of unspecified Size. <p> <p>See also <a href="#reset">reset</a>(). -<h3 class=fn>void <a name="reset"></a>TQIconSet::reset ( const <a href="ntqpixmap.html">TQPixmap</a> & pixmap, <a href="tqiconset.html#Size-enum">Size</a> size ) +<h3 class=fn>void <a name="reset"></a>TQIconSet::reset ( const <a href="tqpixmap.html">TQPixmap</a> & pixmap, <a href="tqiconset.html#Size-enum">Size</a> size ) </h3> Sets this icon set to use pixmap <em>pixmap</em> for the Normal pixmap, assuming it to be of size <em>size</em>. @@ -297,7 +297,7 @@ Also note that the preferred icon sizes will be ignored for icon sets that have been created using both small and large pixmaps. <p> <p>See also <a href="#iconSize">iconSize</a>(). -<h3 class=fn>void <a name="setPixmap"></a>TQIconSet::setPixmap ( const <a href="ntqpixmap.html">TQPixmap</a> & pixmap, <a href="tqiconset.html#Size-enum">Size</a> size, <a href="tqiconset.html#Mode-enum">Mode</a> mode = Normal, <a href="tqiconset.html#State-enum">State</a> state = Off )<tt> [virtual]</tt> +<h3 class=fn>void <a name="setPixmap"></a>TQIconSet::setPixmap ( const <a href="tqpixmap.html">TQPixmap</a> & pixmap, <a href="tqiconset.html#Size-enum">Size</a> size, <a href="tqiconset.html#Mode-enum">Mode</a> mode = Normal, <a href="tqiconset.html#State-enum">State</a> state = Off )<tt> [virtual]</tt> </h3> Sets this icon set to provide pixmap <em>pixmap</em> for size <em>size</em>, mode <em>mode</em> and state <em>state</em>. The icon set may also use <em>pixmap</em> for generating other pixmaps if they are not explicitly set. |