Compare commits
1 Commits
master
...
Intervalls
Author | SHA1 | Date | |
---|---|---|---|
![]() |
c48920a99b |
23
code/main.py
23
code/main.py
@ -24,6 +24,8 @@ from datetime import datetime
|
||||
|
||||
recording_finished = False
|
||||
code_version= "1.0"
|
||||
#minimum_calculation_intervall is in seconds (10 is Currently a placeholder real values should be selected after testing)
|
||||
minimum_calculation_intervall = 2
|
||||
|
||||
|
||||
current_dir = os.getcwd()
|
||||
@ -374,7 +376,26 @@ class VideoProcessingApp(tk.Tk):
|
||||
self.processing_button.place(x=10, y=160)
|
||||
self.processing_button.config(bg="#c82423", fg="#FFFFFF")
|
||||
|
||||
|
||||
# Checkbox for Use Intervalls
|
||||
var1 = 10
|
||||
self.intervall_checkbox = tk.Checkbutton(self.processing_frame, text="Check to Process Intervalls instead of the full video",variable=var1, onvalue=1, offvalue=0)#set command
|
||||
self.intervall_checkbox.place(x=180,y=60)
|
||||
|
||||
# Spinbox for selection of test Intervall in mins
|
||||
self.intervall_spinbox = tk.Spinbox(self.processing_frame, from_=1, to=10)
|
||||
self.intervall_spinbox.place(x=180,y=100)
|
||||
|
||||
# Label for selection of test Intervall in mins
|
||||
self.intervall_spinbox_label = tk.Label(self.processing_frame, text="Selection of test every X mins")
|
||||
self.intervall_spinbox_label.place(x=340,y=100)
|
||||
|
||||
# Spinbox for selection of test duration
|
||||
self.duration_spinbox = tk.Spinbox(self.processing_frame, from_=2, to=10)
|
||||
self.duration_spinbox.place(x=180,y=140)
|
||||
|
||||
# Label for selection of test duration in s
|
||||
self.duration_spinbox_label = tk.Label(self.processing_frame, text="Selection of test Duration X in s")
|
||||
self.duration_spinbox_label.place(x=340,y=140)
|
||||
|
||||
def setup_testcase_controls(self):
|
||||
self.testcase_frame = tk.Frame(self, bg='white')
|
||||
|
Loading…
x
Reference in New Issue
Block a user