|
QCAD
Open Source 2D CAD
|
Go to the documentation of this file.
20 #ifndef RDXFIMPORTERFACTORY_H_
21 #define RDXFIMPORTERFACTORY_H_
54 return new RDxfImporter(document, messageHandler, progressHandler);
57 virtual int canImport(
const QString& fileName,
const QString& nameFilter);
virtual RFileImporter * instantiate(RDocument &document, RMessageHandler *messageHandler=NULL, RProgressHandler *progressHandler=NULL)
Definition: RDxfImporterFactory.h:50
Copyright (c) 2011-2018 by Andrew Mustun.
Definition: RMessageHandler.h:33
Copyright (c) 2011-2018 by Andrew Mustun.
Definition: RProgressHandler.h:33
virtual int canImport(const QString &fileName, const QString &nameFilter="")=0
static void registerFileImporter()
Definition: RDxfImporterFactory.h:42
Copyright (c) 2011-2018 by Andrew Mustun.
Definition: RFileImporter.h:37
#define QCADDXF_EXPORT
Definition: dxf_global.h:10
Needs to be implemented by RFileImporter implementations to check if the importer is suitable to impo...
Definition: RFileImporterFactory.h:41
Q_DECLARE_METATYPE(RMath *)
A graphics document contains and owns entities, layers, user coordinate systems, variables,...
Definition: RDocument.h:72
virtual QStringList getFilterStrings()=0
Importer for the DXF format, based on the dxflib library.
Definition: RDxfImporter.h:62
static void registerFileImporter(RFileImporterFactory *factory)
Registers a file importer.
Definition: RFileImporterRegistry.cpp:42
Definition: RDxfImporterFactory.h:40