mg-pso-gui 0.2.117__py3-none-any.whl → 0.2.119__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {mg_pso_gui-0.2.117.dist-info → mg_pso_gui-0.2.119.dist-info}/METADATA +1 -1
- {mg_pso_gui-0.2.117.dist-info → mg_pso_gui-0.2.119.dist-info}/RECORD +8 -8
- mgpsogui/gui/General/NoticeWindow.py +5 -4
- mgpsogui/gui/HomePage.py +19 -3
- mgpsogui/gui/SetupTab/BoundsList.py +2 -2
- {mg_pso_gui-0.2.117.dist-info → mg_pso_gui-0.2.119.dist-info}/WHEEL +0 -0
- {mg_pso_gui-0.2.117.dist-info → mg_pso_gui-0.2.119.dist-info}/entry_points.txt +0 -0
- {mg_pso_gui-0.2.117.dist-info → mg_pso_gui-0.2.119.dist-info}/top_level.txt +0 -0
@@ -1,11 +1,11 @@
|
|
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=NiddhmNT9VXPl9s5ksFOkC6RHmTf5qQErQNeUuqJ9L8,25158
|
5
5
|
mgpsogui/gui/OptionManager.py,sha256=t0aXOeBo48qQ-P8OykpP2v_3KJoaJtUPSkYtacjloCc,22844
|
6
6
|
mgpsogui/gui/OptionManager_backup.py,sha256=TCWfPnHL2foN5id47jsi267lamRG6yGU6y_M29eOOJk,18530
|
7
7
|
mgpsogui/gui/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
8
|
-
mgpsogui/gui/General/NoticeWindow.py,sha256=
|
8
|
+
mgpsogui/gui/General/NoticeWindow.py,sha256=bD5M5TXd4vaWwYw6nL0sGL072wqFTBdNTNtpwDuUyeY,1949
|
9
9
|
mgpsogui/gui/General/ParameterView.py,sha256=H7BqT1UiEYpGp8d6ycdKaKtuqY5IkrlHOXiiN_pgcMM,10059
|
10
10
|
mgpsogui/gui/General/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
11
11
|
mgpsogui/gui/PlatformTab/PlatformTab.py,sha256=8J2Aa3Zrh1q9x07zZ0Ap9PgwHjeSKOYyj6wlxx40udw,10985
|
@@ -14,7 +14,7 @@ mgpsogui/gui/RunTab/OptimalParameterView.py,sha256=nliUEWA840cPBQt7wjiZ-L7uBOp_o
|
|
14
14
|
mgpsogui/gui/RunTab/RunTab.py,sha256=_JWzDx5LT_uISw0Vnv-W2ypIeuKgoWqBnvFnvrLhNQA,5917
|
15
15
|
mgpsogui/gui/RunTab/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
16
16
|
mgpsogui/gui/SetupTab/BoundsEditorWindow.py,sha256=U64oaiDIOaimjbqKMz5rQNq2o1SrQtrRHDdTYQ9ux1s,2870
|
17
|
-
mgpsogui/gui/SetupTab/BoundsList.py,sha256=
|
17
|
+
mgpsogui/gui/SetupTab/BoundsList.py,sha256=UHXVpofV1201udOsz_jCva-XktFVLBvlkeeR-eOQhUY,15515
|
18
18
|
mgpsogui/gui/SetupTab/CustomFunctionEditorWindow.py,sha256=yx0dHSNa7fGy99Q6qFcI6j9r8p0DlV3iOBgyPMGd8pM,2884
|
19
19
|
mgpsogui/gui/SetupTab/CustomFunctionMetrics.py,sha256=vOJpElbTgz043m6JYwe9xz_2MBHg985S6KdbJkJERW4,5923
|
20
20
|
mgpsogui/gui/SetupTab/FunctionsList.py,sha256=6oFS8qKF3OCtxNi5aY5Rj_ovM9nv4-vh-oT_CbhVTj4,7043
|
@@ -73,8 +73,8 @@ mgpsogui/util/recosu/utils/trace_writer.py,sha256=V9BJlOjCbNYGoXGEk3CF5wjifBxvar
|
|
73
73
|
mgpsogui/util/recosu/utils/utils.py,sha256=QB8vftq3142ekG0ORjz0ZBHU5YknXbR0oTsrxrPAsF0,3951
|
74
74
|
mgpsogui/util/recosu/utils/plot/__init__.py,sha256=h1KjM7_tNDv351pcwt8A6Ibb1jhwWyx5Gbu-zj-sI3Q,71
|
75
75
|
mgpsogui/util/recosu/utils/plot/cost_steps.py,sha256=1Ce11AJyweWkmvjXPxEygzS-h8yVLmQEDLS53yjPLqQ,3779
|
76
|
-
mg_pso_gui-0.2.
|
77
|
-
mg_pso_gui-0.2.
|
78
|
-
mg_pso_gui-0.2.
|
79
|
-
mg_pso_gui-0.2.
|
80
|
-
mg_pso_gui-0.2.
|
76
|
+
mg_pso_gui-0.2.119.dist-info/METADATA,sha256=iOIGUO0VDSt_trIKV4koEjhF56lr__R2IMXuwNT4qXc,9542
|
77
|
+
mg_pso_gui-0.2.119.dist-info/WHEEL,sha256=PZUExdf71Ui_so67QXpySuHtCi3-J3wvF4ORK6k_S8U,91
|
78
|
+
mg_pso_gui-0.2.119.dist-info/entry_points.txt,sha256=jg82VOFjR1XDGrchs1wJSCqKYE4Ozv12aBcCSp--koA,117
|
79
|
+
mg_pso_gui-0.2.119.dist-info/top_level.txt,sha256=y7JuS9xJN5YdxUsQ3PSVjN8MzQAnR146bP3ZN3PYWdE,9
|
80
|
+
mg_pso_gui-0.2.119.dist-info/RECORD,,
|
@@ -12,10 +12,11 @@ class NoticeWindow(CTkInputDialog):
|
|
12
12
|
For detailed information check out the documentation.
|
13
13
|
"""
|
14
14
|
|
15
|
-
def __init__(self,
|
16
|
-
message
|
17
|
-
x
|
18
|
-
y
|
15
|
+
def __init__(self,
|
16
|
+
message = None,
|
17
|
+
x = 800,
|
18
|
+
y = 800,
|
19
|
+
*args,
|
19
20
|
**kwargs):
|
20
21
|
super().__init__(*args, **kwargs)
|
21
22
|
|
mgpsogui/gui/HomePage.py
CHANGED
@@ -113,9 +113,25 @@ class App(customtkinter.CTk):
|
|
113
113
|
self.calibration_data = None
|
114
114
|
self.testing = False
|
115
115
|
|
116
|
-
#
|
117
|
-
self.title("COSU Manager (v0.2.
|
118
|
-
|
116
|
+
# Configure window
|
117
|
+
self.title("COSU Manager (v0.2.120)")
|
118
|
+
|
119
|
+
screen_width = self.winfo_screenwidth()
|
120
|
+
screen_height = self.winfo_screenheight()
|
121
|
+
win_width = 1920
|
122
|
+
win_height = 1080
|
123
|
+
if screen_width < win_width or screen_height < win_height:
|
124
|
+
win_width = screen_width * 0.9
|
125
|
+
win_height = screen_height * 0.9
|
126
|
+
|
127
|
+
# Calculate the x and y coordinates to center the window
|
128
|
+
x_coord = (screen_width // 2) - (win_width // 2)
|
129
|
+
y_coord = (screen_height // 2) - (win_height // 2)
|
130
|
+
|
131
|
+
self.geometry(f"{win_width}x{win_height}+{x_coord}+{y_coord}")
|
132
|
+
|
133
|
+
# Center the Window on the screen
|
134
|
+
|
119
135
|
|
120
136
|
# configure grid layout (4x4)
|
121
137
|
self.grid_columnconfigure(0, weight=1)
|
File without changes
|
File without changes
|
File without changes
|