Warning, /graphics/krita/libs/ui/widgets/KisAutoLevelsWidget.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  <class>KisAutoLevelsWidget</class>
0004  <widget class="QWidget" name="KisAutoLevelsWidget">
0005   <property name="geometry">
0006    <rect>
0007     <x>0</x>
0008     <y>0</y>
0009     <width>400</width>
0010     <height>300</height>
0011    </rect>
0012   </property>
0013   <property name="windowTitle">
0014    <string>Form</string>
0015   </property>
0016   <layout class="QVBoxLayout" name="verticalLayout">
0017    <property name="spacing">
0018     <number>10</number>
0019    </property>
0020    <property name="leftMargin">
0021     <number>0</number>
0022    </property>
0023    <property name="topMargin">
0024     <number>0</number>
0025    </property>
0026    <property name="rightMargin">
0027     <number>0</number>
0028    </property>
0029    <property name="bottomMargin">
0030     <number>0</number>
0031    </property>
0032    <item>
0033     <widget class="QGroupBox" name="groupBox">
0034      <property name="title">
0035       <string comment="Contrast enhancement section in auto levels">Shadows and Highlights</string>
0036      </property>
0037      <layout class="QFormLayout" name="formLayout">
0038       <property name="fieldGrowthPolicy">
0039        <enum>QFormLayout::AllNonFixedFieldsGrow</enum>
0040       </property>
0041       <property name="horizontalSpacing">
0042        <number>5</number>
0043       </property>
0044       <property name="verticalSpacing">
0045        <number>5</number>
0046       </property>
0047       <property name="leftMargin">
0048        <number>10</number>
0049       </property>
0050       <property name="topMargin">
0051        <number>10</number>
0052       </property>
0053       <property name="rightMargin">
0054        <number>10</number>
0055       </property>
0056       <property name="bottomMargin">
0057        <number>10</number>
0058       </property>
0059       <item row="0" column="0">
0060        <widget class="QLabel" name="label">
0061         <property name="text">
0062          <string comment="Contrast enhancement method used in auto levels">Method:</string>
0063         </property>
0064        </widget>
0065       </item>
0066       <item row="0" column="1">
0067        <widget class="QComboBox" name="comboBoxShadowsAndLightsMethod">
0068         <item>
0069          <property name="text">
0070           <string comment="Use same black and white points for all the channels in auto levels">Adjust monochromatic contrast</string>
0071          </property>
0072         </item>
0073         <item>
0074          <property name="text">
0075           <string comment="Use different black and white points for each channel in auto levels">Adjust per channel contrast</string>
0076          </property>
0077         </item>
0078        </widget>
0079       </item>
0080       <item row="1" column="0">
0081        <widget class="QLabel" name="label_2">
0082         <property name="text">
0083          <string comment="Percentage of the histogram to clip in the shadows side in auto levels">Shadows clipping:</string>
0084         </property>
0085        </widget>
0086       </item>
0087       <item row="2" column="0">
0088        <widget class="QLabel" name="label_3">
0089         <property name="text">
0090          <string comment="Percentage of the histogram to clip in the highlights side in auto levels">Highlights clipping:</string>
0091         </property>
0092        </widget>
0093       </item>
0094       <item row="3" column="0">
0095        <widget class="QLabel" name="label_4">
0096         <property name="text">
0097          <string comment="Maximum distance the black/white points can be moved from their relative extremes in auto levels">Maximum offset:</string>
0098         </property>
0099        </widget>
0100       </item>
0101       <item row="3" column="1">
0102        <widget class="KisDoubleSliderSpinBox" name="sliderShadowsAndLightsMaximumOffset" native="true"/>
0103       </item>
0104       <item row="4" column="0">
0105        <widget class="QLabel" name="label_6">
0106         <property name="text">
0107          <string comment="Output color used for the shadows in auto levels">Shadows color:</string>
0108         </property>
0109        </widget>
0110       </item>
0111       <item row="5" column="0">
0112        <widget class="QLabel" name="label_7">
0113         <property name="text">
0114          <string comment="Output color used for the highlights in auto levels">Highlights color:</string>
0115         </property>
0116        </widget>
0117       </item>
0118       <item row="4" column="1">
0119        <widget class="KisColorButton" name="buttonShadowsColor" native="true"/>
0120       </item>
0121       <item row="5" column="1">
0122        <widget class="KisColorButton" name="buttonHighlightsColor" native="true"/>
0123       </item>
0124       <item row="1" column="1">
0125        <widget class="KisDoubleSliderSpinBox" name="sliderShadowsClipping" native="true"/>
0126       </item>
0127       <item row="2" column="1">
0128        <widget class="KisDoubleSliderSpinBox" name="sliderHighlightsClipping" native="true"/>
0129       </item>
0130      </layout>
0131     </widget>
0132    </item>
0133    <item>
0134     <widget class="QGroupBox" name="groupBox_2">
0135      <property name="title">
0136       <string comment="Midtones enhancement section in auto levels">Midtones</string>
0137      </property>
0138      <layout class="QFormLayout" name="formLayout_2">
0139       <property name="fieldGrowthPolicy">
0140        <enum>QFormLayout::AllNonFixedFieldsGrow</enum>
0141       </property>
0142       <property name="horizontalSpacing">
0143        <number>5</number>
0144       </property>
0145       <property name="verticalSpacing">
0146        <number>5</number>
0147       </property>
0148       <property name="leftMargin">
0149        <number>10</number>
0150       </property>
0151       <property name="topMargin">
0152        <number>10</number>
0153       </property>
0154       <property name="rightMargin">
0155        <number>10</number>
0156       </property>
0157       <property name="bottomMargin">
0158        <number>10</number>
0159       </property>
0160       <item row="0" column="0">
0161        <widget class="QLabel" name="label_5">
0162         <property name="text">
0163          <string comment="Midtones enhancement method used in auto levels">Method:</string>
0164         </property>
0165        </widget>
0166       </item>
0167       <item row="0" column="1">
0168        <widget class="QComboBox" name="comboBoxMidtonesMethod">
0169         <item>
0170          <property name="text">
0171           <string comment="Do not perform midtones enhancement in auto levels">Don't adjust the midtones</string>
0172          </property>
0173         </item>
0174         <item>
0175          <property name="text">
0176           <string comment="Use the median point of the histogram as midtone point in auto levels">Use the median to adjust the midtones</string>
0177          </property>
0178         </item>
0179         <item>
0180          <property name="text">
0181           <string comment="Use the mean value of the histogram as midtone point in auto levels">Use the mean value to adjust the midtones</string>
0182          </property>
0183         </item>
0184        </widget>
0185       </item>
0186       <item row="2" column="0">
0187        <widget class="QLabel" name="label_8">
0188         <property name="text">
0189          <string comment="Output color used for the midtones in auto levels">Color:</string>
0190         </property>
0191        </widget>
0192       </item>
0193       <item row="2" column="1">
0194        <widget class="KisColorButton" name="buttonMidtonesColor" native="true"/>
0195       </item>
0196       <item row="1" column="1">
0197        <widget class="KisDoubleSliderSpinBox" name="sliderMidtonesAdjustmentAmount" native="true"/>
0198       </item>
0199       <item row="1" column="0">
0200        <widget class="QLabel" name="label_9">
0201         <property name="text">
0202          <string comment="How much the midtone point used in auto levels is close to the center of the histogram (0%) or to the point selected in the method (100%)">Amount:</string>
0203         </property>
0204        </widget>
0205       </item>
0206      </layout>
0207     </widget>
0208    </item>
0209    <item>
0210     <spacer name="verticalSpacer">
0211      <property name="orientation">
0212       <enum>Qt::Vertical</enum>
0213      </property>
0214      <property name="sizeHint" stdset="0">
0215       <size>
0216        <width>0</width>
0217        <height>0</height>
0218       </size>
0219      </property>
0220     </spacer>
0221    </item>
0222   </layout>
0223  </widget>
0224  <customwidgets>
0225   <customwidget>
0226    <class>KisDoubleSliderSpinBox</class>
0227    <extends>QDoubleSpinBox</extends>
0228    <header location="global">kis_slider_spin_box.h</header>
0229    <container>1</container>
0230   </customwidget>
0231   <customwidget>
0232    <class>KisColorButton</class>
0233    <extends>QWidget</extends>
0234    <header location="global">kis_color_button.h</header>
0235    <container>1</container>
0236   </customwidget>
0237  </customwidgets>
0238  <resources/>
0239  <connections/>
0240 </ui>