- 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:
Marius Stanciu
2022-04-03 15:06:36 +03:00
committed by Marius
parent 1b9e2feb75
commit a59f996819
90 changed files with 569 additions and 470 deletions

View File

@@ -1188,7 +1188,7 @@ class RulesUI:
sel_frame = FCFrame()
self.layout.addWidget(sel_frame)
sel_grid = FCGridLayout(v_spacing=5, h_spacing=3, c_stretch=[1, 0])
sel_grid = GLay(v_spacing=5, h_spacing=3, c_stretch=[1, 0])
sel_frame.setLayout(sel_grid)
# Select All Gerber
@@ -1242,7 +1242,7 @@ class RulesUI:
top_frame = FCFrame()
self.layout.addWidget(top_frame)
self.top_grid = FCGridLayout(v_spacing=5, h_spacing=3, c_stretch=[0, 3, 0])
self.top_grid = GLay(v_spacing=5, h_spacing=3, c_stretch=[0, 3, 0])
top_frame.setLayout(self.top_grid)
# Copper Top object
@@ -1308,7 +1308,7 @@ class RulesUI:
bottom_frame = FCFrame()
self.layout.addWidget(bottom_frame)
self.bottom_grid = FCGridLayout(v_spacing=5, h_spacing=3, c_stretch=[0, 3, 0])
self.bottom_grid = GLay(v_spacing=5, h_spacing=3, c_stretch=[0, 3, 0])
bottom_frame.setLayout(self.bottom_grid)
# Copper Bottom object
@@ -1374,7 +1374,7 @@ class RulesUI:
outline_frame = FCFrame()
self.layout.addWidget(outline_frame)
self.outline_grid = FCGridLayout(v_spacing=5, h_spacing=3, c_stretch=[0, 3, 0])
self.outline_grid = GLay(v_spacing=5, h_spacing=3, c_stretch=[0, 3, 0])
outline_frame.setLayout(self.outline_grid)
self.outline_object = FCComboBox()
@@ -1406,7 +1406,7 @@ class RulesUI:
exc_frame = FCFrame()
self.layout.addWidget(exc_frame)
self.exc_grid = FCGridLayout(v_spacing=5, h_spacing=3, c_stretch=[0, 3, 0])
self.exc_grid = GLay(v_spacing=5, h_spacing=3, c_stretch=[0, 3, 0])
exc_frame.setLayout(self.exc_grid)
# Excellon PTH object
@@ -1466,7 +1466,7 @@ class RulesUI:
copper_frame = FCFrame()
self.layout.addWidget(copper_frame)
self.copper_grid = FCGridLayout(v_spacing=5, h_spacing=3)
self.copper_grid = GLay(v_spacing=5, h_spacing=3)
copper_frame.setLayout(self.copper_grid)
# Trace size
@@ -1576,7 +1576,7 @@ class RulesUI:
silk_frame = FCFrame()
self.layout.addWidget(silk_frame)
self.silk_grid = FCGridLayout(v_spacing=5, h_spacing=3)
self.silk_grid = GLay(v_spacing=5, h_spacing=3)
silk_frame.setLayout(self.silk_grid)
# Silkscreen2silkscreen clearance
@@ -1663,7 +1663,7 @@ class RulesUI:
solder_frame = FCFrame()
self.layout.addWidget(solder_frame)
self.solder_grid = FCGridLayout(v_spacing=5, h_spacing=3)
self.solder_grid = GLay(v_spacing=5, h_spacing=3)
solder_frame.setLayout(self.solder_grid)
# Soldermask2soldermask clearance
@@ -1701,7 +1701,7 @@ class RulesUI:
holes_frame = FCFrame()
self.layout.addWidget(holes_frame)
self.holes_grid = FCGridLayout(v_spacing=5, h_spacing=3)
self.holes_grid = GLay(v_spacing=5, h_spacing=3)
holes_frame.setLayout(self.holes_grid)
# Hole2Hole clearance
@@ -1770,7 +1770,7 @@ class RulesUI:
""")
self.layout.addWidget(self.run_button)
FCGridLayout.set_common_column_size(
GLay.set_common_column_size(
[self.copper_grid, self.solder_grid, self.silk_grid, self.exc_grid, self.top_grid, self.bottom_grid,
self.outline_grid, self.holes_grid], 0)