Changeset View
Changeset View
Standalone View
Standalone View
plugins/tools/selectiontools/kis_tool_select_contiguous.cc
Show First 20 Lines • Show All 177 Lines • ▼ Show 20 Line(s) | 175 | if (l) { | |||
---|---|---|---|---|---|
178 | l->insertLayout(1, hbox); | 178 | l->insertLayout(1, hbox); | ||
179 | 179 | | |||
180 | QLabel * lbl = new QLabel(i18n("Fuzziness: "), selectionWidget); | 180 | QLabel * lbl = new QLabel(i18n("Fuzziness: "), selectionWidget); | ||
181 | hbox->addWidget(lbl); | 181 | hbox->addWidget(lbl); | ||
182 | 182 | | |||
183 | KisSliderSpinBox *input = new KisSliderSpinBox(selectionWidget); | 183 | KisSliderSpinBox *input = new KisSliderSpinBox(selectionWidget); | ||
184 | Q_CHECK_PTR(input); | 184 | Q_CHECK_PTR(input); | ||
185 | input->setObjectName("fuzziness"); | 185 | input->setObjectName("fuzziness"); | ||
186 | input->setRange(0, 200); | 186 | input->setRange(1, 100); | ||
187 | input->setSingleStep(10); | 187 | input->setSingleStep(1); | ||
188 | input->setExponentRatio(2); | ||||
188 | hbox->addWidget(input); | 189 | hbox->addWidget(input); | ||
189 | 190 | | |||
190 | hbox = new QHBoxLayout(); | 191 | hbox = new QHBoxLayout(); | ||
191 | Q_CHECK_PTR(hbox); | 192 | Q_CHECK_PTR(hbox); | ||
192 | l->insertLayout(2, hbox); | 193 | l->insertLayout(2, hbox); | ||
193 | 194 | | |||
194 | lbl = new QLabel(i18n("Grow/shrink selection: "), selectionWidget); | 195 | lbl = new QLabel(i18n("Grow/shrink selection: "), selectionWidget); | ||
195 | hbox->addWidget(lbl); | 196 | hbox->addWidget(lbl); | ||
▲ Show 20 Lines • Show All 57 Lines • Show Last 20 Lines |