mg-pso-gui 0.0.142__py3-none-any.whl → 0.0.145__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.142
3
+ Version: 0.0.145
4
4
  Summary: GUI for MG-PSO
5
5
  Author: Robert Cordingly
6
6
  Author-email: <rcording@uw.ed>
@@ -1,7 +1,7 @@
1
1
  mgpsogui/__init__.py,sha256=q7AfBjeJABnFtbsZnsObpUwaXKPDVYtz46G6MKXLF74,42
2
2
  mgpsogui/mgpsogui.py,sha256=NIZmyNcbwC8EgSwf1ubdMUSJscrIEgoD4jLYziqHQ-k,148
3
3
  mgpsogui/start.yaml,sha256=ZjCVLb-MLqAxrGRm9kA7_SDpa-45EuKIELNQ2QqCAiU,4713
4
- mgpsogui/gui/HomePage.py,sha256=PQQYYHqVYO0VHdt6DvizVEky6vrMiwEmiWDKm3ZAlFk,10849
4
+ mgpsogui/gui/HomePage.py,sha256=yJdlHBtbZ3zgcjAmZUpaDmp8wMJXPHHtyMWR02vzSF4,11649
5
5
  mgpsogui/gui/OptionManager.py,sha256=bFN2jWJbx1Din3waOFLmbWGt0BXD_KthGJ8Mgue_FEE,11712
6
6
  mgpsogui/gui/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
7
7
  mgpsogui/gui/PlatformTab/PlatformTab.py,sha256=N2HSRqT45NH4PPeOwXdLhOASMDjh-1OwUa2WmV47T5M,10465
@@ -17,7 +17,7 @@ mgpsogui/gui/SetupTab/SetupTab.py,sha256=Zul86S8TesQTmijcWY394NJf1GeqVqkB2whTTIM
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
20
- mgpsogui/gui/VisualizeTab/VisualizeTab.py,sha256=uuDQRpJQLZC5OkB9OAzcfLRlFoPtQuO5uVsQarEKM6M,2751
20
+ mgpsogui/gui/VisualizeTab/VisualizeTab.py,sha256=hPyUd91Ie7E3lvCgehmZjCF5j7BJy7-taFllGBmZDWE,2746
21
21
  mgpsogui/gui/VisualizeTab/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
22
22
  mgpsogui/gui/images/collapse.png,sha256=yicb16LaY7Nl5q9V8HHlht-Fbg5xU-l4_LJ_Arfmu1c,2989
23
23
  mgpsogui/gui/images/down.png,sha256=pspJkvUitD648C_2y8JLLD4Eagpk4MDEKQJGOO_yIaY,2654
@@ -29,8 +29,8 @@ mgpsogui/util/PSORunner.py,sha256=7iUYRUXgpZ0l0rqoyHQYY1Yg9q0gl9TE0jNaHZMv04c,29
29
29
  mgpsogui/util/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
30
30
  mgpsogui/util/CTkToolTip/__init__.py,sha256=G1jxV55hGtGgwyC1sR-uUUdasDdh0XZgcI-aILgGYA0,225
31
31
  mgpsogui/util/CTkToolTip/ctk_tooltip.py,sha256=SZMovpQIGvdpDRbqCKl9SHs92DrFCO2MOYL2ifolvOE,6329
32
- mg_pso_gui-0.0.142.dist-info/METADATA,sha256=uhf3md64AsQ7RFgBulJbGvQxms7wgF0yUKjpQXBDWy4,9459
33
- mg_pso_gui-0.0.142.dist-info/WHEEL,sha256=Xo9-1PvkuimrydujYJAjF7pCkriuXBpUPEjma1nZyJ0,92
34
- mg_pso_gui-0.0.142.dist-info/entry_points.txt,sha256=jg82VOFjR1XDGrchs1wJSCqKYE4Ozv12aBcCSp--koA,117
35
- mg_pso_gui-0.0.142.dist-info/top_level.txt,sha256=y7JuS9xJN5YdxUsQ3PSVjN8MzQAnR146bP3ZN3PYWdE,9
36
- mg_pso_gui-0.0.142.dist-info/RECORD,,
32
+ mg_pso_gui-0.0.145.dist-info/METADATA,sha256=VlswLar4gFSDvWCRTKsDtn1otVjuGFiitv7sMJtz5Ug,9459
33
+ mg_pso_gui-0.0.145.dist-info/WHEEL,sha256=Xo9-1PvkuimrydujYJAjF7pCkriuXBpUPEjma1nZyJ0,92
34
+ mg_pso_gui-0.0.145.dist-info/entry_points.txt,sha256=jg82VOFjR1XDGrchs1wJSCqKYE4Ozv12aBcCSp--koA,117
35
+ mg_pso_gui-0.0.145.dist-info/top_level.txt,sha256=y7JuS9xJN5YdxUsQ3PSVjN8MzQAnR146bP3ZN3PYWdE,9
36
+ mg_pso_gui-0.0.145.dist-info/RECORD,,
mgpsogui/gui/HomePage.py CHANGED
@@ -84,16 +84,25 @@ class App(customtkinter.CTk):
84
84
  self.load_button = customtkinter.CTkButton(self.sidebar_frame, text="Load", width=60, command=self.load_project)
