Changeset View
Changeset View
Standalone View
Standalone View
plugins/tools/basictools/wdgcolorpicker.ui
Context not available. | |||||
6 | <rect> | 6 | <rect> | ||
---|---|---|---|---|---|
7 | <x>0</x> | 7 | <x>0</x> | ||
8 | <y>0</y> | 8 | <y>0</y> | ||
9 | <width>263</width> | 9 | <width>274</width> | ||
10 | <height>323</height> | 10 | <height>498</height> | ||
11 | </rect> | 11 | </rect> | ||
12 | </property> | 12 | </property> | ||
13 | <property name="windowTitle"> | 13 | <property name="windowTitle"> | ||
14 | <string>Color Picker</string> | 14 | <string>Color Picker</string> | ||
15 | </property> | 15 | </property> | ||
16 | <layout class="QGridLayout"> | 16 | <layout class="QGridLayout"> | ||
17 | <item row="6" column="0"> | 17 | <item row="13" column="0"> | ||
18 | <layout class="QHBoxLayout" name="blendLayout"> | 18 | <widget class="QTreeWidget" name="tableColorData"> | ||
19 | <property name="spacing"> | | |||
20 | <number>1</number> | | |||
21 | </property> | | |||
22 | <item> | | |||
23 | <widget class="QLabel" name="blendLabel"> | | |||
24 | <property name="text"> | | |||
25 | <string>Blend: </string> | | |||
26 | </property> | | |||
27 | <property name="alignment"> | | |||
28 | <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set> | | |||
29 | </property> | | |||
30 | <property name="margin"> | | |||
31 | <number>1</number> | | |||
32 | </property> | | |||
33 | </widget> | | |||
34 | </item> | | |||
35 | <item> | | |||
36 | <widget class="KisSliderSpinBox" name="blend" native="true"> | | |||
37 | <property name="sizePolicy"> | | |||
38 | <sizepolicy hsizetype="MinimumExpanding" vsizetype="Preferred"> | | |||
39 | <horstretch>0</horstretch> | | |||
40 | <verstretch>0</verstretch> | | |||
41 | </sizepolicy> | | |||
42 | </property> | | |||
43 | <property name="toolTip"> | | |||
44 | <string><nobr>Blending controls the percentage of color that is picked</nobr> and mixed with your current brush color. A full blending value picks colors completely, ignoring brush color.</string> | | |||
45 | </property> | | |||
46 | </widget> | | |||
47 | </item> | | |||
48 | </layout> | | |||
49 | </item> | | |||
50 | <item row="0" column="0"> | | |||
51 | <widget class="QComboBox" name="cmbSources"> | | |||
52 | <property name="sizePolicy"> | 19 | <property name="sizePolicy"> | ||
53 | <sizepolicy hsizetype="Fixed" vsizetype="Fixed"> | 20 | <sizepolicy hsizetype="MinimumExpanding" vsizetype="Expanding"> | ||
54 | <horstretch>0</horstretch> | 21 | <horstretch>0</horstretch> | ||
55 | <verstretch>0</verstretch> | 22 | <verstretch>0</verstretch> | ||
56 | </sizepolicy> | 23 | </sizepolicy> | ||
57 | </property> | 24 | </property> | ||
58 | <property name="minimumSize"> | | |||
59 | <size> | | |||
60 | <width>200</width> | | |||
61 | <height>0</height> | | |||
62 | </size> | | |||
63 | </property> | | |||
64 | <property name="maximumSize"> | | |||
65 | <size> | | |||
66 | <width>200</width> | | |||
67 | <height>32767</height> | | |||
68 | </size> | | |||
69 | </property> | | |||
70 | <property name="toolTip"> | | |||
71 | <string><nobr>Determines whether the color picker will sample</nobr> colors from all visible layers or only the currently selected layer.</string> | | |||
72 | </property> | | |||
73 | <property name="currentIndex"> | | |||
74 | <number>0</number> | | |||
75 | </property> | | |||
76 | <item> | | |||
77 | <property name="text"> | | |||
78 | <string>Sample All Visible Layers</string> | | |||
79 | </property> | | |||
80 | </item> | | |||
81 | <item> | | |||
82 | <property name="text"> | | |||
83 | <string>Sample Current Layer</string> | | |||
84 | </property> | | |||
85 | </item> | | |||
86 | </widget> | | |||
87 | </item> | | |||
88 | <item row="8" column="0"> | | |||
89 | <widget class="QCheckBox" name="cbNormaliseValues"> | | |||
90 | <property name="toolTip"> | | |||
91 | <string>Displays per-channel color information below as percentages instead of bytes.</string> | | |||
92 | </property> | | |||
93 | <property name="text"> | | |||
94 | <string>Show colors as percentages</string> | | |||
95 | </property> | | |||
96 | </widget> | | |||
97 | </item> | | |||
98 | <item row="9" column="0"> | | |||
99 | <widget class="QTreeWidget" name="listViewChannels"> | | |||
100 | <property name="minimumSize"> | 25 | <property name="minimumSize"> | ||
101 | <size> | 26 | <size> | ||
102 | <width>0</width> | 27 | <width>0</width> | ||
103 | <height>100</height> | 28 | <height>128</height> | ||
104 | </size> | 29 | </size> | ||
105 | </property> | 30 | </property> | ||
106 | <property name="columnCount"> | 31 | <property name="columnCount"> | ||
Context not available. | |||||
118 | </column> | 43 | </column> | ||
119 | </widget> | 44 | </widget> | ||
120 | </item> | 45 | </item> | ||
121 | <item row="7" column="0"> | 46 | <item row="6" column="0"> | ||
122 | <widget class="Line" name="line2"> | | |||
123 | <property name="frameShadow"> | | |||
124 | <enum>QFrame::Plain</enum> | | |||
125 | </property> | | |||
126 | <property name="lineWidth"> | | |||
127 | <number>1</number> | | |||
128 | </property> | | |||
129 | <property name="orientation"> | | |||
130 | <enum>Qt::Horizontal</enum> | | |||
131 | </property> | | |||
132 | </widget> | | |||
133 | </item> | | |||
134 | <item row="5" column="0"> | | |||
135 | <layout class="QHBoxLayout" name="radiusLayout"> | 47 | <layout class="QHBoxLayout" name="radiusLayout"> | ||
136 | <property name="spacing"> | 48 | <property name="spacing"> | ||
137 | <number>1</number> | 49 | <number>8</number> | ||
138 | </property> | 50 | </property> | ||
139 | <property name="leftMargin"> | 51 | <property name="leftMargin"> | ||
140 | <number>0</number> | 52 | <number>0</number> | ||
Context not available. | |||||
150 | </property> | 62 | </property> | ||
151 | <item> | 63 | <item> | ||
152 | <widget class="QLabel" name="radiusLabel"> | 64 | <widget class="QLabel" name="radiusLabel"> | ||
65 | <property name="sizePolicy"> | ||||
66 | <sizepolicy hsizetype="Fixed" vsizetype="Preferred"> | ||||
67 | <horstretch>0</horstretch> | ||||
68 | <verstretch>0</verstretch> | ||||
69 | </sizepolicy> | ||||
70 | </property> | ||||
71 | <property name="minimumSize"> | ||||
72 | <size> | ||||
73 | <width>64</width> | ||||
74 | <height>0</height> | ||||
75 | </size> | ||||
76 | </property> | ||||
153 | <property name="text"> | 77 | <property name="text"> | ||
154 | <string>Radius: </string> | 78 | <string>Radius:</string> | ||
155 | </property> | 79 | </property> | ||
156 | <property name="alignment"> | 80 | <property name="alignment"> | ||
157 | <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set> | 81 | <set>Qt::AlignLeading|Qt::AlignLeft|Qt::AlignVCenter</set> | ||
158 | </property> | 82 | </property> | ||
159 | <property name="margin"> | 83 | <property name="margin"> | ||
160 | <number>1</number> | 84 | <number>1</number> | ||
Context not available. | |||||
164 | <item> | 88 | <item> | ||
165 | <widget class="KisIntParseSpinBox" name="radius"> | 89 | <widget class="KisIntParseSpinBox" name="radius"> | ||
166 | <property name="sizePolicy"> | 90 | <property name="sizePolicy"> | ||
167 | <sizepolicy hsizetype="MinimumExpanding" vsizetype="Fixed"> | 91 | <sizepolicy hsizetype="Minimum" vsizetype="Fixed"> | ||
168 | <horstretch>0</horstretch> | 92 | <horstretch>0</horstretch> | ||
169 | <verstretch>0</verstretch> | 93 | <verstretch>0</verstretch> | ||
170 | </sizepolicy> | 94 | </sizepolicy> | ||
171 | </property> | 95 | </property> | ||
96 | <property name="minimumSize"> | ||||
97 | <size> | ||||
98 | <width>0</width> | ||||
99 | <height>32</height> | ||||
100 | </size> | ||||
101 | </property> | ||||
172 | <property name="toolTip"> | 102 | <property name="toolTip"> | ||
173 | <string><nobr>Radius controls the color picker's sampling area.</nobr> Pixel colors within this radius are mixed together.</string> | 103 | <string><nobr>Radius controls the color picker's sampling area.</nobr> Pixel colors within this radius are mixed together.</string> | ||
174 | </property> | 104 | </property> | ||
Context not available. | |||||
185 | </item> | 115 | </item> | ||
186 | </layout> | 116 | </layout> | ||
187 | </item> | 117 | </item> | ||
188 | <item row="3" column="0"> | 118 | <item row="11" column="0"> | ||
189 | <layout class="QHBoxLayout" name="paletteLayout"> | 119 | <widget class="Line" name="line2"> | ||
120 | <property name="orientation"> | ||||
121 | <enum>Qt::Horizontal</enum> | ||||
122 | </property> | ||||
123 | </widget> | ||||
124 | </item> | ||||
125 | <item row="1" column="0"> | ||||
126 | <layout class="QHBoxLayout" name="samplingLayout"> | ||||
190 | <property name="spacing"> | 127 | <property name="spacing"> | ||
191 | <number>1</number> | 128 | <number>8</number> | ||
192 | </property> | 129 | </property> | ||
193 | <property name="leftMargin"> | 130 | <item> | ||
194 | <number>0</number> | 131 | <widget class="QLabel" name="label"> | ||
132 | <property name="sizePolicy"> | ||||
133 | <sizepolicy hsizetype="Fixed" vsizetype="Preferred"> | ||||
134 | <horstretch>0</horstretch> | ||||
135 | <verstretch>0</verstretch> | ||||
136 | </sizepolicy> | ||||
137 | </property> | ||||
138 | <property name="minimumSize"> | ||||
139 | <size> | ||||
140 | <width>64</width> | ||||
141 | <height>0</height> | ||||
142 | </size> | ||||
143 | </property> | ||||
144 | <property name="text"> | ||||
145 | <string>Sample:</string> | ||||
146 | </property> | ||||
147 | </widget> | ||||
148 | </item> | ||||
149 | <item> | ||||
150 | <widget class="QComboBox" name="cmbSamplingSources"> | ||||
151 | <property name="sizePolicy"> | ||||
152 | <sizepolicy hsizetype="Preferred" vsizetype="Fixed"> | ||||
153 | <horstretch>0</horstretch> | ||||
154 | <verstretch>0</verstretch> | ||||
155 | </sizepolicy> | ||||
156 | </property> | ||||
157 | <property name="minimumSize"> | ||||
158 | <size> | ||||
159 | <width>0</width> | ||||
160 | <height>32</height> | ||||
161 | </size> | ||||
162 | </property> | ||||
163 | <property name="toolTip"> | ||||
164 | <string><nobr>Determines whether the color picker will sample</nobr> colors from all visible layers or only the currently selected layer.</string> | ||||
165 | </property> | ||||
166 | <property name="currentIndex"> | ||||
167 | <number>0</number> | ||||
168 | </property> | ||||
169 | <item> | ||||
170 | <property name="text"> | ||||
171 | <string>All Visible Layers</string> | ||||
172 | </property> | ||||
173 | </item> | ||||
174 | <item> | ||||
175 | <property name="text"> | ||||
176 | <string>Current Layer</string> | ||||
177 | </property> | ||||
178 | </item> | ||||
179 | </widget> | ||||
180 | </item> | ||||
181 | </layout> | ||||
182 | </item> | ||||
183 | <item row="12" column="0"> | ||||
184 | <widget class="QCheckBox" name="cbNormaliseValues"> | ||||
185 | <property name="toolTip"> | ||||
186 | <string>Displays per-channel color information below as percentages instead of integers.</string> | ||||
195 | </property> | 187 | </property> | ||
196 | <property name="topMargin"> | 188 | <property name="text"> | ||
197 | <number>0</number> | 189 | <string>Show color data as percentages.</string> | ||
198 | </property> | 190 | </property> | ||
199 | <property name="rightMargin"> | 191 | </widget> | ||
200 | <number>0</number> | 192 | </item> | ||
193 | <item row="8" column="0"> | ||||
194 | <widget class="Line" name="line1"> | ||||
195 | <property name="orientation"> | ||||
196 | <enum>Qt::Horizontal</enum> | ||||
201 | </property> | 197 | </property> | ||
202 | <property name="bottomMargin"> | 198 | </widget> | ||
203 | <number>0</number> | 199 | </item> | ||
200 | <item row="7" column="0"> | ||||
201 | <layout class="QHBoxLayout" name="mixLayout"> | ||||
202 | <property name="spacing"> | ||||
203 | <number>8</number> | ||||
204 | </property> | 204 | </property> | ||
205 | <item> | 205 | <item> | ||
206 | <widget class="QCheckBox" name="cbPalette"> | 206 | <widget class="QLabel" name="mixLabel"> | ||
207 | <property name="toolTip"> | 207 | <property name="sizePolicy"> | ||
208 | <string><nobr>Checking this box will add a new color swatch</nobr> to a palette each time you pick a color.</string> | 208 | <sizepolicy hsizetype="Minimum" vsizetype="Preferred"> | ||
209 | <horstretch>0</horstretch> | ||||
210 | <verstretch>0</verstretch> | ||||
211 | </sizepolicy> | ||||
212 | </property> | ||||
213 | <property name="minimumSize"> | ||||
214 | <size> | ||||
215 | <width>64</width> | ||||
216 | <height>0</height> | ||||
217 | </size> | ||||
209 | </property> | 218 | </property> | ||
210 | <property name="text"> | 219 | <property name="text"> | ||
211 | <string>Add to palette:</string> | 220 | <string>Mix:</string> | ||
221 | </property> | ||||
222 | <property name="alignment"> | ||||
223 | <set>Qt::AlignLeading|Qt::AlignLeft|Qt::AlignVCenter</set> | ||||
224 | </property> | ||||
225 | <property name="margin"> | ||||
226 | <number>1</number> | ||||
212 | </property> | 227 | </property> | ||
213 | </widget> | 228 | </widget> | ||
214 | </item> | 229 | </item> | ||
215 | <item> | 230 | <item> | ||
216 | <widget class="SqueezedComboBox" name="cmbPalette"/> | 231 | <widget class="KisSliderSpinBox" name="mix"> | ||
232 | <property name="sizePolicy"> | ||||
233 | <sizepolicy hsizetype="MinimumExpanding" vsizetype="Preferred"> | ||||
234 | <horstretch>0</horstretch> | ||||
235 | <verstretch>0</verstretch> | ||||
236 | </sizepolicy> | ||||
237 | </property> | ||||
238 | <property name="minimumSize"> | ||||
239 | <size> | ||||
240 | <width>0</width> | ||||
241 | <height>32</height> | ||||
242 | </size> | ||||
243 | </property> | ||||
244 | <property name="toolTip"> | ||||
245 | <string><nobr>The mix value controls the percentage of color that is picked</nobr> and mixed with your current brush color. A full mix value picks colors completely, ignoring brush color.</string> | ||||
246 | </property> | ||||
247 | </widget> | ||||
217 | </item> | 248 | </item> | ||
218 | </layout> | 249 | </layout> | ||
219 | </item> | 250 | </item> | ||
220 | <item row="2" column="0"> | 251 | <item row="0" column="0"> | ||
252 | <widget class="QCheckBox" name="cbUpdate"> | ||||
253 | <property name="toolTip"> | ||||
254 | <string><nobr>If checked, Left Click will update your active foreground color and</nobr> Right Click will update your active background color. [Checked by default.]</string> | ||||
255 | </property> | ||||
256 | <property name="text"> | ||||
257 | <string>Update Active Colors</string> | ||||
258 | </property> | ||||
259 | <property name="checked"> | ||||
260 | <bool>true</bool> | ||||
261 | </property> | ||||
262 | </widget> | ||||
263 | </item> | ||||
264 | <item row="9" column="0"> | ||||
221 | <layout class="QHBoxLayout" name="horizontalLayout"> | 265 | <layout class="QHBoxLayout" name="horizontalLayout"> | ||
222 | <item> | 266 | <item> | ||
223 | <widget class="QCheckBox" name="cbUpdateCurrentColor"> | 267 | <widget class="QCheckBox" name="cbAddToPalette"> | ||
224 | <property name="toolTip"> | 268 | <property name="toolTip"> | ||
225 | <string><nobr>Controls whether the color picker updates the</nobr> current foreground or not.</string> | 269 | <string><nobr>Adds each picked color to an empty slot in the</nobr> currently selected palette.</string> | ||
226 | </property> | 270 | </property> | ||
227 | <property name="text"> | 271 | <property name="text"> | ||
228 | <string>Update color</string> | 272 | <string>Add to palette:</string> | ||
229 | </property> | 273 | </property> | ||
230 | </widget> | 274 | </widget> | ||
231 | </item> | 275 | </item> | ||
276 | <item> | ||||
277 | <widget class="SqueezedComboBox" name="cmbPalettes"/> | ||||
278 | </item> | ||||
232 | </layout> | 279 | </layout> | ||
233 | </item> | 280 | </item> | ||
234 | <item row="4" column="0"> | | |||
235 | <widget class="Line" name="line1"> | | |||
236 | <property name="frameShadow"> | | |||
237 | <enum>QFrame::Plain</enum> | | |||
238 | </property> | | |||
239 | <property name="lineWidth"> | | |||
240 | <number>1</number> | | |||
241 | </property> | | |||
242 | <property name="orientation"> | | |||
243 | <enum>Qt::Horizontal</enum> | | |||
244 | </property> | | |||
245 | </widget> | | |||
246 | </item> | | |||
247 | </layout> | 281 | </layout> | ||
248 | </widget> | 282 | </widget> | ||
249 | <customwidgets> | 283 | <customwidgets> | ||
284 | <customwidget> | ||||
285 | <class>KisIntParseSpinBox</class> | ||||
286 | <extends>QSpinBox</extends> | ||||
287 | <header>kis_int_parse_spin_box.h</header> | ||||
288 | </customwidget> | ||||
250 | <customwidget> | 289 | <customwidget> | ||
251 | <class>KisSliderSpinBox</class> | 290 | <class>KisSliderSpinBox</class> | ||
252 | <extends>QWidget</extends> | 291 | <extends>QFrame</extends> | ||
253 | <header>kis_slider_spin_box.h</header> | 292 | <header>kis_slider_spin_box.h</header> | ||
293 | <container>1</container> | ||||
254 | </customwidget> | 294 | </customwidget> | ||
255 | <customwidget> | 295 | <customwidget> | ||
256 | <class>SqueezedComboBox</class> | 296 | <class>SqueezedComboBox</class> | ||
257 | <extends>QComboBox</extends> | 297 | <extends>QComboBox</extends> | ||
258 | <header>squeezedcombobox.h</header> | 298 | <header>squeezedcombobox.h</header> | ||
259 | </customwidget> | 299 | </customwidget> | ||
260 | <customwidget> | | |||
261 | <class>KisIntParseSpinBox</class> | | |||
262 | <extends>QSpinBox</extends> | | |||
263 | <header>kis_int_parse_spin_box.h</header> | | |||
264 | </customwidget> | | |||
265 | </customwidgets> | 300 | </customwidgets> | ||
266 | <resources/> | 301 | <resources/> | ||
267 | <connections/> | 302 | <connections/> | ||
Context not available. |