TankBar: hook into prefs and make ppGraphs resize accordingly

Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
Dirk Hohndel 2014-08-15 08:11:14 -06:00
parent e71119b40b
commit e8d430341c
7 changed files with 71 additions and 16 deletions

View file

@ -109,7 +109,7 @@
<property name="spacing">
<number>0</number>
</property>
<item row="15" column="0">
<item row="17" column="0">
<spacer name="verticalSpacer">
<property name="orientation">
<enum>Qt::Vertical</enum>
@ -440,6 +440,9 @@
</property>
</widget>
</item>
<item row="0" column="1" rowspan="19">
<widget class="ProfileWidget2" name="newProfile"/>
</item>
<item row="0" column="0">
<widget class="QToolButton" name="profPO2">
<property name="toolTip">
@ -466,9 +469,6 @@
</property>
</widget>
</item>
<item row="0" column="1" rowspan="16">
<widget class="ProfileWidget2" name="newProfile"/>
</item>
<item row="1" column="0">
<widget class="QToolButton" name="profPn2">
<property name="toolTip">
@ -495,6 +495,32 @@
</property>
</widget>
</item>
<item row="15" column="0">
<widget class="QToolButton" name="profTankbar">
<property name="toolTip">
<string>Toggle Cylinder Bar</string>
</property>
<property name="text">
<string>...</string>
</property>
<property name="icon">
<iconset resource="../subsurface.qrc">
<normaloff>:/gaschange</normaloff>:/gaschange</iconset>
</property>
<property name="iconSize">
<size>
<width>24</width>
<height>24</height>
</size>
</property>
<property name="checkable">
<bool>true</bool>
</property>
<property name="autoRaise">
<bool>true</bool>
</property>
</widget>
</item>
<item row="14" column="0">
<widget class="QToolButton" name="profTogglePicture">
<property name="toolTip">
@ -664,7 +690,7 @@ p, li { white-space: pre-wrap; }
<x>0</x>
<y>0</y>
<width>1682</width>
<height>27</height>
<height>19</height>
</rect>
</property>
<widget class="QMenu" name="menuFile">