|
|
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.
HACK Since I did not want to break binary compatibility, it does NOT use the same search path as the dialog. This IS a bug.
KIconLoaderButton ( QWidget *_widget ) |
Creates a new button.
void setIcon ( const char *_icon ) |
Set the buttons icon.
Parameters:
_icon | is a parameter as usually passed to KIconLoader. |
const char* icon () |
Returns: the name of the icon without path.
KIconLoaderDialog* iconLoaderDialog () |
Returns: a reference to the icon loader dialog used.
void iconChanged ( const char *icon ) |
Emitted if the icons has changed.
Generated by: root@jetson.devel.redhat.com on Fri Sep 24 18:53:02 199. |