kleopatra
kleo_kicondialog.h
Go to the documentation of this file.
int iconSize() const
Returns the iconsize set via setIconSize() or 0, if the default iconsize will be used.
Definition: kleo_kicondialog.cpp:482
const QString & icon() const
Returns the name of the selected icon.
void setIcon(const QString &icon)
Sets the button's initial icon.
Definition: kleo_kicondialog.cpp:738
int iconSize() const
Returns the iconsize set via setIconSize() or 0, if the default iconsize will be used.
void stopLoading()
Call this slot to stop the loading of the icons.
Definition: kleo_kicondialog.cpp:201
void newIconName(const QString &)
void setIconSize(int size)
Sets the size of the icon to be shown / selected.
Definition: kleo_kicondialog.cpp:720
bool strictIconSize() const
Returns true if a strict icon size policy is set.
Definition: kleo_kicondialog.cpp:467
void setIconType(KIconLoader::Group group, KIconLoader::Context context, bool user=false)
Sets the icon group and context.
Definition: kleo_kicondialog.cpp:731
void iconChanged(const QString &icon)
Emitted when the icon has changed.
bool strictIconSize() const
Returns true if a strict icon size policy is set.
A pushbutton for choosing an icon.
Definition: kleo_kicondialog.h:246
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: kleo_kicondialog.cpp:570
Dialog for interactive selection of icons.
Definition: kleo_kicondialog.h:108
void showDialog()
show()es this dialog and emits a newIcon(const QString&) signal when successful.
Definition: kleo_kicondialog.cpp:543
void setStrictIconSize(bool b)
Sets a strict icon size policy for allowed icons.
Definition: kleo_kicondialog.cpp:462
void nameChanged(const QString &)
Emitted when the current icon has changed.
QString openDialog()
exec()utes this modal dialog and returns the name of the selected icon, or QString() if the dialog wa...
Definition: kleo_kicondialog.cpp:525
void setCustomLocation(const QString &location)
sets a custom icon directory
Definition: kleo_kicondialog.cpp:520
void setIconSize(int size)
Sets the size of the icons to be shown / selected.
Definition: kleo_kicondialog.cpp:472
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: kleo_kicondialog.cpp:488
void setStrictIconSize(bool b)
Sets a strict icon size policy for allowed icons.
Definition: kleo_kicondialog.cpp:710
KIconDialog(QWidget *parent=0L)
Constructs an icon selection dialog using the global iconloader.
Definition: kleo_kicondialog.cpp:269
void loadFiles(const QStringList &files)
Load icons into the canvas.
Definition: kleo_kicondialog.cpp:104
void progress(int number)
This signal is emitted whenever an icon has been loaded.
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.
This file is part of the KDE documentation.
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:56:41 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:56:41 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.