|
Krita Source Code Documentation
|
#include <psd_export.h>
Inheritance diagram for psdExport:Public Member Functions | |
| KisImportExportErrorCode | convert (KisDocument *document, QIODevice *io, KisPropertiesConfigurationSP configuration=0) override |
| bool | exportSupportsGuides () const override |
| exportSupportsGuides Because guides are in the document and not the image, checking for guides cannot be made an exportCheck. | |
| void | initializeCapabilities () override |
| psdExport (QObject *parent, const QVariantList &) | |
| ~psdExport () override | |
Public Member Functions inherited from KisImportExportFilter | |
| virtual KisConfigWidget * | createConfigurationWidget (QWidget *parent, const QByteArray &from="", const QByteArray &to="") const |
| createConfigurationWidget creates a widget that can be used to define the settings for a given import/export filter | |
| virtual KisPropertiesConfigurationSP | defaultConfiguration (const QByteArray &from="", const QByteArray &to="") const |
| defaultConfiguration defines the default settings for the given import export filter | |
| virtual QMap< QString, KisExportCheckBase * > | exportChecks () |
| generate and return the list of capabilities of this export filter. The list | |
| KisPropertiesConfigurationSP | lastSavedConfiguration (const QByteArray &from="", const QByteArray &to="") const |
| lastSavedConfiguration return the last saved configuration for this filter | |
| Private () | |
| void | setBatchMode (bool batchmode) |
| void | setFilename (const QString &filename) |
| void | setImportUserFeedBackInterface (KisImportUserFeedbackInterface *interface) |
| void | setMimeType (const QString &mime) |
| void | setRealFilename (const QString &filename) |
| void | setUpdater (QPointer< KoUpdater > updater) |
| virtual bool | supportsIO () const |
| Override and return false for the filters that use a library that cannot handle file handles, only file names. | |
| QPointer< KoUpdater > | updater () |
| virtual QString | verify (const QString &fileName) const |
| Verify whether the given file is correct and readable. | |
| ~KisImportExportFilter () override | |
| ~Private () | |
Additional Inherited Members | |
Public Attributes inherited from KisImportExportFilter | |
| bool | batchmode |
| QMap< QString, KisExportCheckBase * > | capabilities |
| QString | filename |
| KisImportUserFeedbackInterface * | importUserFeedBackInterface {nullptr} |
| QByteArray | mime |
| QString | realFilename |
| QPointer< KoUpdater > | updater |
Static Public Attributes inherited from KisImportExportFilter | |
| static const QString | CICPPrimariesTag = "CICPCompatiblePrimaries" |
| static const QString | CICPTransferCharacteristicsTag = "CICPCompatibleTransferFunction" |
| static const QString | ColorDepthIDTag = "ColorDepthID" |
| static const QString | ColorModelIDTag = "ColorModelID" |
| static const QString | HDRTag = "HDRSupported" |
| static const QString | ImageContainsTransparencyTag = "ImageContainsTransparency" |
| static const QString | sRGBTag = "sRGB" |
Protected Member Functions inherited from KisImportExportFilter | |
| void | addCapability (KisExportCheckBase *capability) |
| void | addSupportedColorModels (QList< QPair< KoID, KoID > > supportedColorModels, const QString &name, KisExportCheckBase::Level level=KisExportCheckBase::PARTIALLY) |
| bool | batchMode () const |
| QString | filename () const |
| KisImportUserFeedbackInterface * | importUserFeedBackInterface () const |
| KisImportExportFilter (QObject *parent=0) | |
| QByteArray | mimeType () const |
| QString | realFilename () const |
| void | setProgress (int value) |
| QString | verifyZiPBasedFiles (const QString &fileName, const QStringList &filesToCheck) const |
Definition at line 13 of file psd_export.h.
| psdExport::psdExport | ( | QObject * | parent, |
| const QVariantList & | ) |
Definition at line 32 of file psd_export.cc.
|
override |
Definition at line 36 of file psd_export.cc.
|
overridevirtual |
The filter chain calls this method to perform the actual conversion. The passed mimetypes should be a pair of those you specified in your .desktop file. You have to implement this method to make the filter work.
Implements KisImportExportFilter.
Definition at line 40 of file psd_export.cc.
References PSDSaver::buildFile().
|
overridevirtual |
exportSupportsGuides Because guides are in the document and not the image, checking for guides cannot be made an exportCheck.
Reimplemented from KisImportExportFilter.
Definition at line 92 of file psd_export.cc.
|
overridevirtual |
Reimplemented from KisImportExportFilter.
Definition at line 46 of file psd_export.cc.
References KisImportExportFilter::addCapability(), KisImportExportFilter::addSupportedColorModels(), CMYKAColorModelID, ImageSizeCheckFactory::create(), KoGenericRegistry< T >::get(), get(), GrayAColorModelID, KisExportCheckRegistry::instance(), Integer16BitsColorDepthID, Integer8BitsColorDepthID, LABAColorModelID, KisExportCheckBase::PARTIALLY, RGBAColorModelID, KisExportCheckBase::SUPPORTED, and KisExportCheckBase::UNSUPPORTED.