- 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

@@ -515,7 +515,7 @@ class OptimalUI:
par_frame = FCFrame()
self.layout.addWidget(par_frame)
param_grid = FCGridLayout(v_spacing=5, h_spacing=3)
param_grid = GLay(v_spacing=5, h_spacing=3)
par_frame.setLayout(param_grid)
# Precision = nr of decimals
@@ -538,7 +538,7 @@ class OptimalUI:
res_frame = FCFrame()
self.layout.addWidget(res_frame)
res_grid = FCGridLayout(v_spacing=5, h_spacing=3, c_stretch=[0, 1, 0])
res_grid = GLay(v_spacing=5, h_spacing=3, c_stretch=[0, 1, 0])
res_frame.setLayout(res_grid)
# Result value
@@ -603,7 +603,7 @@ class OptimalUI:
other_frame = FCFrame()
self.layout.addWidget(other_frame)
other_grid = FCGridLayout(v_spacing=5, h_spacing=3)
other_grid = GLay(v_spacing=5, h_spacing=3)
other_frame.setLayout(other_grid)
# Control if to display the locations of where the minimum was found
@@ -694,7 +694,7 @@ class OptimalUI:
self.calculate_button.setMinimumWidth(60)
self.layout.addWidget(self.calculate_button)
FCGridLayout.set_common_column_size([param_grid, res_grid], 0)
GLay.set_common_column_size([param_grid, res_grid], 0)
self.layout.addStretch(1)