Button für Testauswertung hinzugefügt
This commit is contained in:
parent
7f94258a99
commit
3b465ce763
13
code/main.py
13
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")
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user