Warning, /graphics/krita/libs/ui/forms/WdgDlgPaletteEditor.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>WdgDlgPaletteEditor</class>
0008  <widget class="QDialog" name="WdgDlgPaletteEditor">
0009   <property name="geometry">
0010    <rect>
0011     <x>0</x>
0012     <y>0</y>
0013     <width>524</width>
0014     <height>481</height>
0015    </rect>
0016   </property>
0017   <property name="windowTitle">
0018    <string>Palette Editor</string>
0019   </property>
0020   <layout class="QVBoxLayout" name="verticalLayout">
0021    <item>
0022     <widget class="QWidget" name="widget" native="true">
0023      <layout class="QHBoxLayout" name="horizontalLayout_3">
0024       <item>
0025        <widget class="QGroupBox" name="gbxPalette">
0026         <property name="title">
0027          <string>Palette options</string>
0028         </property>
0029         <layout class="QVBoxLayout" name="verticalLayout_3">
0030          <item>
0031           <widget class="QLabel" name="labelName">
0032            <property name="text">
0033             <string>Palette name:</string>
0034            </property>
0035           </widget>
0036          </item>
0037          <item>
0038           <widget class="QLineEdit" name="lineEditName"/>
0039          </item>
0040          <item>
0041           <widget class="QLabel" name="labelColCount">
0042            <property name="text">
0043             <string>Columns of swatches:</string>
0044            </property>
0045           </widget>
0046          </item>
0047          <item>
0048           <widget class="QSpinBox" name="spinBoxCol"/>
0049          </item>
0050          <item>
0051           <widget class="QLabel" name="label">
0052            <property name="text">
0053             <string>Storage location:</string>
0054            </property>
0055           </widget>
0056          </item>
0057          <item>
0058           <widget class="QComboBox" name="storageLocation"/>
0059          </item>
0060          <item>
0061           <spacer name="verticalSpacer_2">
0062            <property name="orientation">
0063             <enum>Qt::Vertical</enum>
0064            </property>
0065            <property name="sizeHint" stdset="0">
0066             <size>
0067              <width>20</width>
0068              <height>40</height>
0069             </size>
0070            </property>
0071           </spacer>
0072          </item>
0073          <item>
0074           <widget class="QToolButton" name="bnAddGroup">
0075            <property name="sizePolicy">
0076             <sizepolicy hsizetype="MinimumExpanding" vsizetype="Fixed">
0077              <horstretch>0</horstretch>
0078              <verstretch>0</verstretch>
0079             </sizepolicy>
0080            </property>
0081            <property name="text">
0082             <string>Add a swatch group</string>
0083            </property>
0084           </widget>
0085          </item>
0086         </layout>
0087        </widget>
0088       </item>
0089       <item>
0090        <widget class="QGroupBox" name="gbxGroup">
0091         <property name="title">
0092          <string>Swatch Group options</string>
0093         </property>
0094         <layout class="QVBoxLayout" name="verticalLayout_2">
0095          <item>
0096           <widget class="QLabel" name="labelColorGroupList">
0097            <property name="text">
0098             <string>Swatch group:</string>
0099            </property>
0100           </widget>
0101          </item>
0102          <item>
0103           <widget class="QComboBox" name="cbxGroup"/>
0104          </item>
0105          <item>
0106           <widget class="QLabel" name="labelRowCount">
0107            <property name="text">
0108             <string>Rows of swatches in group:</string>
0109            </property>
0110           </widget>
0111          </item>
0112          <item>
0113           <widget class="QSpinBox" name="spinBoxRow"/>
0114          </item>
0115          <item>
0116           <spacer name="verticalSpacer">
0117            <property name="orientation">
0118             <enum>Qt::Vertical</enum>
0119            </property>
0120            <property name="sizeHint" stdset="0">
0121             <size>
0122              <width>20</width>
0123              <height>40</height>
0124             </size>
0125            </property>
0126           </spacer>
0127          </item>
0128          <item>
0129           <widget class="QToolButton" name="bnRenGroup">
0130            <property name="sizePolicy">
0131             <sizepolicy hsizetype="MinimumExpanding" vsizetype="Fixed">
0132              <horstretch>0</horstretch>
0133              <verstretch>0</verstretch>
0134             </sizepolicy>
0135            </property>
0136            <property name="text">
0137             <string comment="Group as Swatch Group in a Palette">Rename selected group</string>
0138            </property>
0139           </widget>
0140          </item>
0141          <item>
0142           <widget class="QToolButton" name="bnDelGroup">
0143            <property name="sizePolicy">
0144             <sizepolicy hsizetype="MinimumExpanding" vsizetype="Fixed">
0145              <horstretch>0</horstretch>
0146              <verstretch>0</verstretch>
0147             </sizepolicy>
0148            </property>
0149            <property name="text">
0150             <string comment="Group as Swatch Group in a Palette">Remove selected group</string>
0151            </property>
0152           </widget>
0153          </item>
0154         </layout>
0155        </widget>
0156       </item>
0157      </layout>
0158     </widget>
0159    </item>
0160    <item>
0161     <widget class="QDialogButtonBox" name="buttonBox">
0162      <property name="orientation">
0163       <enum>Qt::Horizontal</enum>
0164      </property>
0165      <property name="standardButtons">
0166       <set>QDialogButtonBox::Cancel|QDialogButtonBox::Ok</set>
0167      </property>
0168     </widget>
0169    </item>
0170   </layout>
0171  </widget>
0172  <resources/>
0173  <connections>
0174   <connection>
0175    <sender>buttonBox</sender>
0176    <signal>rejected()</signal>
0177    <receiver>WdgDlgPaletteEditor</receiver>
0178    <slot>reject()</slot>
0179    <hints>
0180     <hint type="sourcelabel">
0181      <x>316</x>
0182      <y>260</y>
0183     </hint>
0184     <hint type="destinationlabel">
0185      <x>286</x>
0186      <y>274</y>
0187     </hint>
0188    </hints>
0189   </connection>
0190   <connection>
0191    <sender>buttonBox</sender>
0192    <signal>accepted()</signal>
0193    <receiver>WdgDlgPaletteEditor</receiver>
0194    <slot>accept()</slot>
0195    <hints>
0196     <hint type="sourcelabel">
0197      <x>248</x>
0198      <y>254</y>
0199     </hint>
0200     <hint type="destinationlabel">
0201      <x>157</x>
0202      <y>274</y>
0203     </hint>
0204    </hints>
0205   </connection>
0206  </connections>
0207 </ui>