<HTML> <HEAD> <TITLE>class KIconDialog</TITLE> <META NAME="Generator" CONTENT="KDOC "> </HEAD> <BODY bgcolor="#ffffff" text="#000000" link="#0000ff" vlink="#000099" alink= "#ffffff"> <TABLE WIDTH="100%" BORDER="0"> <TR> <TD> <TABLE BORDER="0"> <TR><TD valign="top" align="left" cellspacing="10"> <h1>class KIconDialog</h1> </TD> <TD valign="top" align="right" colspan="1"> Dialog for interactive selection of icons. <small><A HREF="#longdesc">More...</A></small></TD></TR> </TABLE> <HR> <TABLE BORDER="0"> <TR><TH>Definition</TH><TD><code>#include <<A HREF="kicondialog_h.html">kicondialog.h</A>></code></TD></TR> <TR><TH>Inherits</TH><TD><A HREF="../kdeui/KDialogBase.html">KDialogBase</A> <small>(kdeui)</small> <small>[public ]</small></TD></TR> <TR><TH><A HREF="full-list-KIconDialog.html">List of all Methods</A></TH></TR> </TABLE> </TD> <TD align="right"><TABLE BORDER="0"><TR><TD><small><A HREF="index-long.html">Annotated List</A></small></TD></TR> <TR><TD><small><A HREF="header-list.html">Files</A></small></TD></TR> <TR><TD><small><A HREF="all-globals.html">Globals</A></small></TD></TR> <TR><TD><small><A HREF="hier.html">Hierarchy</A></small></TD></TR> <TR><TD><small><A HREF="index.html">Index</A></small></TD></TR> </TABLE></TD></TR></TABLE> <h4>Public Methods</h4><ul><LI> <b><A HREF="#ref1">KIconDialog</A></b> (<A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qwidget.html">QWidget</A> *parent=0L, const char *name=0L) </LI> <LI> <b><A HREF="#ref2">KIconDialog</A></b> (<A HREF="../kdecore/KIconLoader.html">KIconLoader</A> *loader, <A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qwidget.html">QWidget</A> *parent=0, const char *name=0) </LI> <LI> <b><A HREF="#ref3">~KIconDialog</A></b> () </LI> <LI>void <b><A HREF="#ref4">setStrictIconSize</A></b> (bool b) </LI> <LI><A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qstring.html">QString</A> <b><A HREF="#ref5">selectIcon</A></b> (int group=KIcon::Desktop, int context=KIcon::Application, bool user=false) </LI> </ul><HR><H2><A NAME="longdesc">Detailed Description</A></H2><p> Dialog for interactive selection of icons. Use the function selectIcon() let the user select an icon. </p> <A NAME="KIconDialog"></A><A NAME="ref1"></A><table width="100%"><tr bgcolor="#eeeeee"><td> <strong>KIconDialog</strong> (<A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qwidget.html">QWidget</A> *parent=0L, const char *name=0L) <br></td><td align="right"><h3><strong>KIconDialog</strong></h3></td></tr></table><p></p><A NAME="KIconDialog"></A><A NAME="ref2"></A><table width="100%"><tr bgcolor="#eeeeee"><td> <strong>KIconDialog</strong> (<A HREF="../kdecore/KIconLoader.html">KIconLoader</A> *loader, <A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qwidget.html">QWidget</A> *parent=0, const char *name=0) <br></td><td align="right"><h3><strong>KIconDialog</strong></h3></td></tr></table><p></p><A NAME="~KIconDialog"></A><A NAME="ref3"></A><table width="100%"><tr bgcolor="#eeeeee"><td> <strong>~KIconDialog</strong> () <br></td><td align="right"><h3><strong>~KIconDialog</strong></h3></td></tr></table><p></p><A NAME="setStrictIconSize"></A><A NAME="ref4"></A><table width="100%"><tr bgcolor="#eeeeee"><td>void <strong>setStrictIconSize</strong> (bool b) <br></td><td align="right"><h3><strong>setStrictIconSize</strong></h3></td></tr></table><p></p><p> Sets a strict icon size policy for allowed icons. When true, only icons of the specified group's size in selectIcon are shown. When false, icons not available at the desired group's size will also be selectable. </p> <A NAME="selectIcon"></A><A NAME="ref5"></A><table width="100%"><tr bgcolor="#eeeeee"><td><A HREF="../../../../../../../../../usr/share/doc/qt-2.3.1/html/qstring.html">QString</A> <strong>selectIcon</strong> (int group=KIcon::Desktop, int context=KIcon::Application, bool user=false) <br></td><td align="right"><h3><strong>selectIcon</strong></h3></td></tr></table><p></p><p> Pops up the dialog an lets the user select an icon. </p> <p></p> <p><b>Parameters</b>:<TABLE BORDER="0" CELLPADDING="5"> <TR><TD align="left" valign="top"><i>group</i></TD><TD align="left" valign="top">The icon group this icon is intended for. Providing the group shows the icons in the dialog with the same appearance as when used outside the dialog. </TD></TR> <TR><TD align="left" valign="top"><i>context</i></TD><TD align="left" valign="top">The initial icon context. Initially, the icons having this context are shown in the dialog. The user can change this. </TD></TR> <TR><TD align="left" valign="top"><i>user</i></TD><TD align="left" valign="top">Begin with the "user icons" instead of "system icons". </TD></TR> </TABLE></P> <p><b>Returns</b>: The name of the icon, suitable for loading with KIconLoader. </p> <HR> <table> <tr><td><small>Generated by: qateam on updates.mandrakesoft.com on Mon Dec 30 16:09:22 2002, using kdoc 2.0a53.</small></td></tr> </table> </BODY> </HTML>