Krita
PresetChooser.cpp
15 connect(this, SIGNAL(resourceSelected(KoResourceSP )), SLOT(slotResourceSelected(KoResourceSP )));
38 Q_EMIT presetSelected(Resource(r->resourceId(), "paintoppreset", r->name(), r->filename(), r->image()));
43 Q_EMIT presetClicked(Resource(r->resourceId(), "paintoppreset", r->name(), r->filename(), r->image()));
void presetSelected(Resource resource)
Emitted whenever a user selects the given preset.
void setCurrentPreset(Resource *resource)
Make the given preset active.
Definition PresetChooser.cpp:21
void presetClicked(Resource resource)
Emitted whenever a user clicks on the given preset.
A Resource represents a gradient, pattern, brush tip, brush preset, palette or workspace definition.
Definition Resource.h:31
QFuture< ArgsType< Signal > > connect(Sender *sender, Signal signal)
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Sat Dec 21 2024 17:02:09 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2024 The KDE developers.
Generated on Sat Dec 21 2024 17:02:09 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.