<rect>
<x>0</x>
<y>0</y>
- <width>432</width>
- <height>360</height>
+ <width>147</width>
+ <height>107</height>
</rect>
</property>
<property name="windowTitle">
</property>
<layout class="QVBoxLayout" name="verticalLayout">
<item>
- <widget class="QLabel" name="label">
- <property name="text">
- <string>Volume Rendering Controls</string>
- </property>
- </widget>
+ <layout class="QHBoxLayout" name="horizontalLayout">
+ <item>
+ <widget class="QCheckBox" name="checkBoxShowVolume">
+ <property name="toolTip">
+ <string>Add or remove the volume from the viewer</string>
+ </property>
+ <property name="text">
+ <string>Show</string>
+ </property>
+ </widget>
+ </item>
+ <item>
+ <widget class="QCheckBox" name="checkBoxBoundingBox">
+ <property name="enabled">
+ <bool>false</bool>
+ </property>
+ <property name="toolTip">
+ <string>Bounding box to view the volume, control the bounding box with the handles</string>
+ </property>
+ <property name="text">
+ <string>Box</string>
+ </property>
+ </widget>
+ </item>
+ </layout>
</item>
<item>
- <widget class="QToolBox" name="toolBox">
- <property name="currentIndex">
- <number>1</number>
- </property>
- <widget class="QWidget" name="page">
- <property name="geometry">
- <rect>
- <x>0</x>
- <y>0</y>
- <width>414</width>
- <height>257</height>
- </rect>
- </property>
- <attribute name="label">
- <string>Add/Remove</string>
- </attribute>
- <widget class="QCheckBox" name="checkBoxShowVolume">
- <property name="geometry">
- <rect>
- <x>50</x>
- <y>40</y>
- <width>121</width>
- <height>22</height>
- </rect>
+ <layout class="QFormLayout" name="formLayout">
+ <item row="0" column="0">
+ <widget class="QLabel" name="label">
+ <property name="text">
+ <string>Opacity</string>
</property>
+ </widget>
+ </item>
+ <item row="0" column="1">
+ <widget class="QLineEdit" name="lineEditOpacity">
<property name="text">
- <string>Show Volume</string>
+ <string>100</string>
+ </property>
+ <property name="readOnly">
+ <bool>true</bool>
</property>
</widget>
- </widget>
- <widget class="QWidget" name="page_2">
- <property name="geometry">
- <rect>
- <x>0</x>
- <y>0</y>
- <width>414</width>
- <height>257</height>
- </rect>
- </property>
- <attribute name="label">
- <string>Opacity</string>
- </attribute>
+ </item>
+ <item row="1" column="0" colspan="2">
<widget class="QSlider" name="opacitySlider">
- <property name="geometry">
- <rect>
- <x>10</x>
- <y>10</y>
- <width>141</width>
- <height>21</height>
- </rect>
+ <property name="enabled">
+ <bool>false</bool>
+ </property>
+ <property name="mouseTracking">
+ <bool>false</bool>
</property>
<property name="toolTip">
<string>Changes the opacity of the volume rendered</string>
<enum>QSlider::TicksAbove</enum>
</property>
</widget>
- <zorder>opacitySlider</zorder>
- <zorder>label</zorder>
- </widget>
- </widget>
+ </item>
+ </layout>
</item>
</layout>
</widget>
+ <tabstops>
+ <tabstop>checkBoxShowVolume</tabstop>
+ <tabstop>checkBoxBoundingBox</tabstop>
+ <tabstop>opacitySlider</tabstop>
+ <tabstop>lineEditOpacity</tabstop>
+ </tabstops>
<resources/>
- <connections/>
+ <connections>
+ <connection>
+ <sender>checkBoxShowVolume</sender>
+ <signal>toggled(bool)</signal>
+ <receiver>checkBoxBoundingBox</receiver>
+ <slot>setEnabled(bool)</slot>
+ <hints>
+ <hint type="sourcelabel">
+ <x>57</x>
+ <y>21</y>
+ </hint>
+ <hint type="destinationlabel">
+ <x>110</x>
+ <y>25</y>
+ </hint>
+ </hints>
+ </connection>
+ <connection>
+ <sender>checkBoxShowVolume</sender>
+ <signal>toggled(bool)</signal>
+ <receiver>opacitySlider</receiver>
+ <slot>setEnabled(bool)</slot>
+ <hints>
+ <hint type="sourcelabel">
+ <x>61</x>
+ <y>30</y>
+ </hint>
+ <hint type="destinationlabel">
+ <x>47</x>
+ <y>86</y>
+ </hint>
+ </hints>
+ </connection>
+ </connections>
</ui>