|
Krita Source Code Documentation
|
#include <KisPresetShadowUpdater.h>
Inheritance diagram for KisPresetShadowUpdater:Classes | |
| struct | Private |
Public Slots | |
| void | slotCacheGenerationFinished (int sequenceNumber, KoResourceCacheInterfaceSP cacheInterface) |
| void | slotCanvasResourceChanged (int key, const QVariant &value) |
| void | slotPresetChanged () |
| void | slotStartPresetPreparation () |
Public Member Functions | |
| KisPresetShadowUpdater (KisViewManager *view) | |
| ~KisPresetShadowUpdater () | |
Private Attributes | |
| const QScopedPointer< Private > | m_d |
Definition at line 16 of file KisPresetShadowUpdater.h.
| KisPresetShadowUpdater::KisPresetShadowUpdater | ( | KisViewManager * | view | ) |
Definition at line 95 of file KisPresetShadowUpdater.cpp.
References connect(), m_d, and slotStartPresetPreparation().
| KisPresetShadowUpdater::~KisPresetShadowUpdater | ( | ) |
Definition at line 103 of file KisPresetShadowUpdater.cpp.
|
slot |
Definition at line 176 of file KisPresetShadowUpdater.cpp.
References KoCanvasResource::CurrentPaintOpPresetCache, and m_d.
|
slot |
if the current preset depends on the canvas resources, we should reset its cache and restart cache generation
Definition at line 107 of file KisPresetShadowUpdater.cpp.
References KoCanvasResource::CurrentPaintOpPreset, KoCanvasResource::CurrentPaintOpPresetCache, m_d, slotPresetChanged(), and value().
|
slot |
Definition at line 135 of file KisPresetShadowUpdater.cpp.
References KoCanvasResource::CurrentPaintOpPresetCache, and m_d.
|
slot |
a fallback solution when a preset is selected on Krita loading, when there is no image present
Definition at line 146 of file KisPresetShadowUpdater.cpp.
References KisImage::addSpontaneousJob(), connect(), KisGlobalResourcesInterface::instance(), m_d, slotCacheGenerationFinished(), and toQShared().
|
private |
Definition at line 34 of file KisPresetShadowUpdater.h.