- overwritten the Beta_8.995 branch with the Gerber_Editor_Upgrade branch

This commit is contained in:
Marius Stanciu
2023-05-24 18:07:05 +03:00
parent c23d0c4ed6
commit 63071a9bae
214 changed files with 22249 additions and 6251 deletions

View File

@@ -1,7 +1,9 @@
from PyQt6 import QtWidgets, QtCore
from appGUI.GUIElements import FCLabel, FCComboBox, GLay, FCFrame
from appGUI.GUIElements import FCLabel, FCComboBox, GLay, FCFrame, FCCheckBox
from appGUI.preferences.OptionsGroupUI import OptionsGroupUI
import gettext
import appTranslation as fcTranslate
import builtins
@@ -36,7 +38,7 @@ class GeometryExpPrefGroupUI(OptionsGroupUI):
export_grid = GLay(v_spacing=5, h_spacing=3)
export_frame.setLayout(export_grid)
# Excellon non-decimal format
# DXF format
self.dxf_format_label = FCLabel("%s:" % _("Format"))
self.dxf_format_label.setToolTip(
_("Autodesk DXF Format used when exporting Geometry as DXF.")
@@ -48,4 +50,11 @@ class GeometryExpPrefGroupUI(OptionsGroupUI):
export_grid.addWidget(self.dxf_format_label, 0, 0)
export_grid.addWidget(self.dxf_format_combo, 0, 1)
# SVG format
self.svg_paths_only_cb = FCCheckBox(_("SVG Paths-Only"))
self.svg_paths_only_cb.setToolTip(
_("SVG Format. When checked it will export only paths.")
)
export_grid.addWidget(self.svg_paths_only_cb, 2, 0, 1, 2)
self.layout.addStretch()