mg-pso-gui 0.0.178__py3-none-any.whl → 0.0.179__py3-none-any.whl

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: mg-pso-gui
3
- Version: 0.0.178
3
+ Version: 0.0.179
4
4
  Summary: GUI for MG-PSO
5
5
  Author: Robert Cordingly
6
6
  Author-email: <rcording@uw.ed>
@@ -9,11 +9,11 @@ mgpsogui/gui/PlatformTab/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZ
9
9
  mgpsogui/gui/RunTab/RunTab.py,sha256=OjRteh5-ivHXRBam1M60JrxzkQEeqjstrUR93K25R8Y,2850
10
10
  mgpsogui/gui/RunTab/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
11
11
  mgpsogui/gui/SetupTab/BoundsEditorWindow.py,sha256=_6_xEl46PY9MmNvpmoMNdNDbVav6ODwWSDROboy57Cs,2866
12
- mgpsogui/gui/SetupTab/BoundsList.py,sha256=SC-TcFPEoL_p7xKV4DLoZU92TE3isLvGrDJ3fwe7KiA,12276
12
+ mgpsogui/gui/SetupTab/BoundsList.py,sha256=L77UEaUJNiUE-ZsYIl44tWRb1zBfxaEQ-bAG1V5_IH0,12268
13
13
  mgpsogui/gui/SetupTab/CalibrationParametersView.py,sha256=ppVBHG3nphku9-P6Z8az-HTpgk8vHxnj-A5m80BZTgA,2784
14
14
  mgpsogui/gui/SetupTab/FunctionsList.py,sha256=tUqW43VWpxFpdo9UHaPvFQ0CtCo9mFI3mri52ikntrE,4092
15
15
  mgpsogui/gui/SetupTab/ListParametersView.py,sha256=wYcDcaooYkw-y7XW6dJUwhTWxLuUUOK5tGUFVHBf3ck,7352
16
- mgpsogui/gui/SetupTab/SetupTab.py,sha256=OVrTA5gFlRaqXvHAJy6GV2fGA0Mwf09IMzc0cWKaJTs,1327
16
+ mgpsogui/gui/SetupTab/SetupTab.py,sha256=fyUUlRhOOgG1AJjMZYjPRJjE8tw8jzRaD5RLpvJLM-o,1661
17
17
  mgpsogui/gui/SetupTab/StaticParameterView.py,sha256=iEG-UpBBlAJabZo3MG768oLqOROjUPc23tKOSd47IUc,2739
18
18
  mgpsogui/gui/SetupTab/StepView.py,sha256=oG5Q-3xpTRP1f_PbNvohKctrbpD63zLAJzHD00bN44k,5531
19
19
  mgpsogui/gui/SetupTab/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
@@ -32,8 +32,8 @@ mgpsogui/util/PSORunner.py,sha256=7iUYRUXgpZ0l0rqoyHQYY1Yg9q0gl9TE0jNaHZMv04c,29
32
32
  mgpsogui/util/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
33
33
  mgpsogui/util/CTkToolTip/__init__.py,sha256=G1jxV55hGtGgwyC1sR-uUUdasDdh0XZgcI-aILgGYA0,225
34
34
  mgpsogui/util/CTkToolTip/ctk_tooltip.py,sha256=SZMovpQIGvdpDRbqCKl9SHs92DrFCO2MOYL2ifolvOE,6329
35
- mg_pso_gui-0.0.178.dist-info/METADATA,sha256=LnUwHCUPOLRlPGC-8xGRw2E1Gkv68M6WTuSCkyb73C4,9459
36
- mg_pso_gui-0.0.178.dist-info/WHEEL,sha256=Xo9-1PvkuimrydujYJAjF7pCkriuXBpUPEjma1nZyJ0,92
37
- mg_pso_gui-0.0.178.dist-info/entry_points.txt,sha256=jg82VOFjR1XDGrchs1wJSCqKYE4Ozv12aBcCSp--koA,117
38
- mg_pso_gui-0.0.178.dist-info/top_level.txt,sha256=y7JuS9xJN5YdxUsQ3PSVjN8MzQAnR146bP3ZN3PYWdE,9
39
- mg_pso_gui-0.0.178.dist-info/RECORD,,
35
+ mg_pso_gui-0.0.179.dist-info/METADATA,sha256=mNK7eCydAsuf-Mh3HnPJQc1ZA99Hxi_Jqdi45B5RBV8,9459
36
+ mg_pso_gui-0.0.179.dist-info/WHEEL,sha256=Xo9-1PvkuimrydujYJAjF7pCkriuXBpUPEjma1nZyJ0,92
37
+ mg_pso_gui-0.0.179.dist-info/entry_points.txt,sha256=jg82VOFjR1XDGrchs1wJSCqKYE4Ozv12aBcCSp--koA,117
38
+ mg_pso_gui-0.0.179.dist-info/top_level.txt,sha256=y7JuS9xJN5YdxUsQ3PSVjN8MzQAnR146bP3ZN3PYWdE,9
39
+ mg_pso_gui-0.0.179.dist-info/RECORD,,
@@ -161,9 +161,9 @@ class BoundsList(CTkFrame):
161
161
  CTkButton(self.containerFrame, text="Exit", command=self.toggle_edit_mode).grid(row=row, column=0, padx=(5, 5), pady=(5, 5), sticky="new")
