From 3b465ce763d0361087d44b2a6686a000c3609e66 Mon Sep 17 00:00:00 2001 From: Jonathan Frei Date: Thu, 11 Jan 2024 19:17:19 +0000 Subject: [PATCH] =?UTF-8?q?Button=20f=C3=BCr=20Testauswertung=20hinzugef?= =?UTF-8?q?=C3=BCgt?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- code/main.py | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) diff --git a/code/main.py b/code/main.py index 29baee1..fcccbc2 100644 --- a/code/main.py +++ b/code/main.py @@ -270,7 +270,7 @@ class VideoProcessingApp(tk.Tk): self.app_name_label.config(fg="#c82423", bg="#FFFFFF") # Laden Sie das Bild mit PIL und konvertieren Sie es in ein Format, das Tkinter verwenden kann - self.image = Image.open("code\Interface\ohmbild2.png") + self.image = Image.open(r"code\interface\ohmbild2.png") self.resized_image = self.image.resize((50, 30), Image.LANCZOS) self.photo = ImageTk.PhotoImage(self.resized_image) @@ -537,16 +537,21 @@ class VideoProcessingApp(tk.Tk): # Button open testcase excel self.open_testcase_button = tk.Button(self.testing_frame, text="Open Testcase Excel", command=self.open_testcase_excel_file) - self.open_testcase_button.place(x=10, y=200) + self.open_testcase_button.place(x=10, y=180) self.open_testcase_button.config(bg="#c82423", fg="#FFFFFF") # Button open testrun excel self.open_testrun_button = tk.Button(self.testing_frame, text="Open Testrun Excel", command=self.open_testrun_excel_file) - self.open_testrun_button.place(x=10, y=235) + self.open_testrun_button.place(x=10, y=215) self.open_testrun_button.config(bg="#c82423", fg="#FFFFFF") + # Button open sorted excel + self.open_testrun_button = tk.Button(self.testing_frame, text="Open Evaluation Excel", command=self.open_testrun_excel_file) + self.open_testrun_button.place(x=10, y=250) + self.open_testrun_button.config(bg="#c82423", fg="#FFFFFF") + def initialize_icon(self): # Icon ändern - self.iconbitmap('code\Interface\ohm.ico') + self.iconbitmap(r'code\interface\ohm.ico') # Ändert die Hintergrundfarbe self.configure(bg="#FFFFFF")