|
Krita Source Code Documentation
|
The KisExportCheckBase class defines the interface of the individual checks of an export filter's capabilities. More...
#include <KisExportCheckBase.h>
Inheritance diagram for KisExportCheckBase:Public Types | |
| enum | Level { SUPPORTED , PARTIALLY , UNSUPPORTED } |
Public Member Functions | |
| virtual Level | check (KisImageSP image) const =0 |
| virtual bool | checkNeeded (KisImageSP image) const =0 |
| virtual QString | id () const |
| KisExportCheckBase (const QString &id, Level level, const QString &customWarning=QString(), bool perLayerCheck=false) | |
| KisExportCheckBase. | |
| virtual bool | perLayerCheck () const |
| QString | warning () const |
| virtual | ~KisExportCheckBase () |
Protected Attributes | |
| QString | m_id |
| Level | m_level {UNSUPPORTED} |
| bool | m_perLayerCheck {false} |
| QString | m_warning |
The KisExportCheckBase class defines the interface of the individual checks of an export filter's capabilities.
Definition at line 19 of file KisExportCheckBase.h.
The level determines the level of support the export filter has for the given feature.
| Enumerator | |
|---|---|
| SUPPORTED | |
| PARTIALLY | |
| UNSUPPORTED | |
Definition at line 25 of file KisExportCheckBase.h.
| KisExportCheckBase::KisExportCheckBase | ( | const QString & | id, |
| Level | level, | ||
| const QString & | customWarning = QString(), | ||
| bool | perLayerCheck = false ) |
| level | the level of support the filter has for the given feature |
| customWarning | A custom warning to use instead of the default one |
Definition at line 9 of file KisExportCheckBase.cpp.
References m_warning.
|
virtual |
Definition at line 19 of file KisExportCheckBase.cpp.
|
pure virtual |
Implemented in ImageSizeCheck, AnimationCheck, ColorModelCheck, ColorModelHomogenousCheck, ColorModelPerLayerCheck, CompositionsCheck, ExifCheck, TiffExifCheck, FillLayerTypeCheck, ImageSizeCheck, IntegralFrameDurationCheck, LayerOpacityCheck, MultiLayerCheck, MultiTransparencyMaskCheck, NodeTypeCheck, PSDLayerStyleCheck, ShapeLayerTypeCheck, and sRGBProfileCheck.
|
pure virtual |
Implemented in ImageSizeCheck, AnimationCheck, ColorModelCheck, ColorModelHomogenousCheck, ColorModelPerLayerCheck, CompositionsCheck, ExifCheck, TiffExifCheck, FillLayerTypeCheck, ImageSizeCheck, IntegralFrameDurationCheck, LayerOpacityCheck, MultiLayerCheck, MultiTransparencyMaskCheck, NodeTypeCheck, PSDLayerStyleCheck, ShapeLayerTypeCheck, and sRGBProfileCheck.
|
virtual |
Definition at line 23 of file KisExportCheckBase.cpp.
References m_id.
|
virtual |
Definition at line 28 of file KisExportCheckBase.cpp.
References m_perLayerCheck.
| QString KisExportCheckBase::warning | ( | ) | const |
Definition at line 33 of file KisExportCheckBase.cpp.
References m_warning.
|
protected |
Definition at line 57 of file KisExportCheckBase.h.
|
protected |
Definition at line 58 of file KisExportCheckBase.h.
|
protected |
Definition at line 60 of file KisExportCheckBase.h.
|
protected |
Definition at line 59 of file KisExportCheckBase.h.