mirror of
https://github.com/qelectrotech/qelectrotech-source-mirror.git
synced 2025-12-18 05:00:33 +01:00
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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user