- In Excellon Editor, Drill Array Plugin, upgraded the UI and work in progress for the features
This commit is contained in:
@@ -234,7 +234,7 @@ class PreferencesUIManager(QtCore.QObject):
|
||||
self.ui.excellon_pref_form.excellon_editor_group.drill_circular_angle_entry,
|
||||
# Excellon Slots
|
||||
"excellon_editor_slot_direction":
|
||||
self.ui.excellon_pref_form.excellon_editor_group.slot_axis_radio,
|
||||
self.ui.excellon_pref_form.excellon_editor_group.slot_direction_radio,
|
||||
"excellon_editor_slot_angle":
|
||||
self.ui.excellon_pref_form.excellon_editor_group.slot_angle_spinner,
|
||||
"excellon_editor_slot_length":
|
||||
|
||||
@@ -1,4 +1,3 @@
|
||||
from PyQt6 import QtWidgets
|
||||
|
||||
from appGUI.GUIElements import FCSpinner, FCDoubleSpinner, RadioSet, FCLabel, GLay, FCFrame
|
||||
from appGUI.preferences.OptionsGroupUI import OptionsGroupUI
|
||||
@@ -208,11 +207,11 @@ class ExcellonEditorPrefGroupUI(OptionsGroupUI):
|
||||
)
|
||||
self.slot_axis_label.setMinimumWidth(100)
|
||||
|
||||
self.slot_axis_radio = RadioSet([{'label': _('X'), 'value': 'X'},
|
||||
{'label': _('Y'), 'value': 'Y'},
|
||||
{'label': _('Angle'), 'value': 'A'}], compact=True)
|
||||
self.slot_direction_radio = RadioSet([{'label': _('X'), 'value': 'X'},
|
||||
{'label': _('Y'), 'value': 'Y'},
|
||||
{'label': _('Angle'), 'value': 'A'}], compact=True)
|
||||
slots_grid.addWidget(self.slot_axis_label, 2, 0)
|
||||
slots_grid.addWidget(self.slot_axis_radio, 2, 1)
|
||||
slots_grid.addWidget(self.slot_direction_radio, 2, 1)
|
||||
|
||||
# Slot custom angle
|
||||
self.slot_angle_label = FCLabel('%s:' % _('Angle'))
|
||||
|
||||
Reference in New Issue
Block a user