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 --- kcontrol/access/kcmaccess.cpp | 8 ++++---- kcontrol/style/kcmstyle.cpp | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) (limited to 'kcontrol') diff --git a/kcontrol/access/kcmaccess.cpp b/kcontrol/access/kcmaccess.cpp index 374bec295..e8c41accc 100644 --- a/kcontrol/access/kcmaccess.cpp +++ b/kcontrol/access/kcmaccess.cpp @@ -320,7 +320,7 @@ KAccessConfig::KAccessConfig(TQWidget *parent, const char *) hbox->addSpacing(24); durationSlider = new ExtendedIntNumInput(grp); - durationSlider->setRange(100, 2000, 100); + durationSlider->setRange(10, 2000, 10); durationSlider->setLabel(i18n("Duration:")); durationSlider->setSuffix(i18n(" msec")); hbox->addWidget(durationSlider); @@ -424,7 +424,7 @@ KAccessConfig::KAccessConfig(TQWidget *parent, const char *) hbox->addSpacing(24); slowKeysDelay = new ExtendedIntNumInput(grp); slowKeysDelay->setSuffix(i18n(" msec")); - slowKeysDelay->setRange(50, 10000, 100); + slowKeysDelay->setRange(10, 10000, 10); slowKeysDelay->setLabel(i18n("Acceptance dela&y:")); hbox->addWidget(slowKeysDelay); @@ -456,7 +456,7 @@ KAccessConfig::KAccessConfig(TQWidget *parent, const char *) hbox->addSpacing(24); bounceKeysDelay = new ExtendedIntNumInput(grp); bounceKeysDelay->setSuffix(i18n(" msec")); - bounceKeysDelay->setRange(100, 5000, 100); + bounceKeysDelay->setRange(10, 5000, 10); bounceKeysDelay->setLabel(i18n("D&ebounce time:")); hbox->addWidget(bounceKeysDelay); @@ -513,7 +513,7 @@ KAccessConfig::KAccessConfig(TQWidget *parent, const char *) hbox->addSpacing(24); timeoutDelay = new KIntNumInput(grp); timeoutDelay->setSuffix(i18n(" min")); - timeoutDelay->setRange(1, 30, 4); + timeoutDelay->setRange(1, 30, 1); timeoutDelay->setLabel(i18n("Timeout:")); hbox->addWidget(timeoutDelay); diff --git a/kcontrol/style/kcmstyle.cpp b/kcontrol/style/kcmstyle.cpp index 9dd53616c..53f4fe048 100644 --- a/kcontrol/style/kcmstyle.cpp +++ b/kcontrol/style/kcmstyle.cpp @@ -197,7 +197,7 @@ KCMStyle::KCMStyle( TQWidget* parent, const char* name ) m_popupMenuDelay = new KIntNumInput(250, gbWidgetStyle); m_popupMenuDelay->setLabel(i18n("Menu popup delay:")); - m_popupMenuDelay->setRange(0, 5000, 50); + m_popupMenuDelay->setRange(0, 5000, 10); m_popupMenuDelay->setSuffix(i18n(" msec")); m_popupMenuDelay->setSteps(50, 50); gbWidgetStyleLayout->addWidget(m_popupMenuDelay); -- cgit v1.2.1