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:38:20 +0900 |
commit | 8afb12b32bbc7ef5de9a3821b6f2dae7c658e7db (patch) | |
tree | 3378d33181c940c84f699bc8e236661bda28e071 /kxkb | |
parent | e84954ddc1a0406ae319dd02a7d946ed62cb6859 (diff) | |
download | tdebase-8afb12b32bbc7ef5de9a3821b6f2dae7c658e7db.tar.gz tdebase-8afb12b32bbc7ef5de9a3821b6f2dae7c658e7db.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>
Diffstat (limited to 'kxkb')
-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())); |