kiswdgindexcolors.ui 9.43 KB
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12 13
<?xml version="1.0" encoding="UTF-8"?>
<ui version="4.0">
 <class>KisWdgIndexColors</class>
 <widget class="QWidget" name="KisWdgIndexColors">
  <property name="geometry">
   <rect>
    <x>0</x>
    <y>0</y>
    <width>383</width>
    <height>601</height>
   </rect>
  </property>
  <layout class="QGridLayout" name="gridLayout">
14 15 16 17 18 19 20 21 22 23
   <property name="leftMargin">
    <number>0</number>
   </property>
   <property name="topMargin">
    <number>0</number>
   </property>
   <property name="rightMargin">
    <number>0</number>
   </property>
   <property name="bottomMargin">
24 25
    <number>0</number>
   </property>
Dmitry Kazakov's avatar
Dmitry Kazakov committed
26
   <item row="0" column="0">
27 28 29 30 31 32 33 34
    <widget class="QGroupBox" name="groupBox">
     <property name="title">
      <string>Ramps</string>
     </property>
     <property name="flat">
      <bool>true</bool>
     </property>
     <layout class="QGridLayout" name="gridLayout_2">
Dmitry Kazakov's avatar
Dmitry Kazakov committed
35
      <item row="1" column="0">
36
       <widget class="QWidget" name="colorsBox" native="true">
37 38 39 40 41 42 43 44 45 46
        <property name="minimumSize">
         <size>
          <width>20</width>
          <height>20</height>
         </size>
        </property>
        <layout class="QGridLayout" name="layoutColors">
         <property name="sizeConstraint">
          <enum>QLayout::SetMinimumSize</enum>
         </property>
47 48
         <property name="leftMargin">
          <number>0</number>
49
         </property>
50
         <property name="topMargin">
51 52
          <number>0</number>
         </property>
53 54 55 56 57 58 59 60 61
         <property name="rightMargin">
          <number>0</number>
         </property>
         <property name="bottomMargin">
          <number>0</number>
         </property>
         <property name="horizontalSpacing">
          <number>6</number>
         </property>
62 63 64 65 66 67 68 69 70 71 72 73 74
        </layout>
       </widget>
      </item>
      <item row="2" column="0">
       <widget class="QCheckBox" name="diagCheck">
        <property name="text">
         <string>Diagonal Gradients</string>
        </property>
       </widget>
      </item>
     </layout>
    </widget>
   </item>
Dmitry Kazakov's avatar
Dmitry Kazakov committed
75
   <item row="2" column="0">
76 77 78 79 80 81 82 83
    <widget class="QGroupBox" name="gradientStepsBox">
     <property name="title">
      <string>Gradient Steps</string>
     </property>
     <property name="flat">
      <bool>true</bool>
     </property>
     <layout class="QGridLayout" name="layoutGradientSteps">
84 85 86 87 88 89 90 91
      <item row="3" column="0">
       <widget class="QCheckBox" name="colorLimitCheck">
        <property name="text">
         <string>Limit to</string>
        </property>
       </widget>
      </item>
      <item row="3" column="1">
92
       <widget class="KisIntParseSpinBox" name="colorLimit">
93
        <property name="enabled">
94
         <bool>true</bool>
95 96 97 98 99 100 101 102
        </property>
        <property name="minimum">
         <number>3</number>
        </property>
        <property name="maximum">
         <number>256</number>
        </property>
        <property name="value">
103
         <number>31</number>
104 105 106
        </property>
       </widget>
      </item>
107
      <item row="0" column="1">
108
       <widget class="KisIntParseSpinBox" name="inbetweenSpinBox">
109
        <property name="minimum">
110
         <number>0</number>
111 112 113 114
        </property>
        <property name="maximum">
         <number>8</number>
        </property>
115 116 117
        <property name="value">
         <number>0</number>
        </property>
118 119 120 121 122
       </widget>
      </item>
      <item row="0" column="0">
       <widget class="QLabel" name="label">
        <property name="text">
123
         <string>In-between ramps</string>
124 125 126
        </property>
       </widget>
      </item>
Dmitry Kazakov's avatar
Dmitry Kazakov committed
127
      <item row="1" column="0" colspan="2">
128 129 130
       <layout class="QGridLayout" name="layoutRowSteps">
        <property name="sizeConstraint">
         <enum>QLayout::SetMinimumSize</enum>
131
        </property>
132 133 134 135 136 137 138 139 140 141 142 143 144
        <property name="leftMargin">
         <number>0</number>
        </property>
        <property name="topMargin">
         <number>0</number>
        </property>
        <property name="rightMargin">
         <number>0</number>
        </property>
        <property name="bottomMargin">
         <number>0</number>
        </property>
       </layout>
145
      </item>
146 147 148 149 150 151 152 153 154 155 156 157 158 159
      <item row="2" column="0">
       <widget class="QLabel" name="label_3">
        <property name="text">
         <string>Color count:</string>
        </property>
       </widget>
      </item>
      <item row="2" column="1">
       <widget class="QLabel" name="colorCount">
        <property name="text">
         <string>0</string>
        </property>
       </widget>
      </item>
