VectorWidget.ui 8.72 KB
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18
<?xml version="1.0" encoding="UTF-8"?>
<ui version="4.0">
 <class>VectorWidget</class>
 <widget class="QWidget" name="VectorWidget">
  <property name="windowTitle">
   <string>Property Visualization</string>
  </property>
  <layout class="QVBoxLayout" name="verticalLayout_7">
   <property name="margin">
    <number>0</number>
   </property>
   <item>
    <widget class="QGroupBox" name="paramVector">
     <property name="title">
      <string>3D Vector Parameters</string>
     </property>
     <layout class="QVBoxLayout" name="verticalLayout">
      <item>
19 20 21 22 23 24 25 26 27 28 29 30 31
       <layout class="QGridLayout" name="gridLayout">
        <item row="1" column="0">
         <widget class="QRadioButton" name="vectors_edges_rb">
          <property name="text">
           <string>Color Edges According
 to Angle btw. Vectors</string>
          </property>
          <attribute name="buttonGroup">
           <string notr="true">vector_buttonGroup</string>
          </attribute>
         </widget>
        </item>
        <item row="0" column="0">
32 33 34 35 36 37 38 39 40 41 42 43
         <widget class="QRadioButton" name="vectors_strokes_rb">
          <property name="text">
           <string>Strokes</string>
          </property>
          <property name="checked">
           <bool>true</bool>
          </property>
          <attribute name="buttonGroup">
           <string notr="true">vector_buttonGroup</string>
          </attribute>
         </widget>
        </item>
44
        <item row="0" column="1">
45 46
         <widget class="QRadioButton" name="vectors_colors_rb">
          <property name="text">
47
           <string>Encode as RGB</string>
48 49 50 51 52 53
          </property>
          <attribute name="buttonGroup">
           <string notr="true">vector_buttonGroup</string>
          </attribute>
         </widget>
        </item>
54 55
        <item row="1" column="1">
         <widget class="QRadioButton" name="vectors_length_color_rb">
56
          <property name="text">
57
           <string>Length as Color</string>
58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151
          </property>
          <attribute name="buttonGroup">
           <string notr="true">vector_buttonGroup</string>
          </attribute>
         </widget>
        </item>
       </layout>
      </item>
      <item>
       <widget class="QWidget" name="vector_strokes_widget" native="true">
        <layout class="QVBoxLayout" name="verticalLayout_11">
         <property name="topMargin">
          <number>0</number>
         </property>
         <property name="rightMargin">
          <number>0</number>
         </property>
         <property name="bottomMargin">
          <number>0</number>
         </property>
         <item>
          <widget class="QCheckBox" name="normalize">
           <property name="text">
            <string>Normalize</string>
           </property>
           <property name="checked">
            <bool>false</bool>
           </property>
          </widget>
         </item>
         <item>
          <layout class="QHBoxLayout" name="horizontalLayout">
           <item>
            <widget class="QCheckBox" name="scale">
             <property name="text">
              <string>Scale with factor</string>
             </property>
             <property name="checked">
              <bool>false</bool>
             </property>
            </widget>
           </item>
           <item>
            <widget class="QDoubleSpinBox" name="scaleBox">
             <property name="enabled">
              <bool>false</bool>
             </property>
             <property name="decimals">
              <number>7</number>
             </property>
             <property name="maximum">
              <double>1000.000000000000000</double>
             </property>
             <property name="value">
              <double>0.200000000000000</double>
             </property>
            </widget>
           </item>
          </layout>
         </item>
         <item>
          <widget class="QtColorChooserButton" name="lineColor">
           <property name="text">
            <string>Line color: </string>
           </property>
           <property name="color" stdset="0">
            <color>
             <red>198</red>
             <green>0</green>
             <blue>3</blue>
            </color>
           </property>
          </widget>
         </item>
        </layout>
       </widget>
      </item>
      <item>
       <widget class="QWidget" name="vector_edgeColors_widget" native="true">
        <property name="visible">
         <bool>false</bool>
        </property>
        <layout class="QHBoxLayout" name="horizontalLayout_15">
         <property name="topMargin">
          <number>0</number>
         </property>
         <property name="rightMargin">
          <number>0</number>
         </property>
         <property name="bottomMargin">
          <number>0</number>
         </property>
         <item>
          <widget class="QDoubleSpinBox" name="vectors_edges_alpha">
