Skip to content
Permalink
Browse files

parse_dash_results: Put images in scroll area

  • Loading branch information
m-kuhn committed Sep 28, 2017
1 parent a65f518 commit 84955b2cdca9abc5996bdde95ac1590fad190f57
Showing with 10 additions and 3 deletions.
  1. +10 −3 scripts/parse_dash_results.py
@@ -46,7 +46,9 @@
QGridLayout,
QPushButton,
QDoubleSpinBox,
QMessageBox)
QMessageBox,
QWidget,
QScrollArea)
import struct
import glob

@@ -92,8 +94,11 @@ def __init__(self, parent=None):
self.mask_label = QLabel()
self.new_mask_label = QLabel()

grid = QGridLayout()
self.scrollArea = QScrollArea()
self.widget = QWidget()

self.test_name_label = QLabel()
grid = QGridLayout()
grid.addWidget(self.test_name_label, 0, 0)
grid.addWidget(QLabel('Control'), 1, 0)
grid.addWidget(QLabel('Rendered'), 1, 1)
@@ -106,8 +111,10 @@ def __init__(self, parent=None):
grid.addWidget(self.mask_label, 4, 0)
grid.addWidget(self.new_mask_label, 4, 1)

self.widget.setLayout(grid)
self.scrollArea.setWidget(self.widget)
v_layout = QVBoxLayout()
v_layout.addLayout(grid, 1)
v_layout.addWidget(self.scrollArea, 1)

next_image_button = QPushButton()
next_image_button.setText('Skip')

0 comments on commit 84955b2

Please sign in to comment.
You can’t perform that action at this time.