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:483
const QString & icon() const
Returns the name of the selected icon.
QButtonGroup * group() const
void setIcon(const QString &icon)
Sets the button's initial icon.
Definition: kleo_kicondialog.cpp:739
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:202
void newIconName(const QString &)
void setIconSize(int size)
Sets the size of the icon to be shown / selected.
Definition: kleo_kicondialog.cpp:721
bool strictIconSize() const
Returns true if a strict icon size policy is set.
Definition: kleo_kicondialog.cpp:468
QSize size() const
void setIconType(KIconLoader::Group group, KIconLoader::Context context, bool user=false)
Sets the icon group and context.
Definition: kleo_kicondialog.cpp:732
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:571
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:544
void setStrictIconSize(bool b)
Sets a strict icon size policy for allowed icons.
Definition: kleo_kicondialog.cpp:463
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:526
void setCustomLocation(const QString &location)
sets a custom icon directory
Definition: kleo_kicondialog.cpp:521
void setIconSize(int size)
Sets the size of the icons to be shown / selected.
Definition: kleo_kicondialog.cpp:473
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:489
void setStrictIconSize(bool b)
Sets a strict icon size policy for allowed icons.
Definition: kleo_kicondialog.cpp:711
KIconDialog(QWidget *parent=0L)
Constructs an icon selection dialog using the global iconloader.
Definition: kleo_kicondialog.cpp:270
QObject * parent() const
void loadFiles(const QStringList &files)
Load icons into the canvas.
Definition: kleo_kicondialog.cpp:105
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-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:33:11 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:33:11 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.