wdg_gradientmap.ui 4.19 KB
Newer Older
1 2 3 4 5 6 7 8
<?xml version="1.0" encoding="UTF-8"?>
<ui version="4.0">
 <class>WdgGradientMap</class>
 <widget class="QWidget" name="WdgGradientMap">
  <property name="geometry">
   <rect>
    <x>0</x>
    <y>0</y>
9 10
    <width>219</width>
    <height>133</height>
11 12 13 14 15
   </rect>
  </property>
  <property name="windowTitle">
   <string>Gradient Map</string>
  </property>
16 17
  <layout class="QFormLayout" name="formLayout">
   <item row="0" column="0" colspan="2">
18
    <widget class="KoColorPopupButton" name="btnGradientChooser">
19
     <property name="sizePolicy">
20 21 22
      <sizepolicy hsizetype="Minimum" vsizetype="Fixed">
       <horstretch>0</horstretch>
       <verstretch>0</verstretch>
23 24
      </sizepolicy>
     </property>
25 26 27 28 29
     <property name="text">
      <string>PushButton</string>
     </property>
    </widget>
   </item>
30 31
   <item row="2" column="0">
    <widget class="QLabel" name="colorModeLabel">
32
     <property name="sizePolicy">
33
      <sizepolicy hsizetype="Fixed" vsizetype="Preferred">
34 35 36 37
       <horstretch>0</horstretch>
       <verstretch>0</verstretch>
      </sizepolicy>
     </property>
38 39 40 41 42
     <property name="text">
      <string>Color Mode</string>
     </property>
     <property name="buddy">
      <cstring>colorModeComboBox</cstring>
43
     </property>
44 45
    </widget>
   </item>
46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62
   <item row="2" column="1">
    <widget class="QComboBox" name="colorModeComboBox">
     <item>
      <property name="text">
       <string>Blend</string>
      </property>
     </item>
     <item>
      <property name="text">
       <string>Nearest</string>
      </property>
     </item>
     <item>
      <property name="text">
       <string>Dither</string>
      </property>
     </item>
63 64
    </widget>
   </item>
65 66 67 68 69 70 71 72 73 74
   <item row="4" column="0" colspan="2">
    <widget class="QStackedWidget" name="colorModeStackedWidget">
     <property name="sizePolicy">
      <sizepolicy hsizetype="Preferred" vsizetype="Preferred">
       <horstretch>0</horstretch>
       <verstretch>0</verstretch>
      </sizepolicy>
     </property>
     <property name="frameShape">
      <enum>QFrame::StyledPanel</enum>
75
     </property>
76 77
     <property name="currentIndex">
      <number>1</number>
78
     </property>
79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98
     <property name="prefix" stdset="0">
      <string>Amount:  </string>
     </property>
     <widget class="QWidget" name="blendPage">
      <layout class="QFormLayout" name="formLayout_7"/>
     </widget>
     <widget class="QWidget" name="nearestPage">
      <layout class="QFormLayout" name="formLayout_6"/>
     </widget>
     <widget class="QWidget" name="ditherPage">
      <layout class="QFormLayout" name="formLayout_5">
       <item row="0" column="0" colspan="2">
        <widget class="KisDitherWidget" name="ditherWidget" native="true"/>
       </item>
      </layout>
     </widget>
    </widget>
   </item>
   <item row="1" column="0" colspan="2">
    <widget class="KisStopGradientEditor" name="gradientEditor" native="true"/>
99
   </item>
100 101 102 103
  </layout>
 </widget>
 <customwidgets>
  <customwidget>
104 105 106 107 108 109 110 111
   <class>KoColorPopupButton</class>
   <extends>QToolButton</extends>
   <header>KoColorPopupButton.h</header>
  </customwidget>
  <customwidget>
   <class>KisStopGradientEditor</class>
   <extends>QWidget</extends>
   <header>kis_stopgradient_editor.h</header>
112 113
   <container>1</container>
  </customwidget>
114 115 116 117 118 119
  <customwidget>
   <class>KisDitherWidget</class>
   <extends>QWidget</extends>
   <header location="global">KisDitherWidget.h</header>
   <container>1</container>
  </customwidget>
120 121
 </customwidgets>
 <resources/>
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 152 153 154 155
 <connections>
  <connection>
   <sender>colorModeComboBox</sender>
   <signal>currentIndexChanged(int)</signal>
   <receiver>colorModeStackedWidget</receiver>
   <slot>setCurrentIndex(int)</slot>
   <hints>
    <hint type="sourcelabel">
     <x>227</x>
     <y>101</y>
    </hint>
    <hint type="destinationlabel">
     <x>241</x>
     <y>121</y>
    </hint>
   </hints>
  </connection>
  <connection>
   <sender>colorModeStackedWidget</sender>
   <signal>currentChanged(int)</signal>
   <receiver>colorModeComboBox</receiver>
   <slot>setCurrentIndex(int)</slot>
   <hints>
    <hint type="sourcelabel">
     <x>297</x>
     <y>124</y>
    </hint>
    <hint type="destinationlabel">
     <x>295</x>
     <y>89</y>
    </hint>
   </hints>
  </connection>
 </connections>
156
</ui>