#include <kicondialog.h>
Inheritance diagram for KIconDialog:
Public Methods | |
| KIconDialog (QWidget *parent=0L, const char *name=0L) | |
| KIconDialog (KIconLoader *loader, QWidget *parent=0, const char *name=0) | |
| ~KIconDialog () | |
| void | setStrictIconSize (bool b) |
| bool | strictIconSize () const |
| void | setCustomLocation (const QString &location) |
| void | setIconSize (int size) |
| int | iconSize () const |
| QString | selectIcon (KIcon::Group group=KIcon::Desktop, KIcon::Context context=KIcon::Application, bool user=false) |
| void | setup (KIcon::Group group, KIcon::Context context=KIcon::Application, bool strictIconSize=false, int iconSize=0, bool user=false) |
| QString | openDialog () |
Static Public Methods | |
| QString | getIcon (KIcon::Group group=KIcon::Desktop, KIcon::Context context=KIcon::Application, bool strictIconSize=false, int iconSize=0, bool user=false, QWidget *parent=0, const QString &caption=QString::null) |
Protected Methods | |
| virtual void | virtual_hook (int id, void *data) |
Dialog for interactive selection of icons. Use the function getIcon() let the user select an icon.
Definition at line 92 of file kicondialog.h.
|
||||||||||||
|
Constructs an icon selection dialog using the global iconloader. |
|
||||||||||||||||
|
Constructs an icon selection dialog using a specific iconloader. |
|
|
Destructs the dialog. |
|
||||||||||||||||||||||||||||||||
|
Pops up the dialog an lets the user select an icon.
|
|
|
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::null if the dialog was aborted.
|
|
||||||||||||||||
|
|
|
|
sets a custom icon directory
|
|
|
Sets the size of the icons to be shown / selected.
|
|
|
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(). |
|
|
Returns true if a strict icon size policy is set. |
1.2.18