Orchestrates importing an EPLAN .edz package as a QET element.
More...
#include <edzimporter.h>
Orchestrates importing an EPLAN .edz package as a QET element.
Ties together EdzArchive (extract) -> EdzPart (parse) -> EdzElementBuilder (build) and writes the resulting .elmt into a destination collection folder. UI-decoupled so it stays unit-testable headless; the collection widget calls importToDirectory() and then refreshes the panel.
◆ errorString()
| QString EdzImporter::errorString |
( |
| ) |
const |
|
inline |
◆ importToDirectory()
| bool EdzImporter::importToDirectory |
( |
const QString & | edz_path, |
|
|
const QString & | dest_dir ) |
Import the .edz at edz_path, writing the generated .elmt into the filesystem folder dest_dir.
- Returns
- true on success; writtenPath() then holds the created file. On failure errorString() explains why.
◆ writtenPath()
| QString EdzImporter::writtenPath |
( |
| ) |
const |
|
inline |
◆ m_error
| QString EdzImporter::m_error |
|
private |
◆ m_written
| QString EdzImporter::m_written |
|
private |
The documentation for this class was generated from the following files: