added analize button
This commit is contained in:
parent
0dd70ee9b7
commit
e1a2b81a7f
@ -53,10 +53,19 @@ class LibraryTableButtons(QWidget):
|
||||
if ret == self.exPopup.Yes:
|
||||
os.remove(file)
|
||||
table.fillTable(type)
|
||||
|
||||
def analizeFile():
|
||||
# todo: run script detect.py --source ../files/input/file.mp4
|
||||
pass
|
||||
|
||||
layout = QHBoxLayout()
|
||||
layout.setContentsMargins(0,0,0,0)
|
||||
layout.setSpacing(0)
|
||||
|
||||
if type == LIB_RAW:
|
||||
analize_btn = QPushButton('Analize')
|
||||
analize_btn.clicked.connect(analizeFile)
|
||||
layout.addWidget(analize_btn)
|
||||
|
||||
view_btn = QPushButton('View')
|
||||
view_btn.clicked.connect(viewFile)
|
||||
|
Loading…
Reference in New Issue
Block a user