Warning, /graphics/krita/plugins/filters/palettize/palettize.ui is written in an unsupported language. File is not indexed.

0001 <?xml version="1.0" encoding="utf-8"?>
0002 <ui version="4.0">
0003  <author>
0004     SPDX-FileCopyrightText: none
0005     SPDX-License-Identifier: GPL-3.0-or-later
0006   </author>
0007  <class>Palettize</class>
0008  <widget class="QWidget" name="Palettize">
0009   <property name="geometry">
0010    <rect>
0011     <x>0</x>
0012     <y>0</y>
0013     <width>242</width>
0014     <height>345</height>
0015    </rect>
0016   </property>
0017   <layout class="QFormLayout" name="formLayout">
0018    <property name="leftMargin">
0019     <number>0</number>
0020    </property>
0021    <property name="topMargin">
0022     <number>0</number>
0023    </property>
0024    <property name="rightMargin">
0025     <number>0</number>
0026    </property>
0027    <property name="bottomMargin">
0028     <number>0</number>
0029    </property>
0030    <item column="0" row="0">
0031     <widget class="QLabel" name="paletteLabel">
0032      <property name="sizePolicy">
0033       <sizepolicy hsizetype="Fixed" vsizetype="Preferred">
0034        <horstretch>0</horstretch>
0035        <verstretch>0</verstretch>
0036       </sizepolicy>
0037      </property>
0038      <property name="text">
0039       <string>Palette</string>
0040      </property>
0041      <property name="buddy">
0042       <cstring>paletteIconWidget</cstring>
0043      </property>
0044     </widget>
0045    </item>
0046    <item column="1" row="0">
0047     <widget class="KisIconWidget" name="paletteIconWidget">
0048      <property name="text">
0049       <string>...</string>
0050      </property>
0051     </widget>
0052    </item>
0053    <item column="0" row="1">
0054     <widget class="QLabel" name="colorspaceLabel">
0055      <property name="text">
0056       <string>Color Space</string>
0057      </property>
0058      <property name="buddy">
0059       <cstring>colorspaceComboBox</cstring>
0060      </property>
0061     </widget>
0062    </item>
0063    <item column="1" row="1">
0064     <widget class="QComboBox" name="colorspaceComboBox">
0065      <item>
0066       <property name="text">
0067        <string>Lab</string>
0068       </property>
0069      </item>
0070      <item>
0071       <property name="text">
0072        <string>RGB</string>
0073       </property>
0074      </item>
0075     </widget>
0076    </item>
0077    <item colspan="2" column="0" row="3">
0078     <widget class="QGroupBox" name="ditherGroupBox">
0079      <property name="title">
0080       <string>Dither</string>
0081      </property>
0082      <property name="checkable">
0083       <bool>true</bool>
0084      </property>
0085      <layout class="QFormLayout" name="formLayout_3">
0086       <item column="1" row="1">
0087        <widget class="QComboBox" name="colorModeComboBox">
0088         <item>
0089          <property name="text">
0090           <string>Per Channel Offset</string>
0091          </property>
0092         </item>
0093         <item>
0094          <property name="text">
0095           <string>Nearest Colors</string>
0096          </property>
0097         </item>
0098        </widget>
0099       </item>
0100       <item column="0" row="1">
0101        <widget class="QLabel" name="colorModeLabel">
0102         <property name="sizePolicy">
0103          <sizepolicy hsizetype="Fixed" vsizetype="Preferred">
0104           <horstretch>0</horstretch>
0105           <verstretch>0</verstretch>
0106          </sizepolicy>
0107         </property>
0108         <property name="text">
0109          <string>Color Mode</string>
0110         </property>
0111         <property name="buddy">
0112          <cstring>colorModeComboBox</cstring>
0113         </property>
0114        </widget>
0115       </item>
0116       <item colspan="2" column="0" row="2">
0117        <widget class="QStackedWidget" name="colorModeStackedWidget">
0118         <property name="sizePolicy">
0119          <sizepolicy hsizetype="Preferred" vsizetype="Preferred">
0120           <horstretch>0</horstretch>
0121           <verstretch>0</verstretch>
0122          </sizepolicy>
0123         </property>
0124         <property name="frameShape">
0125          <enum>QFrame::StyledPanel</enum>
0126         </property>
0127         <property name="currentIndex">
0128          <number>1</number>
0129         </property>
0130         <widget class="QWidget" name="colorModePerChannelOffsetPage">
0131          <layout class="QFormLayout" name="formLayout_8">
0132           <item colspan="2" column="0" row="0">
0133            <widget class="KisDoubleSliderSpinBox" name="offsetScaleSpinBox"/>
0134           </item>
0135          </layout>
0136         </widget>
0137         <widget class="QWidget" name="colorModeNearestColorsPage">
0138          <layout class="QFormLayout" name="formLayout_4"/>
0139         </widget>
0140        </widget>
0141       </item>
0142       <item colspan="2" column="0" row="0">
0143        <widget class="KisDitherWidget" name="ditherWidget" native="true">
0144         <property name="focusPolicy">
0145          <enum>Qt::TabFocus</enum>
0146         </property>
0147        </widget>
0148       </item>
0149      </layout>
0150     </widget>
0151    </item>
0152    <item colspan="2" column="0" row="5">
0153     <widget class="QGroupBox" name="alphaGroupBox">
0154      <property name="title">
0155       <string>Alpha</string>
0156      </property>
0157      <property name="checkable">
0158       <bool>true</bool>
0159      </property>
0160      <layout class="QFormLayout" name="formLayout_2">
0161       <item column="0" row="0">
0162        <widget class="QLabel" name="alphaModeLabel">
0163         <property name="sizePolicy">
0164          <sizepolicy hsizetype="Fixed" vsizetype="Preferred">
0165           <horstretch>0</horstretch>
0166           <verstretch>0</verstretch>
0167          </sizepolicy>
0168         </property>
0169         <property name="text">
0170          <string>Alpha Mode</string>
0171         </property>
0172         <property name="buddy">
0173          <cstring>alphaModeComboBox</cstring>
0174         </property>
0175        </widget>
0176       </item>
0177       <item column="1" row="0">
0178        <widget class="QComboBox" name="alphaModeComboBox">
0179         <item>
0180          <property name="text">
0181           <string>Clip</string>
0182          </property>
0183         </item>
0184         <item>
0185          <property name="text">
0186           <string>Index</string>
0187          </property>
0188         </item>
0189         <item>
0190          <property name="text">
0191           <string>Dither</string>
0192          </property>
0193         </item>
0194        </widget>
0195       </item>
0196       <item colspan="2" column="0" row="1">
0197        <widget class="QStackedWidget" name="alphaModeStackedWidget">
0198         <property name="sizePolicy">
0199          <sizepolicy hsizetype="Preferred" vsizetype="Preferred">
0200           <horstretch>0</horstretch>
0201           <verstretch>0</verstretch>
0202          </sizepolicy>
0203         </property>
0204         <property name="frameShape">
0205          <enum>QFrame::StyledPanel</enum>
0206         </property>
0207         <property name="currentIndex">
0208          <number>2</number>
0209         </property>
0210         <property name="prefix" stdset="0">
0211          <string>Amount:  </string>
0212         </property>
0213         <widget class="QWidget" name="clipPage">
0214          <layout class="QFormLayout" name="formLayout_7">
0215           <item colspan="2" column="0" row="0">
0216            <widget class="KisDoubleSliderSpinBox" name="alphaClipSpinBox"/>
0217           </item>
0218          </layout>
0219         </widget>
0220         <widget class="QWidget" name="indexPage">
0221          <layout class="QFormLayout" name="formLayout_6">
0222           <item colspan="2" column="0" row="0">
0223            <widget class="KisSliderSpinBox" name="alphaIndexSpinBox"/>
0224           </item>
0225          </layout>
0226         </widget>
0227         <widget class="QWidget" name="alphaDitherPage">
0228          <layout class="QFormLayout" name="formLayout_5">
0229           <item colspan="2" column="0" row="0">
0230            <widget class="KisDitherWidget" name="alphaDitherWidget" native="true"/>
0231           </item>
0232          </layout>
0233         </widget>
0234        </widget>
0235       </item>
0236      </layout>
0237     </widget>
0238    </item>
0239   </layout>
0240  </widget>
0241  <customwidgets>
0242   <customwidget>
0243    <class>KisDitherWidget</class>
0244    <extends>QWidget</extends>
0245    <header location="global">KisDitherWidget.h</header>
0246    <container>1</container>
0247   </customwidget>
0248   <customwidget>
0249    <class>KisIconWidget</class>
0250    <extends>QToolButton</extends>
0251    <header location="global">kis_iconwidget.h</header>
0252   </customwidget>
0253   <customwidget>
0254    <class>KisDoubleSliderSpinBox</class>
0255    <extends>QDoubleSpinBox</extends>
0256    <header location="global">kis_slider_spin_box.h</header>
0257   </customwidget>
0258   <customwidget>
0259    <class>KisSliderSpinBox</class>
0260    <extends>QSpinBox</extends>
0261    <header location="global">kis_slider_spin_box.h</header>
0262   </customwidget>
0263  </customwidgets>
0264  <tabstops>
0265   <tabstop>paletteIconWidget</tabstop>
0266   <tabstop>colorspaceComboBox</tabstop>
0267   <tabstop>ditherGroupBox</tabstop>
0268   <tabstop>ditherWidget</tabstop>
0269   <tabstop>colorModeComboBox</tabstop>
0270   <tabstop>offsetScaleSpinBox</tabstop>
0271   <tabstop>alphaGroupBox</tabstop>
0272   <tabstop>alphaModeComboBox</tabstop>
0273   <tabstop>alphaClipSpinBox</tabstop>
0274   <tabstop>alphaIndexSpinBox</tabstop>
0275  </tabstops>
0276  <resources/>
0277  <connections>
0278   <connection>
0279    <sender>alphaModeComboBox</sender>
0280    <signal>currentIndexChanged(int)</signal>
0281    <receiver>alphaModeStackedWidget</receiver>
0282    <slot>setCurrentIndex(int)</slot>
0283    <hints>
0284     <hint type="sourcelabel">
0285      <x>238</x>
0286      <y>288</y>
0287     </hint>
0288     <hint type="destinationlabel">
0289      <x>183</x>
0290      <y>341</y>
0291     </hint>
0292    </hints>
0293   </connection>
0294   <connection>
0295    <sender>alphaModeStackedWidget</sender>
0296    <signal>currentChanged(int)</signal>
0297    <receiver>alphaModeComboBox</receiver>
0298    <slot>setCurrentIndex(int)</slot>
0299    <hints>
0300     <hint type="sourcelabel">
0301      <x>107</x>
0302      <y>341</y>
0303     </hint>
0304     <hint type="destinationlabel">
0305      <x>228</x>
0306      <y>288</y>
0307     </hint>
0308    </hints>
0309   </connection>
0310   <connection>
0311    <sender>colorModeComboBox</sender>
0312    <signal>currentIndexChanged(int)</signal>
0313    <receiver>colorModeStackedWidget</receiver>
0314    <slot>setCurrentIndex(int)</slot>
0315    <hints>
0316     <hint type="sourcelabel">
0317      <x>143</x>
0318      <y>142</y>
0319     </hint>
0320     <hint type="destinationlabel">
0321      <x>139</x>
0322      <y>162</y>
0323     </hint>
0324    </hints>
0325   </connection>
0326   <connection>
0327    <sender>colorModeStackedWidget</sender>
0328    <signal>currentChanged(int)</signal>
0329    <receiver>colorModeComboBox</receiver>
0330    <slot>setCurrentIndex(int)</slot>
0331    <hints>
0332     <hint type="sourcelabel">
0333      <x>167</x>
0334      <y>164</y>
0335     </hint>
0336     <hint type="destinationlabel">
0337      <x>169</x>
0338      <y>143</y>
0339     </hint>
0340    </hints>
0341   </connection>
0342  </connections>
0343 </ui>