ImageFilter
A description for ImageFilter.
-
class ImageFilter : public AbstractFileFilter
Manages the import/export of data from/to an image file.
Public Functions
-
virtual void readDataFromFile(const QString &fileName, AbstractDataSource* = nullptr, ImportMode = ImportMode::Replace) override
reads the content of the file
fileNameto the data sourcedataSource.
-
virtual void write(const QString &fileName, AbstractDataSource*) override
writes the content of the data source
dataSourceto the filefileName.
-
virtual void save(QXmlStreamWriter*) const override
Saves as XML.
-
virtual bool load(XmlStreamReader*) override
Loads from XML.
Public Static Functions
-
static QStringList importFormats()
returns the list of all predefined import formats.
-
virtual void readDataFromFile(const QString &fileName, AbstractDataSource* = nullptr, ImportMode = ImportMode::Replace) override