Skip to content
Permalink
Browse files

parse_dash_results: Put images in scroll area

  • Loading branch information
m-kuhn committed Sep 25, 2017
1 parent dc57d51 commit da7847a2dc6ffd3ae76f39ba0b22fa153a8e81c1
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')

3 comments on commit da7847a

@m-kuhn

This comment has been minimized.

Copy link
Member Author

@m-kuhn m-kuhn replied Sep 25, 2017

@nyalldawson feel free to cherry-pick if you cannot wait for this branch to be ready ;)

@nyalldawson

This comment has been minimized.

Copy link
Collaborator

@nyalldawson nyalldawson replied Sep 25, 2017

But.... but..... i LIKE it that this script punishes users on desktop environments with inferior window managers!!111!!!1

@m-kuhn

This comment has been minimized.

Copy link
Member Author

@m-kuhn m-kuhn replied Sep 26, 2017

Yes, true, I also like tools best that reduce UX only a bit for me but A LOOT for others 👍

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