Export to DXF Format partially added. Following entities are exported:

1. Border and title block
2. Diagram independent text items
3. Element text items
4. Conductors

Following entities are not exported right now:
1. Element components
2. Terminals
3. Maybe other things also.

Lot of debugging shall be required.

Thank you




git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2718 bfdf4180-ca20-0410-9c96-a3a8aa849046
This commit is contained in:
abhishekm71
2014-01-08 16:55:16 +00:00
parent 3b0f0e1b1b
commit de10e6cf69
11 changed files with 886 additions and 1 deletions

View File

@@ -76,6 +76,12 @@ void TitleBlockTemplateRenderer::render(QPainter *provided_painter, int titleblo
}
}
void TitleBlockTemplateRenderer::renderDxf(QRectF &title_block_rect, int titleblock_width, QString &file_path, int color) {
if (!titleblock_template_) return;
titleblock_template_ -> renderDxf(title_block_rect, context_, titleblock_width, file_path, color);
}
/**
Renders the titleblock to the internal QPicture
@param titleblock_width Width of the titleblock to render