Browse Source

Dateien hochladen nach „code“

master
Jonathan Frei 9 months ago
parent
commit
343a52f170
1 changed files with 5 additions and 1 deletions
  1. 5
    1
      code/main.py

+ 5
- 1
code/main.py View File

current_dir = os.getcwd() current_dir = os.getcwd()
testcase_excel_file_path = os.path.join(current_dir, 'code/testing/excel/Testcase_excel_dataset.xlsx') testcase_excel_file_path = os.path.join(current_dir, 'code/testing/excel/Testcase_excel_dataset.xlsx')
testruns_excel_file_path = os.path.join(current_dir, 'code/testing/excel/Testruns.xlsx') testruns_excel_file_path = os.path.join(current_dir, 'code/testing/excel/Testruns.xlsx')
evaluation_excel_file_path = os.path.join(current_dir, 'Testcases_nach_Genauigkeit.xlsx')


class VideoProcessingApp(tk.Tk): class VideoProcessingApp(tk.Tk):
def __init__(self): def __init__(self):


def open_testrun_excel_file(self): def open_testrun_excel_file(self):
os.startfile(testruns_excel_file_path) os.startfile(testruns_excel_file_path)

def open_evaluation_excel_file(self):
os.startfile(evaluation_excel_file_path)
def test_data_set(self): def test_data_set(self):
kommentar = self.testrun_kommentar_entry.get("1.0", "end-1c") kommentar = self.testrun_kommentar_entry.get("1.0", "end-1c")
self.open_testrun_button.place(x=10, y=215) self.open_testrun_button.place(x=10, y=215)
self.open_testrun_button.config(bg="#c82423", fg="#FFFFFF") self.open_testrun_button.config(bg="#c82423", fg="#FFFFFF")
# Button open sorted excel # 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 = tk.Button(self.testing_frame, text="Open Evaluation Excel", command=self.open_evaluation_excel_file)
self.open_testrun_button.place(x=10, y=250) self.open_testrun_button.place(x=10, y=250)
self.open_testrun_button.config(bg="#c82423", fg="#FFFFFF") self.open_testrun_button.config(bg="#c82423", fg="#FFFFFF")



Loading…
Cancel
Save