162
162
  else:
163
163
  CTkButton(self.containerFrame, text="Edit", command=self.toggle_edit_mode).grid(row=row, column=0, padx=(5, 5), pady=(5, 5), sticky="new")
164
- CTkButton(self.containerFrame, text="Add Parameter", command=add_func).grid(row=row, column=1, padx=(5, 5), pady=(5, 5), sticky="new")
164
+ CTkButton(self.containerFrame, text="Add Bound", command=add_func).grid(row=row, column=1, padx=(5, 5), pady=(5, 5), sticky="new")
165
165
  else:
166
- CTkButton(self.containerFrame, text="Add Parameter", command=add_func).grid(row=row, column=0, columnspan=2, padx=(5, 5), pady=(5, 5), sticky="new")
166
+ CTkButton(self.containerFrame, text="Add Bound", command=add_func).grid(row=row, column=0, columnspan=2, padx=(5, 5), pady=(5, 5), sticky="new")
167
167
 
168
168
  def update_type(self, index, option):
169
169
  value = option.get()
@@ -4,25 +4,34 @@ from . import StepView as sv
4
4
  from . import StaticParameterView as spv
5
5
  from . import CalibrationParametersView as cpv
6
6
 
7
+ import customtkinter
8
+
7
9
  def create_tab(self, tab):
8
10
 
9
11
  tab.grid_columnconfigure(0, weight=1)
10
12
  tab.grid_columnconfigure(1, weight=8)
11
- tab.grid_columnconfigure(2, weight=1)
12
13
  tab.grid_rowconfigure(0, weight=1)
13
14
 
14
- self.static_param_frame = spv.StaticParameterView(tab, label_text="Static Parameters", option_manager=self.option_manager)
15
- self.static_param_frame.grid(row=0, column=0, padx=(0, 10), pady=(10, 0), sticky="nsew")
15
+ self.paramtabview = customtkinter.CTkTabview(self, bg_color="transparent", fg_color="transparent")
16
+ self.paramtabview.grid(row=0, column=0, padx=(0, 0), pady=(10, 10), sticky="nsew")
17
+
18
+ tab1 = "Static"
19
+ tab2 = "Calibration"
20
+ self.paramtabview.add(tab1)
21
+ self.paramtabview.add(tab2)
22
+
23
+ self.static_param_frame = spv.StaticParameterView(self.paramtabview.tab(tab1), label_text="Static Parameters", option_manager=self.option_manager)
24
+ self.static_param_frame.grid(row=0, column=0, padx=(10, 10), pady=(10, 0), sticky="nsew")
16
25
  self.static_param_frame.grid_columnconfigure(0, weight=1)
17
26
  self.static_param_frame.grid_rowconfigure(0, weight=1)
18
27
 
28
+ self.calib_param_frame = cpv.CalibrationParametersView(self.paramtabview.tab(tab2), label_text="Calibration Parameters", option_manager=self.option_manager)
29
+ self.calib_param_frame.grid(row=0, column=0, padx=(10, 10), pady=(10, 0), sticky="nsew")
30
+ self.calib_param_frame.grid_columnconfigure(0, weight=1)
31
+ self.calib_param_frame.grid_rowconfigure(0, weight=1)
32
+
19
33
  self.steps_frame = sv.StepView(tab, label_text="Group Editor", option_manager=self.option_manager)
20
- self.steps_frame.grid(row=0, column=1, padx=(10, 10), pady=(10, 10), sticky="nsew")
34
+ self.steps_frame.grid(row=0, column=1, padx=(10, 10), pady=(10, 0), sticky="nsew")
21
35
  self.steps_frame.grid_columnconfigure(0, weight=1)
22
36
  self.steps_frame.grid_rowconfigure(0, weight=1)
23
-
24
- self.calib_param_frame = cpv.CalibrationParametersView(tab, label_text="Calibration Parameters", option_manager=self.option_manager)
25
- self.calib_param_frame.grid(row=0, column=2, padx=(10, 0), pady=(10, 0), sticky="nsew")
26
- self.calib_param_frame.grid_columnconfigure(0, weight=1)
27
- self.calib_param_frame.grid_rowconfigure(0, weight=1)
28
37