From 8afb12b32bbc7ef5de9a3821b6f2dae7c658e7db Mon Sep 17 00:00:00 2001 From: Michele Calgaro Date: Mon, 29 Jul 2024 20:26:55 +0900 Subject: Improve settings for some sliders related to keyboard, accessibility and style. This also solves issue #513 Signed-off-by: Michele Calgaro --- kxkb/kcmmisc.cpp | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'kxkb/kcmmisc.cpp') diff --git a/kxkb/kcmmisc.cpp b/kxkb/kcmmisc.cpp index c23b3cf6c..9fc18bb08 100644 --- a/kxkb/kcmmisc.cpp +++ b/kxkb/kcmmisc.cpp @@ -61,15 +61,17 @@ KeyboardConfig::KeyboardConfig (TQWidget * parent, const char *) lay->addStretch(); ui->click->setRange(0, 100, 10); - ui->delay->setRange(100, 5000, 50, false); + ui->delay->setRange(0, 5000, 10, false); ui->rate->setRange(5, 50, 5, false); - ui->delaySlider->setRange(1000, 50000); + // Values multiplied by 10 compated to the integer input field + ui->delaySlider->setRange(0, 50000); ui->delaySlider->setSteps(50, 500); ui->delaySlider->setTickInterval(2500); + // Values multiplied by 100 compated to the integer input field ui->rateSlider->setRange(500, 5000); - ui->rateSlider->setSteps(50, 500); + ui->rateSlider->setSteps(100, 500); ui->rateSlider->setTickInterval(500); connect(ui->repeatBox, TQ_SIGNAL(clicked()), this, TQ_SLOT(changed())); -- cgit v1.2.1