mg-pso-gui 0.0.146__py3-none-any.whl → 0.0.148__py3-none-any.whl
Sign up to get free protection for your applications and to get access to all the features.
- {mg_pso_gui-0.0.146.dist-info → mg_pso_gui-0.0.148.dist-info}/METADATA +1 -1
- {mg_pso_gui-0.0.146.dist-info → mg_pso_gui-0.0.148.dist-info}/RECORD +7 -7
- mgpsogui/gui/HomePage.py +10 -2
- mgpsogui/gui/RunTab/RunTab.py +16 -0
- {mg_pso_gui-0.0.146.dist-info → mg_pso_gui-0.0.148.dist-info}/WHEEL +0 -0
- {mg_pso_gui-0.0.146.dist-info → mg_pso_gui-0.0.148.dist-info}/entry_points.txt +0 -0
- {mg_pso_gui-0.0.146.dist-info → mg_pso_gui-0.0.148.dist-info}/top_level.txt +0 -0
@@ -1,12 +1,12 @@
|
|
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=
|
4
|
+
mgpsogui/gui/HomePage.py,sha256=Sv1K_Z0ou9gzYJt0Qq_NUa61jscP7XJkYc6-4StK75g,12072
|
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
|
8
8
|
mgpsogui/gui/PlatformTab/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
9
|
-
mgpsogui/gui/RunTab/RunTab.py,sha256=
|
9
|
+
mgpsogui/gui/RunTab/RunTab.py,sha256=wV5PW5815tAHHik941tXvBUP3H9dXcSLAxnBSSy7d_k,12080
|
10
10
|
mgpsogui/gui/RunTab/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
11
11
|
mgpsogui/gui/SetupTab/BoundsEditorWindow.py,sha256=tDCap4qFQw3MRQo0d81W3vqmQlWQGNZYPh0TyhCwOvs,2848
|
12
12
|
mgpsogui/gui/SetupTab/BoundsList.py,sha256=rWgEHomH5K5UqmG_j04yH7z6NjE-VDA6DBTaV_uYGzk,12288
|
@@ -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.
|
33
|
-
mg_pso_gui-0.0.
|
34
|
-
mg_pso_gui-0.0.
|
35
|
-
mg_pso_gui-0.0.
|
36
|
-
mg_pso_gui-0.0.
|
32
|
+
mg_pso_gui-0.0.148.dist-info/METADATA,sha256=43zyM1TJddfq34zwgKrrpGyhpniRvYXKhARPKkMqh58,9459
|
33
|
+
mg_pso_gui-0.0.148.dist-info/WHEEL,sha256=Xo9-1PvkuimrydujYJAjF7pCkriuXBpUPEjma1nZyJ0,92
|
34
|
+
mg_pso_gui-0.0.148.dist-info/entry_points.txt,sha256=jg82VOFjR1XDGrchs1wJSCqKYE4Ozv12aBcCSp--koA,117
|
35
|
+
mg_pso_gui-0.0.148.dist-info/top_level.txt,sha256=y7JuS9xJN5YdxUsQ3PSVjN8MzQAnR146bP3ZN3PYWdE,9
|
36
|
+
mg_pso_gui-0.0.148.dist-info/RECORD,,
|
mgpsogui/gui/HomePage.py
CHANGED
@@ -90,7 +90,7 @@ class App(customtkinter.CTk):
|
|
90
90
|
self.url_header = customtkinter.CTkEntry(self.sidebar_frame, textvariable=self.option_manager.get_arguments()['url'])
|
91
91
|
self.url_header.grid(row=0, column=4, columnspan=1, padx=header_padding_x, pady=header_padding_y, sticky="nsew")
|
92
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
|
93
|
+
self.refresh_button = customtkinter.CTkButton(self.sidebar_frame, text=None, width=30, image=refresh_image)
|
94
94
|
self.refresh_button.grid(row=0, column=5, padx=(5, 80), pady=header_padding_y)
|
95
95
|
|
96
96
|
self.scaling_label = customtkinter.CTkLabel(self.sidebar_frame, text="Scale:", anchor="w")
|
@@ -102,7 +102,7 @@ class App(customtkinter.CTk):
|
|
102
102
|
|
103
103
|
expand_image = customtkinter.CTkImage(Image.open(os.path.join("./images", "expand.png")), size=(20, 20))
|
104
104
|
self.new_window = customtkinter.CTkButton(self.sidebar_frame, text=None, width=30, image=expand_image, command=self.new_window)
|
105
|
-
self.new_window.grid(row=0, column=8, padx=
|
105
|
+
self.new_window.grid(row=0, column=8, padx=(5, 20), pady=header_padding_y)
|
106
106
|
|
107
107
|
self.tabview = customtkinter.CTkTabview(self)
|
108
108
|
self.tabview.grid(row=1, column=0, padx=(60, 60), pady=(10, 10), sticky="nsew")
|
@@ -124,6 +124,14 @@ class App(customtkinter.CTk):
|
|
124
124
|
st.create_tab(self, self.tabview.tab(tab2))
|
125
125
|
rt.create_tab(self, self.tabview.tab(tab3))
|
126
126
|
vt.create_tab(self, self.tabview.tab(tab4))
|
127
|
+
|
128
|
+
self.footer_frame = customtkinter.CTkFrame(self, width=140, corner_radius=0)
|
129
|
+
self.footer_frame.grid(row=2, column=0, sticky="nsew")
|
130
|
+
self.footer_frame.grid_columnconfigure(4, weight=1)
|
131
|
+
|
132
|
+
self.footer_progress_bar = customtkinter.CTkProgressBar(self.footer_frame)
|
133
|
+
self.footer_progress_bar.grid(row=4, column=0, padx=(100, 100), pady=header_padding_y, sticky="ew")
|
134
|
+
self.footer_progress_bar.set(0)
|
127
135
|
|
128
136
|
def _resize_image(self, event):
|
129
137
|
self.graph_label.update_idletasks()
|
mgpsogui/gui/RunTab/RunTab.py
CHANGED
@@ -21,6 +21,8 @@ def create_tab(self, tab):
|
|
21
21
|
|
22
22
|
self.progress_bar.configure(mode="indeterminnate")
|
23
23
|
self.progress_bar.start()
|
24
|
+
self.footer_progress_bar.configure(mode="indeterminnate")
|
25
|
+
self.footer_progress_bar.start()
|
24
26
|
|
25
27
|
self.data_x = [0]
|
26
28
|
self.data_y = [0]
|
@@ -52,8 +54,11 @@ def create_tab(self, tab):
|
|
52
54
|
self.progress_message_middle.configure(text="Calibration failed! See error log below.")
|
53
55
|
self.progress_message_right.configure(text="")
|
54
56
|
self.progress_bar.stop()
|
57
|
+
self.footer_progress_bar.stop()
|
55
58
|
self.progress_bar.configure(mode="determinate")
|
59
|
+
self.footer_progress_bar.configure(mode="determinate")
|
56
60
|
self.progress_bar.set(0)
|
61
|
+
self.footer_progress_bar.set(0)
|
57
62
|
|
58
63
|
def stop():
|
59
64
|
print("Stopping...")
|
@@ -74,8 +79,11 @@ def create_tab(self, tab):
|
|
74
79
|
|
75
80
|
self.textbox.insert("0.0", "\nCalibration terminated!\n")
|
76
81
|
self.progress_bar.stop()
|
82
|
+
self.footer_progress_bar.stop()
|
77
83
|
self.progress_bar.configure(mode="determinate")
|
84
|
+
self.footer_progress_bar.configure(mode="determinate")
|
78
85
|
self.progress_bar.set(0)
|
86
|
+
self.footer_progress_bar.set(0)
|
79
87
|
self.progress_message_left.configure(text="")
|
80
88
|
self.progress_message_middle.configure(text="Calibration stopped!")
|
81
89
|
self.progress_message_right.configure(text="")
|
@@ -165,14 +173,19 @@ def create_tab(self, tab):
|
|
165
173
|
|
166
174
|
if (percent > 0):
|
167
175
|
self.progress_bar.stop()
|
176
|
+
self.footer_progress_bar.stop()
|
168
177
|
self.progress_bar.configure(mode="determinate")
|
178
|
+
self.footer_progress_bar.configure(mode="determinate")
|
169
179
|
self.progress_bar.set(percent/100)
|
180
|
+
self.footer_progress_bar.set(percent/100)
|
170
181
|
self.progress_message_left.configure(text="Percent Complete: " + str(percent) + "%")
|
171
182
|
self.progress_message_middle.configure(text=str(completed_rounds) + "/" + str(total_rounds))
|
172
183
|
self.progress_message_right.configure(text="Best Cost: " + str(best_cost))
|
173
184
|
else:
|
174
185
|
self.progress_bar.configure(mode="indeterminate")
|
186
|
+
self.footer_progress_bar.configure(mode="indeterminate")
|
175
187
|
self.progress_bar.start()
|
188
|
+
self.footer_progress_bar.start()
|
176
189
|
self.progress_message_left.configure(text="")
|
177
190
|
self.progress_message_middle.configure(text="Starting new round...")
|
178
191
|
self.progress_message_right.configure(text="")
|
@@ -183,8 +196,11 @@ def create_tab(self, tab):
|
|
183
196
|
self.after(1000, watch_loop)
|
184
197
|
else:
|
185
198
|
self.progress_bar.stop()
|
199
|
+
self.footer_progress_bar.stop()
|
186
200
|
self.progress_bar.configure(mode="indeterminate")
|
201
|
+
self.footer_progress_bar.configure(mode="indeterminate")
|
187
202
|
self.progress_bar.start()
|
203
|
+
self.footer_progress_bar.start()
|
188
204
|
self.progress_message_left.configure(text="")
|
189
205
|
self.progress_message_middle.configure(text="Calibration finished!")
|
190
206
|
self.progress_message_right.configure(text="")
|
File without changes
|
File without changes
|
File without changes
|