160 161 162
     </layout>
    </widget>
   </item>
Dmitry Kazakov's avatar
Dmitry Kazakov committed
163
   <item row="3" column="0">
164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190
    <widget class="QGroupBox" name="indexingBox">
     <property name="title">
      <string>Indexing Factors</string>
     </property>
     <property name="flat">
      <bool>true</bool>
     </property>
     <layout class="QFormLayout" name="formLayout_2">
      <item row="0" column="0">
       <widget class="QLabel" name="label_4">
        <property name="text">
         <string>L*</string>
        </property>
       </widget>
      </item>
      <item row="0" column="1">
       <widget class="QSlider" name="luminanceSlider">
        <property name="minimumSize">
         <size>
          <width>125</width>
          <height>0</height>
         </size>
        </property>
        <property name="minimum">
         <number>0</number>
        </property>
        <property name="maximum">
191
         <number>200</number>
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>
        <property name="value">
         <number>100</number>
        </property>
        <property name="orientation">
         <enum>Qt::Horizontal</enum>
        </property>
        <property name="tickPosition">
         <enum>QSlider::TicksAbove</enum>
        </property>
        <property name="tickInterval">
         <number>50</number>
        </property>
       </widget>
      </item>
      <item row="1" column="1">
       <spacer name="horizontalSpacer">
        <property name="orientation">
         <enum>Qt::Horizontal</enum>
        </property>
        <property name="sizeHint" stdset="0">
         <size>
          <width>0</width>
          <height>0</height>
         </size>
        </property>
       </spacer>
      </item>
      <item row="2" column="0">
       <widget class="QLabel" name="label_5">
        <property name="text">
         <string>a*</string>
        </property>
       </widget>
      </item>
      <item row="2" column="1">
       <widget class="QSlider" name="aSlider">
        <property name="minimumSize">
         <size>
          <width>125</width>
          <height>0</height>
         </size>
        </property>
        <property name="maximum">
236
         <number>200</number>
237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267
        </property>
        <property name="value">
         <number>100</number>
        </property>
        <property name="orientation">
         <enum>Qt::Horizontal</enum>
        </property>
        <property name="tickPosition">
         <enum>QSlider::TicksAbove</enum>
        </property>
        <property name="tickInterval">
         <number>50</number>
        </property>
       </widget>
      </item>
      <item row="3" column="0">
       <widget class="QLabel" name="label_6">
        <property name="text">
         <string>b*</string>
        </property>
       </widget>
      </item>
      <item row="3" column="1">
       <widget class="QSlider" name="bSlider">
        <property name="minimumSize">
         <size>
          <width>125</width>
          <height>0</height>
         </size>
        </property>
        <property name="maximum">
268
         <number>200</number>
269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286
        </property>
        <property name="value">
         <number>100</number>
        </property>
        <property name="orientation">
         <enum>Qt::Horizontal</enum>
        </property>
        <property name="tickPosition">
         <enum>QSlider::TicksAbove</enum>
        </property>
        <property name="tickInterval">
         <number>50</number>
        </property>
       </widget>
      </item>
     </layout>
    </widget>
   </item>
Dmitry Kazakov's avatar
Dmitry Kazakov committed
287
   <item row="4" column="0">
288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306
    <widget class="QGroupBox" name="otherBox">
     <property name="title">
      <string>Other</string>
     </property>
     <property name="flat">
      <bool>true</bool>
     </property>
     <layout class="QFormLayout" name="formLayout">
      <property name="fieldGrowthPolicy">
       <enum>QFormLayout::ExpandingFieldsGrow</enum>
      </property>
      <item row="0" column="0">
       <widget class="QLabel" name="label_2">
        <property name="text">
         <string>Alpha Steps</string>
        </property>
       </widget>
      </item>
      <item row="0" column="1">
307
       <widget class="KisIntParseSpinBox" name="alphaStepsSpinBox">
308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323
        <property name="minimum">
         <number>0</number>
        </property>
        <property name="maximum">
         <number>32</number>
        </property>
        <property name="value">
         <number>1</number>
        </property>
       </widget>
      </item>
     </layout>
    </widget>
   </item>
  </layout>
 </widget>
324 325 326 327
 <customwidgets>
  <customwidget>
   <class>KisIntParseSpinBox</class>
   <extends>QSpinBox</extends>
328
   <header>kis_int_parse_spin_box.h</header>
329 330
  </customwidget>
 </customwidgets>
331
 <resources/>
332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349
 <connections>
  <connection>
   <sender>colorLimitCheck</sender>
   <signal>toggled(bool)</signal>
   <receiver>colorLimit</receiver>
   <slot>setEnabled(bool)</slot>
   <hints>
    <hint type="sourcelabel">
     <x>79</x>
     <y>281</y>
    </hint>
    <hint type="destinationlabel">
     <x>158</x>
     <y>285</y>
    </hint>
   </hints>
  </connection>
 </connections>
350
</ui>