152 153 154 155 156 157
           <property name="sizePolicy">
            <sizepolicy hsizetype="MinimumExpanding" vsizetype="Fixed">
             <horstretch>0</horstretch>
             <verstretch>0</verstretch>
            </sizepolicy>
           </property>
158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183
           <property name="prefix">
            <string>α = </string>
           </property>
           <property name="decimals">
            <number>4</number>
           </property>
           <property name="maximum">
            <double>1.000000000000000</double>
           </property>
           <property name="singleStep">
            <double>0.100000000000000</double>
           </property>
           <property name="value">
            <double>0.400000000000000</double>
           </property>
          </widget>
         </item>
         <item>
          <widget class="QLabel" name="label_4">
           <property name="text">
            <string></string>
           </property>
          </widget>
         </item>
         <item>
          <widget class="QDoubleSpinBox" name="vectors_edges_beta">
184 185 186 187 188 189
           <property name="sizePolicy">
            <sizepolicy hsizetype="MinimumExpanding" vsizetype="Fixed">
             <horstretch>0</horstretch>
             <verstretch>0</verstretch>
            </sizepolicy>
           </property>
190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235
           <property name="prefix">
            <string>β = </string>
           </property>
           <property name="decimals">
            <number>4</number>
           </property>
           <property name="maximum">
            <double>1.000000000000000</double>
           </property>
           <property name="singleStep">
            <double>0.100000000000000</double>
           </property>
           <property name="value">
            <double>0.600000000000000</double>
           </property>
          </widget>
         </item>
        </layout>
       </widget>
      </item>
     </layout>
    </widget>
   </item>
   <item>
    <spacer name="verticalSpacer_3">
     <property name="orientation">
      <enum>Qt::Vertical</enum>
     </property>
     <property name="sizeHint" stdset="0">
      <size>
       <width>0</width>
       <height>0</height>
      </size>
     </property>
    </spacer>
   </item>
  </layout>
 </widget>
 <customwidgets>
  <customwidget>
   <class>QtColorChooserButton</class>
   <extends>QPushButton</extends>
   <header>ACG/QtWidgets/QtColorChooserButton.hh</header>
  </customwidget>
 </customwidgets>
 <tabstops>
236 237 238 239 240
  <tabstop>vectors_strokes_rb</tabstop>
  <tabstop>vectors_colors_rb</tabstop>
  <tabstop>vectors_edges_rb</tabstop>
  <tabstop>vectors_length_color_rb</tabstop>
  <tabstop>normalize</tabstop>
241 242
  <tabstop>scale</tabstop>
  <tabstop>scaleBox</tabstop>
243 244 245
  <tabstop>lineColor</tabstop>
  <tabstop>vectors_edges_alpha</tabstop>
  <tabstop>vectors_edges_beta</tabstop>
246 247 248 249 250 251 252 253 254 255
 </tabstops>
 <resources/>
 <connections>
  <connection>
   <sender>scale</sender>
   <signal>toggled(bool)</signal>
   <receiver>scaleBox</receiver>
   <slot>setEnabled(bool)</slot>
   <hints>
    <hint type="sourcelabel">
256 257
     <x>172</x>
     <y>142</y>
258 259
    </hint>
    <hint type="destinationlabel">
260 261
     <x>324</x>
     <y>145</y>
262 263 264 265 266 267 268 269 270 271
    </hint>
   </hints>
  </connection>
  <connection>
   <sender>vectors_strokes_rb</sender>
   <signal>toggled(bool)</signal>
   <receiver>vector_strokes_widget</receiver>
   <slot>setVisible(bool)</slot>
   <hints>
    <hint type="sourcelabel">
272 273
     <x>122</x>
     <y>45</y>
274 275
    </hint>
    <hint type="destinationlabel">
276 277
     <x>63</x>
     <y>178</y>
278 279 280 281 282 283 284 285 286 287
    </hint>
   </hints>
  </connection>
  <connection>
   <sender>vectors_edges_rb</sender>
   <signal>toggled(bool)</signal>
   <receiver>vector_edgeColors_widget</receiver>
   <slot>setVisible(bool)</slot>
   <hints>
    <hint type="sourcelabel">
288 289
     <x>88</x>
     <y>86</y>
290 291
    </hint>
    <hint type="destinationlabel">
292 293
     <x>65</x>
     <y>209</y>
294 295 296 297 298 299 300 301
    </hint>
   </hints>
  </connection>
 </connections>
 <buttongroups>
  <buttongroup name="vector_buttonGroup"/>
 </buttongroups>
</ui>