Merge remote-tracking branch 'origin/master' into VIS-40-VIS-41

This commit is contained in:
VanillaHellen 2021-01-18 16:23:11 +01:00
commit 5e24b10198

View File

@ -53,10 +53,19 @@ class LibraryTableButtons(QWidget):
if ret == self.exPopup.Yes: if ret == self.exPopup.Yes:
os.remove(file) os.remove(file)
table.fillTable(type) table.fillTable(type)
def analyzeFile():
# todo: run script detect.py --source ../files/input/file.mp4
pass
layout = QHBoxLayout() layout = QHBoxLayout()
layout.setContentsMargins(0,0,0,0) layout.setContentsMargins(0,0,0,0)
layout.setSpacing(0) layout.setSpacing(0)
if type == LIB_RAW:
analyze_btn = QPushButton('Analyze')
analyze_btn.clicked.connect(analyzeFile)
layout.addWidget(analyze_btn)
view_btn = QPushButton('View') view_btn = QPushButton('View')
view_btn.clicked.connect(viewFile) view_btn.clicked.connect(viewFile)