class KIconDialog
|
Dialog for interactive selection of icons. More... |
|
|
Public Methods
Dialog for interactive selection of icons. Use the function
selectIcon() let the user select an icon.
KIconDialog (QWidget *parent=0L, const char *name=0L)
| KIconDialog |
~KIconDialog ()
| ~KIconDialog |
void setStrictIconSize (bool b)
| setStrictIconSize |
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.
QString selectIcon (int group=KIcon::Desktop, int
context=KIcon::Application, bool user=false)
| selectIcon |
Pops up the dialog an lets the user select an icon.
Parameters:
group | 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.
|
context | The initial icon context. Initially, the icons having
this context are shown in the dialog. The user can change this.
|
user | Begin with the "user icons" instead of "system icons".
|
Returns: The name of the icon, suitable for loading with KIconLoader.
Generated by: faure on ftp.kde.com on Wed Jun 20 10:39:04 2001, using kdoc 2.0a53. |