7#ifndef LAYEROPACITYCHECK_H
8#define LAYEROPACITYCHECK_H
12#include <klocalizedstring.h>
106 if (customWarning.isEmpty()) {
108 "image conversion warning",
109 "Your image contains layers with a partial opacity. The layers will be exported at full opacity.");
117 return (
v.count() > 0);
142 QString
id()
const override {
143 return "LayerOpacityCheck";
const quint8 OPACITY_OPAQUE_U8
The KisExportCheckBase class defines the interface of the individual checks of an export filter's cap...
virtual QString id() const
KisGroupLayerSP rootLayer() const
bool visit(KisExternalLayer *layer) override
bool visit(KisFilterMask *) override
bool visit(KisTransparencyMask *) override
bool visit(KisNode *node) override
bool visit(KisSelectionMask *) override
bool visit(KisCloneLayer *layer) override
bool visit(KisGeneratorLayer *layer) override
bool visit(KisColorizeMask *) override
bool visit(KisAdjustmentLayer *layer) override
bool visit(KisTransformMask *) override
bool check(KisNode *node)
KisLayerOpacityCheckVisitor()
bool visit(KisPaintLayer *layer) override
bool visit(KisGroupLayer *layer) override
virtual bool visit(KisNode *node)=0
bool visitAll(KisNode *node, bool breakOnFail=false)
~LayerOpacityCheckFactory() override
KisExportCheckBase * create(KisExportCheckBase::Level level, const QString &customWarning) override
LayerOpacityCheckFactory()
QString id() const override
LayerOpacityCheck(const QString &id, Level level, const QString &customWarning=QString())
bool checkNeeded(KisImageSP image) const override
Level check(KisImageSP) const override
bool accept(KisNodeVisitor &v) override