class KIconButton

A pushbutton for choosing an icon. More...

Definition#include <kicondialog.h>
InheritsQPushButton (kdeui)
List of all Methods
Annotated List
Files
Globals
Hierarchy
Index

Public Methods

Signals


Detailed Description

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.

 KIconButton (KIconLoader *loader, QWidget *parent, const char *name=0L)

Alternate constructor for use with a different iconloader.

KIconButton ()

void  setIconType (int group, int context, bool user=false)

Set the icon group and context.

void  setIcon (QString icon)

Set the button's initial icon.

void  resetIcon ()

Reset the icon (reverts to an empty button)

const QString  icon ()

Returns the selected icon name.

void  iconChanged (QString icon)

[signal]

Emitted when the icon has changed.


Generated by: prospector@porky.devel.redhat.com on Thu Aug 24 05:36:13 2000, using kdoc 2.0a36.