forked from M-Labs/thermostat
Hide paramtree headers
This commit is contained in:
parent
ae6f08247a
commit
4be6d419f6
|
@ -90,10 +90,18 @@
|
|||
<number>2</number>
|
||||
</property>
|
||||
<item row="1" column="0">
|
||||
<widget class="ParameterTree" name="ch1_tree" native="true"/>
|
||||
<widget class="ParameterTree" name="ch1_tree" native="true">
|
||||
<property name="HeaderHidden">
|
||||
<bool>true</bool>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item row="0" column="0">
|
||||
<widget class="ParameterTree" name="ch0_tree" native="true"/>
|
||||
<widget class="ParameterTree" name="ch0_tree" native="true">
|
||||
<property name="HeaderHidden">
|
||||
<bool>true</bool>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item row="1" column="1">
|
||||
<widget class="PlotWidget" name="ch1_t_graph" native="true">
|
||||
|
|
|
@ -45,9 +45,11 @@ class Ui_MainWindow(object):
|
|||
self.graphs_layout.setSpacing(2)
|
||||
self.graphs_layout.setObjectName("graphs_layout")
|
||||
self.ch1_tree = ParameterTree(parent=self.graph_group)
|
||||
self.ch1_tree.setHeaderHidden(True)
|
||||
self.ch1_tree.setObjectName("ch1_tree")
|
||||
self.graphs_layout.addWidget(self.ch1_tree, 1, 0, 1, 1)
|
||||
self.ch0_tree = ParameterTree(parent=self.graph_group)
|
||||
self.ch0_tree.setHeaderHidden(True)
|
||||
self.ch0_tree.setObjectName("ch0_tree")
|
||||
self.graphs_layout.addWidget(self.ch0_tree, 0, 0, 1, 1)
|
||||
self.ch1_t_graph = PlotWidget(parent=self.graph_group)
|
||||
|
|
Loading…
Reference in New Issue