Add import dxf feature

Use dxf2elmt to import dxf.
See https://github.com/antonioaja/dxf2elmt
This commit is contained in:
joshua
2022-07-23 21:54:23 +02:00
parent 2a7848e1ca
commit 6e81451b46
9 changed files with 373 additions and 2 deletions

View File

@@ -35,6 +35,7 @@
<addaction name="m_new_action"/>
<addaction name="m_open_action"/>
<addaction name="m_open_from_file_action"/>
<addaction name="m_import_dxf"/>
<addaction name="m_open_dxf_action"/>
<addaction name="m_save_action"/>
<addaction name="m_save_as_action"/>
@@ -501,6 +502,15 @@
<string>Space</string>
</property>
</action>
<action name="m_import_dxf">
<property name="icon">
<iconset resource="../../../qelectrotech.qrc">
<normaloff>:/ico/16x16/run-dxf.png</normaloff>:/ico/16x16/run-dxf.png</iconset>
</property>
<property name="text">
<string>Importer un dxf</string>
</property>
</action>
</widget>
<resources>
<include location="../../../qelectrotech.qrc"/>