Warning, /graphics/krita/plugins/paintops/libpaintop/forms/wdgcustombrush.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>KisWdgCustomBrush</class> 0008 <widget class="QDialog" name="KisWdgCustomBrush"> 0009 <property name="geometry"> 0010 <rect> 0011 <x>0</x> 0012 <y>0</y> 0013 <width>462</width> 0014 <height>330</height> 0015 </rect> 0016 </property> 0017 <layout class="QHBoxLayout" name="horizontalLayout_2"> 0018 <property name="spacing"> 0019 <number>6</number> 0020 </property> 0021 <property name="leftMargin"> 0022 <number>15</number> 0023 </property> 0024 <property name="topMargin"> 0025 <number>15</number> 0026 </property> 0027 <property name="rightMargin"> 0028 <number>15</number> 0029 </property> 0030 <property name="bottomMargin"> 0031 <number>15</number> 0032 </property> 0033 <item> 0034 <layout class="QVBoxLayout" name="verticalLayout_2"> 0035 <item> 0036 <widget class="QLabel" name="preview"> 0037 <property name="sizePolicy"> 0038 <sizepolicy hsizetype="Fixed" vsizetype="Fixed"> 0039 <horstretch>0</horstretch> 0040 <verstretch>0</verstretch> 0041 </sizepolicy> 0042 </property> 0043 <property name="minimumSize"> 0044 <size> 0045 <width>110</width> 0046 <height>110</height> 0047 </size> 0048 </property> 0049 <property name="frameShape"> 0050 <enum>QFrame::Box</enum> 0051 </property> 0052 <property name="text"> 0053 <string/> 0054 </property> 0055 </widget> 0056 </item> 0057 <item> 0058 <spacer name="verticalSpacer_2"> 0059 <property name="orientation"> 0060 <enum>Qt::Vertical</enum> 0061 </property> 0062 <property name="sizeHint" stdset="0"> 0063 <size> 0064 <width>20</width> 0065 <height>40</height> 0066 </size> 0067 </property> 0068 </spacer> 0069 </item> 0070 </layout> 0071 </item> 0072 <item> 0073 <layout class="QVBoxLayout" name="verticalLayout"> 0074 <item> 0075 <layout class="QGridLayout" name="gridLayout"> 0076 <item row="1" column="1"> 0077 <widget class="KisSpacingSelectionWidget" name="spacingWidget" native="true"/> 0078 </item> 0079 <item row="1" column="0"> 0080 <widget class="QLabel" name="spacingLbl"> 0081 <property name="text"> 0082 <string>Spacing:</string> 0083 </property> 0084 <property name="alignment"> 0085 <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set> 0086 </property> 0087 </widget> 0088 </item> 0089 <item row="2" column="1"> 0090 <widget class="QCheckBox" name="colorAsMask"> 0091 <property name="text"> 0092 <string>Create mask from color</string> 0093 </property> 0094 </widget> 0095 </item> 0096 <item row="0" column="0"> 0097 <widget class="QLabel" name="brushNameLbl"> 0098 <property name="text"> 0099 <string>Name:</string> 0100 </property> 0101 <property name="alignment"> 0102 <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set> 0103 </property> 0104 </widget> 0105 </item> 0106 <item row="0" column="1"> 0107 <widget class="QLineEdit" name="nameLineEdit"/> 0108 </item> 0109 <item row="3" column="1"> 0110 <widget class="QCheckBox" name="preserveAlpha"> 0111 <property name="enabled"> 0112 <bool>false</bool> 0113 </property> 0114 <property name="text"> 0115 <string>Preserve alpha channel</string> 0116 </property> 0117 </widget> 0118 </item> 0119 </layout> 0120 </item> 0121 <item> 0122 <widget class="QGroupBox" name="groupBox"> 0123 <property name="minimumSize"> 0124 <size> 0125 <width>0</width> 0126 <height>110</height> 0127 </size> 0128 </property> 0129 <property name="title"> 0130 <string>Brush Style</string> 0131 </property> 0132 <property name="checkable"> 0133 <bool>false</bool> 0134 </property> 0135 <layout class="QGridLayout" name="gridLayout_3"> 0136 <item row="0" column="0"> 0137 <layout class="QGridLayout" name="gridLayout_2"> 0138 <property name="spacing"> 0139 <number>3</number> 0140 </property> 0141 <item row="0" column="0"> 0142 <widget class="QLabel" name="textLabel2"> 0143 <property name="sizePolicy"> 0144 <sizepolicy hsizetype="Fixed" vsizetype="Preferred"> 0145 <horstretch>0</horstretch> 0146 <verstretch>0</verstretch> 0147 </sizepolicy> 0148 </property> 0149 <property name="text"> 0150 <string>Style:</string> 0151 </property> 0152 <property name="alignment"> 0153 <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set> 0154 </property> 0155 </widget> 0156 </item> 0157 <item row="0" column="1"> 0158 <widget class="QComboBox" name="brushStyle"> 0159 <property name="sizePolicy"> 0160 <sizepolicy hsizetype="MinimumExpanding" vsizetype="Fixed"> 0161 <horstretch>0</horstretch> 0162 <verstretch>0</verstretch> 0163 </sizepolicy> 0164 </property> 0165 <item> 0166 <property name="text"> 0167 <string>Regular</string> 0168 </property> 0169 </item> 0170 <item> 0171 <property name="text"> 0172 <string>Animated</string> 0173 </property> 0174 </item> 0175 </widget> 0176 </item> 0177 <item row="1" column="0"> 0178 <widget class="QLabel" name="textLabel3"> 0179 <property name="sizePolicy"> 0180 <sizepolicy hsizetype="Fixed" vsizetype="Preferred"> 0181 <horstretch>0</horstretch> 0182 <verstretch>0</verstretch> 0183 </sizepolicy> 0184 </property> 0185 <property name="text"> 0186 <string>Selection mode:</string> 0187 </property> 0188 <property name="alignment"> 0189 <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set> 0190 </property> 0191 </widget> 0192 </item> 0193 <item row="1" column="1"> 0194 <widget class="QComboBox" name="comboBox2"> 0195 <property name="enabled"> 0196 <bool>false</bool> 0197 </property> 0198 <property name="sizePolicy"> 0199 <sizepolicy hsizetype="MinimumExpanding" vsizetype="Fixed"> 0200 <horstretch>0</horstretch> 0201 <verstretch>0</verstretch> 0202 </sizepolicy> 0203 </property> 0204 <property name="currentIndex"> 0205 <number>2</number> 0206 </property> 0207 <item> 0208 <property name="text"> 0209 <string>Constant</string> 0210 </property> 0211 </item> 0212 <item> 0213 <property name="text"> 0214 <string>Random</string> 0215 </property> 0216 </item> 0217 <item> 0218 <property name="text"> 0219 <string>Incremental</string> 0220 </property> 0221 </item> 0222 <item> 0223 <property name="text"> 0224 <string>Pressure</string> 0225 </property> 0226 </item> 0227 <item> 0228 <property name="text"> 0229 <string>Angular</string> 0230 </property> 0231 </item> 0232 </widget> 0233 </item> 0234 </layout> 0235 </item> 0236 </layout> 0237 </widget> 0238 </item> 0239 <item> 0240 <spacer name="verticalSpacer"> 0241 <property name="orientation"> 0242 <enum>Qt::Vertical</enum> 0243 </property> 0244 <property name="sizeHint" stdset="0"> 0245 <size> 0246 <width>20</width> 0247 <height>40</height> 0248 </size> 0249 </property> 0250 </spacer> 0251 </item> 0252 <item> 0253 <layout class="QHBoxLayout" name="horizontalLayout"> 0254 <item> 0255 <spacer name="horizontalSpacer"> 0256 <property name="orientation"> 0257 <enum>Qt::Horizontal</enum> 0258 </property> 0259 <property name="sizeHint" stdset="0"> 0260 <size> 0261 <width>40</width> 0262 <height>20</height> 0263 </size> 0264 </property> 0265 </spacer> 0266 </item> 0267 <item> 0268 <widget class="QDialogButtonBox" name="buttonBox"> 0269 <property name="orientation"> 0270 <enum>Qt::Horizontal</enum> 0271 </property> 0272 <property name="standardButtons"> 0273 <set>QDialogButtonBox::Cancel|QDialogButtonBox::Save</set> 0274 </property> 0275 </widget> 0276 </item> 0277 </layout> 0278 </item> 0279 </layout> 0280 </item> 0281 </layout> 0282 </widget> 0283 <customwidgets> 0284 <customwidget> 0285 <class>KisSpacingSelectionWidget</class> 0286 <extends>QWidget</extends> 0287 <header>kis_spacing_selection_widget.h</header> 0288 <container>1</container> 0289 </customwidget> 0290 </customwidgets> 0291 <resources/> 0292 <connections> 0293 <connection> 0294 <sender>buttonBox</sender> 0295 <signal>accepted()</signal> 0296 <receiver>KisWdgCustomBrush</receiver> 0297 <slot>accept()</slot> 0298 <hints> 0299 <hint type="sourcelabel"> 0300 <x>20</x> 0301 <y>20</y> 0302 </hint> 0303 <hint type="destinationlabel"> 0304 <x>20</x> 0305 <y>20</y> 0306 </hint> 0307 </hints> 0308 </connection> 0309 <connection> 0310 <sender>buttonBox</sender> 0311 <signal>rejected()</signal> 0312 <receiver>KisWdgCustomBrush</receiver> 0313 <slot>reject()</slot> 0314 <hints> 0315 <hint type="sourcelabel"> 0316 <x>20</x> 0317 <y>20</y> 0318 </hint> 0319 <hint type="destinationlabel"> 0320 <x>20</x> 0321 <y>20</y> 0322 </hint> 0323 </hints> 0324 </connection> 0325 </connections> 0326 </ui>