class KIconDialog |
|
|
Dialog for interactive selection of icons. Use the function getIcon() let the user select an icon. An icon selection dialog. |
|
Constructs an icon selection dialog using the global iconloader. |
|
Constructs an icon selection dialog using a specific iconloader. |
|
|
Pops up the dialog an lets the user select an icon.
group - The icon group this icon is intended for. Providing the group shows the icons in the dialog with the same appearance as when used outside the dialog. context - The initial icon context. Initially, the icons having this context are shown in the dialog. The user can change this. strictIconSize - When true, only icons of the specified group's size are shown, otherwise icon not available in the desired group's size will also be selectable. |
|
Returns the iconsize set via setIconSize() or 0, if the default iconsize will be used. |
|
|
exec()utes this modal dialog and returns the name of the selected icon, or QString() if the dialog was aborted. Returns the name of the icon, suitable for loading with KIconLoader. See also getIcon |
|
sets a custom icon directory |
|
Sets the size of the icons to be shown / selected. See also K3Icon.StdSizes See also iconSize |
|
Sets a strict icon size policy for allowed icons. When true, only icons of the specified group's size in getIcon() are shown. When false, icons not available at the desired group's size will also be selectable. |
|
Allows you to set the same parameters as in the class method getIcon(), as well as two additional parameters to lock the choice between system and user dirs and to lock the custom user dir itself. |
|
show()es this dialog and emits a newIcon(const QString&) signal when successful. QString() will be emitted if the dialog was aborted. |
|
|
Returns true if a strict icon size policy is set. |