KIO
kicondialog.h
Go to the documentation of this file.
KDialog(QWidget *parent=0, Qt::WindowFlags flags=0)
void setStrictIconSize(bool b)
Sets a strict icon size policy for allowed icons.
Definition kicondialog.cpp:807
KIconButton(QWidget *parent=0L)
Constructs a KIconButton using the global iconloader.
Definition kicondialog.cpp:769
void setIconType(KIconLoader::Group group, KIconLoader::Context context, bool user=false)
Sets the icon group and context.
Definition kicondialog.cpp:842
void setButtonIconSize(int size)
Sets the size of the icon to be shown on the button.
Definition kicondialog.cpp:831
void setIconSize(int size)
Sets the size of the icon to be shown / selected.
Definition kicondialog.cpp:817
void finished()
This signal is emitted when the loading of the icons has been finished.
void startLoading(int count)
This signal is emitted when the loading of the icons has started.
void progress(int number)
This signal is emitted whenever an icon has been loaded.
bool strictIconSize() const
Returns true if a strict icon size policy is set.
Definition kicondialog.cpp:544
void setup(KIconLoader::Group group, KIconLoader::Context context=KIconLoader::Application, bool strictIconSize=false, int iconSize=0, bool user=false, bool lockUser=false, bool lockCustomDir=false)
Allows you to set the same parameters as in the class method getIcon(), as well as two additional par...
Definition kicondialog.cpp:565
KIconDialog(QWidget *parent=0L)
Constructs an icon selection dialog using the global iconloader.
Definition kicondialog.cpp:329
int iconSize() const
Returns the iconsize set via setIconSize() or 0, if the default iconsize will be used.
Definition kicondialog.cpp:559
void newIconName(const QString &)
void setStrictIconSize(bool b)
Sets a strict icon size policy for allowed icons.
Definition kicondialog.cpp:539
void showDialog()
show()es this dialog and emits a newIcon(const QString&) signal when successful.
Definition kicondialog.cpp:632
QString openDialog()
exec()utes this modal dialog and returns the name of the selected icon, or QString() if the dialog wa...
Definition kicondialog.cpp:610
void setIconSize(int size)
Sets the size of the icons to be shown / selected.
Definition kicondialog.cpp:549
static QString getIcon(KIconLoader::Group group=KIconLoader::Desktop, KIconLoader::Context context=KIconLoader::Application, bool strictIconSize=false, int iconSize=0, bool user=false, QWidget *parent=0, const QString &caption=QString())
Pops up the dialog an lets the user select an icon.
Definition kicondialog.cpp:657
void setCustomLocation(const QString &location)
sets a custom icon directory
Definition kicondialog.cpp:605
Group
Desktop
Context
Application
KListWidget(QWidget *parent=0)
This file is part of the KDE documentation.
Documentation copyright © 1996-2025 The KDE developers.
Generated on Tue Mar 25 2025 00:00:00 by doxygen 1.13.2 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2025 The KDE developers.
Generated on Tue Mar 25 2025 00:00:00 by doxygen 1.13.2 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.