|
|
This is a button that uses the KIconLoaderDialog. It shows the currently selected icon. Pressing on the icon will open the dialog. If the icon changes, a signal is emitted and the buttons pixmap becomes updated.
You can set the resource type for locating the icon pixmaps. See setIconType for changing the default setting, which is "toolbar".
|
Create a new button.
|
Create a new button.
Parameters:
_icon_loader | The KIconLoader which should be used by this button. |
void |
Set the resource type for locating icon pixmaps and reload the icon, if a name has already been given.
The default resource type is "toolbar".
Parameters:
_resType | A resource type known to KStandardDirs. |
void |
Set the button's icon.
Parameters:
_icon | A parameter as usually passed to KIconLoader. |
Reimplemented from QWidget
const QString |
Returns: The name of the icon without path.
Reimplemented from QWidget
KIconLoaderDialog* |
Returns: A reference to the icon loader dialog used.
void |
[signal]
Emitted if the icon has changed.
Generated by: dfaure@faure on Sun Mar 26 14:24:24 2000, using kdoc 2.0a35. |