- some reformatting and class rename
- when clicking the coordinates toolbars in the status bar now the Distance Plugin is shown and if already displayed, it is closed (toggle action)
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
from PyQt6 import QtWidgets
|
||||
|
||||
from appGUI.GUIElements import RadioSet, FCDoubleSpinner, FCCheckBox, NumericalEvalTupleEntry, FCComboBox2, FCLabel, \
|
||||
FCGridLayout, FCFrame
|
||||
GLay, FCFrame
|
||||
from appGUI.preferences.OptionsGroupUI import OptionsGroupUI
|
||||
|
||||
import gettext
|
||||
@@ -36,7 +36,7 @@ class ToolsNCCPrefGroupUI(OptionsGroupUI):
|
||||
par_frame = FCFrame()
|
||||
self.layout.addWidget(par_frame)
|
||||
|
||||
par_grid = FCGridLayout(v_spacing=5, h_spacing=3)
|
||||
par_grid = GLay(v_spacing=5, h_spacing=3)
|
||||
par_frame.setLayout(par_grid)
|
||||
|
||||
# Tools Diameters
|
||||
@@ -161,7 +161,7 @@ class ToolsNCCPrefGroupUI(OptionsGroupUI):
|
||||
tt_frame = FCFrame()
|
||||
self.layout.addWidget(tt_frame)
|
||||
|
||||
tool_grid = FCGridLayout(v_spacing=5, h_spacing=3)
|
||||
tool_grid = GLay(v_spacing=5, h_spacing=3)
|
||||
tt_frame.setLayout(tool_grid)
|
||||
|
||||
# Overlap Entry
|
||||
@@ -280,7 +280,7 @@ class ToolsNCCPrefGroupUI(OptionsGroupUI):
|
||||
gp_frame = FCFrame()
|
||||
self.layout.addWidget(gp_frame)
|
||||
|
||||
gen_grid = FCGridLayout(v_spacing=5, h_spacing=3)
|
||||
gen_grid = GLay(v_spacing=5, h_spacing=3)
|
||||
gp_frame.setLayout(gen_grid)
|
||||
|
||||
# Rest machining CheckBox
|
||||
@@ -355,6 +355,6 @@ class ToolsNCCPrefGroupUI(OptionsGroupUI):
|
||||
|
||||
gen_grid.addWidget(self.valid_cb, 10, 0, 1, 2)
|
||||
|
||||
FCGridLayout.set_common_column_size([par_grid, tool_grid, gen_grid], 0)
|
||||
GLay.set_common_column_size([par_grid, tool_grid, gen_grid], 0)
|
||||
|
||||
self.layout.addStretch(1)
|
||||
|
||||
Reference in New Issue
Block a user