Merge branch 'VIS-28'
This commit is contained in:
commit
f812d68b36
@ -54,10 +54,19 @@ class LibraryTableButtons(QWidget):
|
|||||||
os.remove(file)
|
os.remove(file)
|
||||||
table.fillTable(type)
|
table.fillTable(type)
|
||||||
|
|
||||||
|
def analizeFile():
|
||||||
|
# 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:
|
||||||
|
analize_btn = QPushButton('Analize')
|
||||||
|
analize_btn.clicked.connect(analizeFile)
|
||||||
|
layout.addWidget(analize_btn)
|
||||||
|
|
||||||
view_btn = QPushButton('View')
|
view_btn = QPushButton('View')
|
||||||
view_btn.clicked.connect(viewFile)
|
view_btn.clicked.connect(viewFile)
|
||||||
layout.addWidget(view_btn)
|
layout.addWidget(view_btn)
|
||||||
|
Loading…
Reference in New Issue
Block a user