Warning, /graphics/krita/plugins/tools/basictools/wdgcolorsampler.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>ColorSamplerOptionsWidget</class>
0008  <widget class="QWidget" name="ColorSamplerOptionsWidget">
0009   <property name="geometry">
0010    <rect>
0011     <x>0</x>
0012     <y>0</y>
0013     <width>263</width>
0014     <height>323</height>
0015    </rect>
0016   </property>
0017   <property name="windowTitle">
0018    <string>Color Sampler</string>
0019   </property>
0020   <layout class="QGridLayout">
0021    <item row="6" column="0">
0022     <layout class="QHBoxLayout" name="blendLayout">
0023      <property name="spacing">
0024       <number>1</number>
0025      </property>
0026      <item>
0027       <widget class="QLabel" name="blendLabel">
0028        <property name="text">
0029         <string comment="The color rate of sampled color setting slider">Blend: </string>
0030        </property>
0031        <property name="alignment">
0032         <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
0033        </property>
0034        <property name="margin">
0035         <number>1</number>
0036        </property>
0037       </widget>
0038      </item>
0039      <item>
0040       <widget class="KisSliderSpinBox" name="blend" native="true">
0041        <property name="sizePolicy">
0042         <sizepolicy hsizetype="MinimumExpanding" vsizetype="Preferred">
0043          <horstretch>0</horstretch>
0044          <verstretch>0</verstretch>
0045         </sizepolicy>
0046        </property>
0047        <property name="toolTip">
0048         <string>&lt;nobr&gt;Blending controls the percentage of color that is sampled&lt;/nobr&gt; and mixed with your current brush color. A full blending value samples colors completely, ignoring brush color.</string>
0049        </property>
0050       </widget>
0051      </item>
0052     </layout>
0053    </item>
0054    <item row="0" column="0">
0055     <widget class="QComboBox" name="cmbSources">
0056      <property name="sizePolicy">
0057       <sizepolicy hsizetype="Fixed" vsizetype="Fixed">
0058        <horstretch>0</horstretch>
0059        <verstretch>0</verstretch>
0060       </sizepolicy>
0061      </property>
0062      <property name="minimumSize">
0063       <size>
0064        <width>200</width>
0065        <height>0</height>
0066       </size>
0067      </property>
0068      <property name="maximumSize">
0069       <size>
0070        <width>200</width>
0071        <height>32767</height>
0072       </size>
0073      </property>
0074      <property name="toolTip">
0075       <string>&lt;nobr&gt;Determines whether the color sampler will sample&lt;/nobr&gt; colors from all visible layers or only the currently selected layer.</string>
0076      </property>
0077      <property name="currentIndex">
0078       <number>0</number>
0079      </property>
0080      <item>
0081       <property name="text">
0082        <string>Sample All Visible Layers</string>
0083       </property>
0084      </item>
0085      <item>
0086       <property name="text">
0087        <string>Sample Current Layer</string>
0088       </property>
0089      </item>
0090     </widget>
0091    </item>
0092    <item row="8" column="0">
0093     <widget class="QCheckBox" name="cbNormaliseValues">
0094      <property name="toolTip">
0095       <string>Displays per-channel color information below as percentages instead of bytes.</string>
0096      </property>
0097      <property name="text">
0098       <string>Show colors as percentages</string>
0099      </property>
0100     </widget>
0101    </item>
0102    <item row="9" column="0">
0103     <widget class="QTreeWidget" name="listViewChannels">
0104      <property name="sizePolicy">
0105       <sizepolicy hsizetype="Expanding" vsizetype="Expanding">
0106        <horstretch>0</horstretch>
0107        <verstretch>1</verstretch>
0108       </sizepolicy>
0109      </property>
0110      <property name="minimumSize">
0111       <size>
0112        <width>0</width>
0113        <height>100</height>
0114       </size>
0115      </property>
0116      <property name="columnCount">
0117       <number>2</number>
0118      </property>
0119      <column>
0120       <property name="text">
0121        <string>Channel</string>
0122       </property>
0123      </column>
0124      <column>
0125       <property name="text">
0126        <string comment="The value number each channel of sampled color listed in a table">Value</string>
0127       </property>
0128      </column>
0129     </widget>
0130    </item>
0131    <item row="7" column="0">
0132     <widget class="Line" name="line2">
0133      <property name="frameShadow">
0134       <enum>QFrame::Sunken</enum>
0135      </property>
0136      <property name="lineWidth">
0137       <number>1</number>
0138      </property>
0139      <property name="orientation">
0140       <enum>Qt::Horizontal</enum>
0141      </property>
0142     </widget>
0143    </item>
0144    <item row="5" column="0">
0145     <layout class="QHBoxLayout" name="radiusLayout">
0146      <property name="spacing">
0147       <number>1</number>
0148      </property>
0149      <property name="leftMargin">
0150       <number>0</number>
0151      </property>
0152      <property name="topMargin">
0153       <number>0</number>
0154      </property>
0155      <property name="rightMargin">
0156       <number>0</number>
0157      </property>
0158      <property name="bottomMargin">
0159       <number>0</number>
0160      </property>
0161      <item>
0162       <widget class="QLabel" name="radiusLabel">
0163        <property name="text">
0164         <string>Radius: </string>
0165        </property>
0166        <property name="alignment">
0167         <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
0168        </property>
0169        <property name="margin">
0170         <number>1</number>
0171        </property>
0172       </widget>
0173      </item>
0174      <item>
0175       <widget class="KisIntParseSpinBox" name="radius">
0176        <property name="sizePolicy">
0177         <sizepolicy hsizetype="MinimumExpanding" vsizetype="Fixed">
0178          <horstretch>0</horstretch>
0179          <verstretch>0</verstretch>
0180         </sizepolicy>
0181        </property>
0182        <property name="toolTip">
0183         <string>&lt;nobr&gt;Radius controls the color sampler's sampling area.&lt;/nobr&gt; Pixel colors within this radius are mixed together.</string>
0184        </property>
0185        <property name="suffix">
0186         <string> px</string>
0187        </property>
0188        <property name="minimum">
0189         <number>1</number>
0190        </property>
0191        <property name="maximum">
0192         <number>900</number>
0193        </property>
0194       </widget>
0195      </item>
0196     </layout>
0197    </item>
0198    <item row="3" column="0">
0199     <layout class="QHBoxLayout" name="paletteLayout">
0200      <property name="spacing">
0201       <number>1</number>
0202      </property>
0203      <property name="leftMargin">
0204       <number>0</number>
0205      </property>
0206      <property name="topMargin">
0207       <number>0</number>
0208      </property>
0209      <property name="rightMargin">
0210       <number>0</number>
0211      </property>
0212      <property name="bottomMargin">
0213       <number>0</number>
0214      </property>
0215      <item>
0216       <widget class="QCheckBox" name="cbPalette">
0217        <property name="toolTip">
0218         <string>&lt;nobr&gt;Checking this box will add a new color swatch&lt;/nobr&gt; to a palette each time you sample a color.</string>
0219        </property>
0220        <property name="text">
0221         <string>Add to palette:</string>
0222        </property>
0223       </widget>
0224      </item>
0225      <item>
0226       <widget class="KisSqueezedComboBox" name="cmbPalette"/>
0227      </item>
0228     </layout>
0229    </item>
0230    <item row="2" column="0">
0231     <layout class="QHBoxLayout" name="horizontalLayout">
0232      <item>
0233       <widget class="QCheckBox" name="cbUpdateCurrentColor">
0234        <property name="toolTip">
0235         <string>&lt;nobr&gt;Controls whether the color sampler updates the&lt;/nobr&gt; current foreground or not.</string>
0236        </property>
0237        <property name="text">
0238         <string>Update color</string>
0239        </property>
0240       </widget>
0241      </item>
0242     </layout>
0243    </item>
0244    <item row="4" column="0">
0245     <widget class="Line" name="line1">
0246      <property name="frameShadow">
0247       <enum>QFrame::Sunken</enum>
0248      </property>
0249      <property name="lineWidth">
0250       <number>1</number>
0251      </property>
0252      <property name="orientation">
0253       <enum>Qt::Horizontal</enum>
0254      </property>
0255     </widget>
0256    </item>
0257   </layout>
0258  </widget>
0259  <customwidgets>
0260   <customwidget>
0261    <class>KisSliderSpinBox</class>
0262    <extends>QSpinBox</extends>
0263    <header>kis_slider_spin_box.h</header>
0264   </customwidget>
0265   <customwidget>
0266    <class>KisSqueezedComboBox</class>
0267    <extends>QComboBox</extends>
0268    <header>KisSqueezedComboBox.h</header>
0269   </customwidget>
0270   <customwidget>
0271    <class>KisIntParseSpinBox</class>
0272    <extends>QSpinBox</extends>
0273    <header>kis_int_parse_spin_box.h</header>
0274   </customwidget>
0275  </customwidgets>
0276  <resources/>
0277  <connections/>
0278 </ui>