org.kde.koala
public class KIconButton extends QPushButton
See Also: KIconDialog
UNKNOWN: A push button that allows selection of an icon.
| Constructor Summary | |
|---|---|
| protected | KIconButton(Class dummy) |
| KIconButton(QWidget parent, String name)
Constructs a KIconButton using the global iconloader. | |
| KIconButton(QWidget parent) | |
| KIconButton() | |
| KIconButton(KIconLoader loader, QWidget parent, String name)
Constructs a KIconButton using a specific KIconLoader. | |
| KIconButton(KIconLoader loader, QWidget parent) | |
| Method Summary | |
|---|---|
| String | className() |
| void | dispose() Delete the wrapped C++ instance ahead of finalize() |
| protected void | finalize() Deletes the wrapped C++ instance |
| String | iconName()
Returns the name of the selected icon. |
| int | iconSize()
Returns the iconsize set via setIconSize() or 0, if the default
iconsize will be used. |
| boolean | isDisposed() Has the wrapped C++ instance been deleted? |
| QMetaObject | metaObject() |
| void | resetIcon()
Resets the icon (reverts to an empty button). |
| void | setIcon(String icon)
Sets the button's initial icon. |
| void | setIconSize(int size)
Sets the size of the icon to be shown / selected. |
| void | setIconType(int group, int context, boolean user)
Sets the icon group and context. |
| void | setIconType(int group, int context) |
| void | setStrictIconSize(boolean b)
Sets a strict icon size policy for allowed icons. |
| boolean | strictIconSize()
Returns true if a strict icon size policy is set. |
UNKNOWN: Constructs a KIconButton using the global iconloader.
UNKNOWN: Constructs a KIconButton using a specific KIconLoader.
UNKNOWN: Returns the name of the selected icon.
UNKNOWN: Returns the iconsize set via setIconSize() or 0, if the default iconsize will be used.
UNKNOWN: Resets the icon (reverts to an empty button).
UNKNOWN: Sets the button's initial icon.
See Also: KIcon#StdSizes KIconButton
UNKNOWN: Sets the size of the icon to be shown / selected.
UNKNOWN: Sets the icon group and context.
UNKNOWN: Sets a strict icon size policy for allowed icons.
UNKNOWN: Returns true if a strict icon size policy is set.