added analyze button

This commit is contained in:
Agata 2021-01-18 16:18:56 +01:00
parent e099f35953
commit a7a63366d9

View File

@ -54,7 +54,7 @@ class LibraryTableButtons(QWidget):
os.remove(file) os.remove(file)
table.fillTable(type) table.fillTable(type)
def analizeFile(): def analyzeFile():
# todo: run script detect.py --source ../files/input/file.mp4 # todo: run script detect.py --source ../files/input/file.mp4
pass pass
@ -63,9 +63,9 @@ class LibraryTableButtons(QWidget):
layout.setSpacing(0) layout.setSpacing(0)
if type == LIB_RAW: if type == LIB_RAW:
analize_btn = QPushButton('Analize') analyze_btn = QPushButton('Analyze')
analize_btn.clicked.connect(analizeFile) analyze_btn.clicked.connect(analyzeFile)
layout.addWidget(analize_btn) layout.addWidget(analyze_btn)
view_btn = QPushButton('View') view_btn = QPushButton('View')
view_btn.clicked.connect(viewFile) view_btn.clicked.connect(viewFile)