diff options
author | Michele Calgaro <michele.calgaro@yahoo.it> | 2024-07-29 20:26:55 +0900 |
---|---|---|
committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2024-08-01 20:39:38 +0900 |
commit | 147f7ffce1e0ce2157c580c0d8e9b100b4dae91d (patch) | |
tree | 532e3e5d328caf166602ae1f4e860cbb8e90761d /kxkb/kcmmisc.cpp | |
parent | 5bb53d86755c9b30a7fcd6db6c453e6b3c4b79fa (diff) | |
download | tdebase-147f7ffce1e0ce2157c580c0d8e9b100b4dae91d.tar.gz tdebase-147f7ffce1e0ce2157c580c0d8e9b100b4dae91d.zip |
Improve settings for some sliders related to keyboard, accessibility and style. This also solves issue #513
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
(cherry picked from commit 8afb12b32bbc7ef5de9a3821b6f2dae7c658e7db)
Diffstat (limited to 'kxkb/kcmmisc.cpp')
-rw-r--r-- | kxkb/kcmmisc.cpp | 8 |
1 files changed, 5 insertions, 3 deletions
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())); |