class KIconButton
|
A pushbutton for choosing an icon. More... |
|
|
Public Methods
Signals
A pushbutton for choosing an icon. Pressing on the button will open a
KIconDialog for the user to select an icon. The current icon will be
displayed on the button.
KIconButton (QWidget *parent=0L, const char *name=0L)
|
Creates a new KIconButton. Uses the global iconloader.
Alternate constructor for use with a different iconloader.
void setStrictIconSize (bool b)
|
Set a strict icon size policy for allowed icons. When true,
only icons of the specified group's size in setIconType are allowed,
and only icons of that size will be shown in the icon dialog.
void setIconType (int group, int context, bool user=false)
|
Set the icon group and context. Use KIcon::NoGroup if you want to
allow icons for any group in the given context.
Set the button's initial icon.
Reset the icon (reverts to an empty button)
Returns the selected icon name.
[signal]
Emitted when the icon has changed.
Generated by: marc@yogi on Tue Mar 27 13:08:28 2001, using kdoc 2.0a48. |