85
85
  self.load_button.grid(row=0, column=2, padx=header_padding_x, pady=header_padding_y)
86
86
 
87
+ # 4 is service URL
88
+ self.service_label = customtkinter.CTkLabel(self.sidebar_frame, text="Service:", anchor="w")
89
+ self.service_label.grid(row=0, column=3, padx=(80, 5), pady=header_padding_y)
90
+ self.url_header = customtkinter.CTkEntry(self.sidebar_frame, textvariable=self.option_manager.get_arguments()['url'])
91
+ self.url_header.grid(row=0, column=4, columnspan=1, padx=header_padding_x, pady=header_padding_y, sticky="nsew")
92
+ refresh_image = customtkinter.CTkImage(Image.open(os.path.join("./images", "up.png")), size=(20, 20))
93
+ self.refresh_button = customtkinter.CTkButton(self.sidebar_frame, text=None, width=30, image=refresh_image, command=vt.load)
94
+ self.refresh_button.grid(row=0, column=5, padx=(5, 80), pady=header_padding_y)
95
+
87
96
  self.scaling_label = customtkinter.CTkLabel(self.sidebar_frame, text="Scale:", anchor="w")
88
- self.scaling_label.grid(row=0, column=7, padx=header_padding_x, pady=header_padding_y)
97
+ self.scaling_label.grid(row=0, column=6, padx=header_padding_x, pady=header_padding_y)
89
98
  self.scaling_optionemenu = customtkinter.CTkOptionMenu(self.sidebar_frame, values=["50%", "75%", "100%", "125%", "150%", "175%", "200%"], width=60,
90
99
  command=self.change_scaling_event)
91
- self.scaling_optionemenu.grid(row=0, column=8, padx=header_padding_x, pady=header_padding_y)
100
+ self.scaling_optionemenu.grid(row=0, column=7, padx=header_padding_x, pady=header_padding_y)
92
101
  self.scaling_optionemenu.set("100%")
93
102
 
94
103
  expand_image = customtkinter.CTkImage(Image.open(os.path.join("./images", "expand.png")), size=(20, 20))
95
104
  self.new_window = customtkinter.CTkButton(self.sidebar_frame, text=None, width=30, image=expand_image, command=self.new_window)
96
- self.new_window.grid(row=0, column=9, padx=header_padding_x, pady=header_padding_y)
105
+ self.new_window.grid(row=0, column=8, padx=header_padding_x, pady=header_padding_y)
97
106
 
98
107
  self.tabview = customtkinter.CTkTabview(self)
99
108
  self.tabview.grid(row=1, column=0, padx=(60, 60), pady=(10, 10), sticky="nsew")
@@ -55,7 +55,7 @@ def create_tab(self, tab):
55
55
  self.graph_selector.grid(row=0, column=0, padx=(20, 20), pady=(20, 20), sticky="nsew")
56
56
 
57
57
  # Add a button to call open_graph_in_browser
58
- self.graph_button = customtkinter.CTkButton(tab, text="Open Graph in Browser", command=self.open_graph_in_browser)
58
+ self.graph_button = customtkinter.CTkButton(tab, text="Open Graph in Browser", command=open_graph_in_browser)
59
59
  self.graph_button.grid(row=0, column=2, padx=(20, 20), pady=(20, 20), sticky="nsew")
60
60
 
61
61
  self.graph_image_obj = Image.open(os.path.join("./images", "up.png"))