Reorganise buttons in profile panel

- Move the buttons of the profile window around to have more sane positions.
- All the buttons affecting the ceiling(s) are now grouped together.
- All the buttons affecting the Information Box are now grouped together.
- The previous icon for "Show calculated ceiling" has been reassigned to
  "Show all tissues"
- A new stand-in button hav been included for "Show calculated ceiling"

Signed-off-by: Willem Ferguson <willem@willem-Precision-M4700.(none)>
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
Willem Ferguson 2014-03-04 17:01:18 +02:00 committed by Dirk Hohndel
parent 2513410132
commit 8518348304
4 changed files with 59 additions and 58 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 988 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 988 B

After

Width:  |  Height:  |  Size: 522 B

View file

@ -237,58 +237,6 @@
</property>
</widget>
</item>
<item>
<widget class="QToolButton" name="profMod">
<property name="toolTip">
<string>Enable MOD</string>
</property>
<property name="text">
<string>...</string>
</property>
<property name="icon">
<iconset resource="../subsurface.qrc">
<normaloff>:/icon_mod</normaloff>:/icon_mod</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>
<widget class="QToolButton" name="profEad">
<property name="toolTip">
<string>Enable EAD, END, and EADD</string>
</property>
<property name="text">
<string>...</string>
</property>
<property name="icon">
<iconset resource="../subsurface.qrc">
<normaloff>:/icon_ead</normaloff>:/icon_ead</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>
<widget class="QToolButton" name="profDcCeiling">
<property name="enabled">
@ -347,6 +295,32 @@
</property>
</widget>
</item>
<item>
<widget class="QToolButton" name="profCalcAllTissues">
<property name="toolTip">
<string>Calculate All Tissues</string>
</property>
<property name="text">
<string>...</string>
</property>
<property name="icon">
<iconset resource="../subsurface.qrc">
<normaloff>:/icon_ceiling_alltissues</normaloff>:/icon_ceiling_alltissues</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>
<widget class="QToolButton" name="profIncrement3m">
<property name="toolTip">
@ -374,16 +348,16 @@
</widget>
</item>
<item>
<widget class="QToolButton" name="profNdl_tts">
<widget class="QToolButton" name="profMod">
<property name="toolTip">
<string>Show NDL / TTS</string>
<string>Enable MOD</string>
</property>
<property name="text">
<string>...</string>
</property>
<property name="icon">
<iconset resource="../subsurface.qrc">
<normaloff>:/trash</normaloff>:/trash</iconset>
<normaloff>:/icon_mod</normaloff>:/icon_mod</iconset>
</property>
<property name="iconSize">
<size>
@ -400,16 +374,42 @@
</widget>
</item>
<item>
<widget class="QToolButton" name="profCalcAllTissues">
<widget class="QToolButton" name="profEad">
<property name="toolTip">
<string>Calculate All Tissues</string>
<string>Enable EAD, END, and EADD</string>
</property>
<property name="text">
<string>...</string>
</property>
<property name="icon">
<iconset resource="../subsurface.qrc">
<normaloff>:/subsurface-icon</normaloff>:/subsurface-icon</iconset>
<normaloff>:/icon_ead</normaloff>:/icon_ead</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>
<widget class="QToolButton" name="profNdl_tts">
<property name="toolTip">
<string>Show NTL / TTS</string>
</property>
<property name="text">
<string>...</string>
</property>
<property name="icon">
<iconset resource="../subsurface.qrc">
<normaloff>:/trash</normaloff>:/trash</iconset>
</property>
<property name="iconSize">
<size>

View file

@ -48,6 +48,7 @@
<file alias="icon_n2">icons/icon-pn2graph.png</file>
<file alias="icon_o2">icons/icon-po2graph.png</file>
<file alias="icon_ceiling_calculated">icons/icon-ceiling-calculated.png</file>
<file alias="icon_ceiling_alltissues">icons/icon-ceiling-alltissues.png</file>
<file alias="icon_ceiling_3m">icons/icon-ceiling-3m.png</file>
<file alias="icon_ceiling_dc">icons/icon-ceiling-dc.png</file>
<file alias="icon_ead">icons/icon-ead.png</file>