summaryrefslogtreecommitdiff
path: root/gui/ui
diff options
context:
space:
mode:
authorMartin Schulze <schulmar@hrz.tu-chemnitz.de>2016-04-16 19:06:16 +0200
committerJose Fonseca <jfonseca@vmware.com>2016-05-01 07:47:32 +0100
commitb44232bc772a2d2bc2c652eba22d37d080b7df01 (patch)
tree577ebb77738a579987c90bf84ac848a2cdb82242 /gui/ui
parent2bb81362586f39727a5e1106ca34b5dab9ed1877 (diff)
gui: Add checkboxes for alpha/opaque in surfaces view.
- pass alpha/opaque settings through to image viewer - removed caching of thumbnails in ApiSurface instances - updating thumbnails (due to changed alpha/opaque settings) did not mesh with constness - ApiSurfaces should be unaware of thumbnails -> caching should happen e.g. in SurfacesView Fixes #374.
Diffstat (limited to 'gui/ui')
-rw-r--r--gui/ui/mainwindow.ui18
1 files changed, 16 insertions, 2 deletions
diff --git a/gui/ui/mainwindow.ui b/gui/ui/mainwindow.ui
index 238920ad..1bc4c741 100644
--- a/gui/ui/mainwindow.ui
+++ b/gui/ui/mainwindow.ui
@@ -215,8 +215,22 @@
<attribute name="title">
<string>Surfaces</string>
</attribute>
- <layout class="QVBoxLayout" name="verticalLayout_5">
- <item>
+ <layout class="QGridLayout" name="gridLayout">
+ <item row="1" column="0">
+ <widget class="QCheckBox" name="surfacesOpaqueCB">
+ <property name="text">
+ <string>Opaque</string>
+ </property>
+ </widget>
+ </item>
+ <item row="1" column="1">
+ <widget class="QCheckBox" name="surfacesAlphaCB">
+ <property name="text">
+ <string>Alpha</string>
+ </property>
+ </widget>
+ </item>
+ <item row="0" column="0" colspan="2">
<widget class="QTreeWidget" name="surfacesTreeWidget">
<column>
<property name="text">