diff options
author | toma <toma@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2009-11-25 17:56:58 +0000 |
---|---|---|
committer | toma <toma@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2009-11-25 17:56:58 +0000 |
commit | 4aed2c8219774f5d797760606b8489a92ddc5163 (patch) | |
tree | 3f8c130f7d269626bf6a9447407ef6c35954426a /kcontrol/accessibility | |
download | tdebase-4aed2c8219774f5d797760606b8489a92ddc5163.tar.gz tdebase-4aed2c8219774f5d797760606b8489a92ddc5163.zip |
Copy the KDE 3.5 branch to branches/trinity for new KDE 3.5 features.
BUG:215923
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdebase@1054174 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kcontrol/accessibility')
-rw-r--r-- | kcontrol/accessibility/Makefile.am | 15 | ||||
-rw-r--r-- | kcontrol/accessibility/accessibility.cpp | 141 | ||||
-rw-r--r-- | kcontrol/accessibility/accessibility.desktop | 239 | ||||
-rw-r--r-- | kcontrol/accessibility/accessibility.h | 71 | ||||
-rw-r--r-- | kcontrol/accessibility/accessibilityconfigwidget.ui | 1630 | ||||
-rw-r--r-- | kcontrol/accessibility/accessibilityconfigwidget.ui.h | 22 | ||||
-rw-r--r-- | kcontrol/accessibility/configure.in.in | 3 | ||||
-rw-r--r-- | kcontrol/accessibility/kcm_accessibility.kcfg | 67 | ||||
-rw-r--r-- | kcontrol/accessibility/settings.kcfgc | 5 |
9 files changed, 2193 insertions, 0 deletions
diff --git a/kcontrol/accessibility/Makefile.am b/kcontrol/accessibility/Makefile.am new file mode 100644 index 000000000..67eb8957a --- /dev/null +++ b/kcontrol/accessibility/Makefile.am @@ -0,0 +1,15 @@ +AM_CPPFLAGS = $(all_includes) +METASOURCES = AUTO + +kde_module_LTLIBRARIES = kcm_accessibility.la + +kcm_accessibility_la_SOURCES = accessibility.cpp accessibilityconfigwidget.ui +kcm_accessibility_la_LDFLAGS = $(all_libraries) -module -avoid-version -no-undefined +kcm_accessibility_la_LIBADD = $(LIB_KIO) + +noinst_HEADERS = accessibility.h + +xdg_apps_DATA = accessibility.desktop + +messages: rc.cpp + $(XGETTEXT) *.cpp -o $(podir)/kcmaccessibility.pot diff --git a/kcontrol/accessibility/accessibility.cpp b/kcontrol/accessibility/accessibility.cpp new file mode 100644 index 000000000..de7b9953b --- /dev/null +++ b/kcontrol/accessibility/accessibility.cpp @@ -0,0 +1,141 @@ +/**************************************************************************** + accessibility.cpp + KDE Control Accessibility module to control Bell, Keyboard and ?Mouse? + ------------------- + Copyright : (c) 2000 Matthias H�lzer-Kl�pfel + ------------------- + Original Author: Matthias H�lzer-Kl�pfel + Contributors: Jos� Pablo Ezequiel "Pupeno" Fern�ndez <[email protected]> + Current Maintainer: Jos� Pablo Ezequiel "Pupeno" Fern�ndez <[email protected]> + ****************************************************************************/ + +/**************************************************************************** + * * + * This program is free software; you can redistribute it and/or modify * + * it under the terms of the GNU General Public License as published by * + * the Free Software Foundation; either version 2 of the License, or * + * (at your option) any later version. * + * * + ****************************************************************************/ + +#include <qcheckbox.h> +#include <qradiobutton.h> +#include <qtabwidget.h> + +#include <kaboutdata.h> +#include <kcolorbutton.h> +#include <kconfig.h> +#include <kgenericfactory.h> +#include <knuminput.h> +#include <kurlrequester.h> + +#include "accessibility.moc" + +typedef KGenericFactory<AccessibilityConfig, QWidget> AccessibilityFactory; +K_EXPORT_COMPONENT_FACTORY( kcm_accessibility, AccessibilityFactory("kcmaccessibility") ) + +/** + * This function checks if the kaccess daemon needs to be run + * This function will be deprecated since the kaccess daemon will be part of kded + */ +// static bool needToRunKAccessDaemon( KConfig *config ){ +// KConfigGroup group( config, "Bell" ); +// +// if(!group.readBoolEntry("SystemBell", true)){ +// return true; +// } +// if(group.readBoolEntry("ArtsBell", false)){ +// return true; +// } +// if(group.readBoolEntry("VisibleBell", false)){ +// return true; +// } +// return false; // don't need it +// } + +AccessibilityConfig::AccessibilityConfig(QWidget *parent, const char *name, const QStringList &) + : AccessibilityConfigWidget( parent, name){ + + KAboutData *about = + new KAboutData(I18N_NOOP("kcmaccessiblity"), I18N_NOOP("KDE Accessibility Tool"), + 0, 0, KAboutData::License_GPL, + I18N_NOOP("(c) 2000, Matthias Hoelzer-Kluepfel")); + + about->addAuthor("Matthias Hoelzer-Kluepfel", I18N_NOOP("Author") , "[email protected]"); + about->addAuthor("Jos� Pablo Ezequiel Fern�ndez", I18N_NOOP("Author") , "[email protected]"); + setAboutData( about ); + + kdDebug() << "Running: AccessibilityConfig::AccessibilityConfig(QWidget *parent, const char *name, const QStringList &)" << endl; + // TODO: set the KURL Dialog to open just audio files + connect( mainTab, SIGNAL(currentChanged(QWidget*)), this, SIGNAL(quickHelpChanged()) ); + load(); +} + + +AccessibilityConfig::~AccessibilityConfig(){ + kdDebug() << "Running: AccessibilityConfig::~AccessibilityConfig()" << endl; +} + +void AccessibilityConfig::load() +{ + load( false ); +} + +void AccessibilityConfig::load( bool useDefaults ) +{ + kdDebug() << "Running: AccessibilityConfig::load()" << endl; + + KConfig *bell = new KConfig("bellrc", true); + + bell->setReadDefaults( useDefaults ); + + bell->setGroup("General"); + systemBell->setChecked(bell->readBoolEntry("SystemBell", false)); + customBell->setChecked(bell->readBoolEntry("CustomBell", false)); + visibleBell->setChecked(bell->readBoolEntry("VisibleBell", false)); + + bell->setGroup("CustomBell"); + soundToPlay->setURL(bell->readPathEntry("Sound", "")); + + bell->setGroup("Visible"); + invertScreen->setChecked(bell->readBoolEntry("Invert", true)); + flashScreen->setChecked(bell->readBoolEntry("Flash", false)); + // TODO: There has to be a cleaner way. + QColor *redColor = new QColor(Qt::red); + flashScreenColor->setColor(bell->readColorEntry("FlashColor", redColor)); + delete redColor; + visibleBellDuration->setValue(bell->readNumEntry("Duration", 500)); + + delete bell; + emit changed( useDefaults ); +} + + +void AccessibilityConfig::save(){ + kdDebug() << "Running: AccessibilityConfig::save()" << endl; + + KConfig *bell = new KConfig("bellrc"); + + bell->setGroup("General"); + bell->writeEntry("SystemBell", systemBell->isChecked()); + bell->writeEntry("CustomBell", customBell->isChecked()); + bell->writeEntry("VisibleBell", visibleBell->isChecked()); + + bell->setGroup("CustomBell"); + bell->writePathEntry("Sound", soundToPlay->url()); + + bell->setGroup("Visible"); + bell->writeEntry("Invert", invertScreen->isChecked()); + bell->writeEntry("Flash", flashScreen->isChecked()); + bell->writeEntry("FlashColor", flashScreenColor->color()); + bell->writeEntry("Duration", visibleBellDuration->value()); + + bell->sync(); + delete bell; +} + + +void AccessibilityConfig::defaults() +{ + load( true ); +} diff --git a/kcontrol/accessibility/accessibility.desktop b/kcontrol/accessibility/accessibility.desktop new file mode 100644 index 000000000..2295b85c6 --- /dev/null +++ b/kcontrol/accessibility/accessibility.desktop @@ -0,0 +1,239 @@ +[Desktop Entry] +Exec=kcmshell accessibility +Icon=access +Type=Application + + +X-KDE-Library=accessibility +X-KDE-Factoryname=accessibility +X-KDE-ParentApp=kcontrol + +Name=Accessibility +Name[af]=Toeganklikheid +Name[ar]=تسهيل الوصول +Name[az]=Yetişmə Qabiliyyəti +Name[be]=Даступнасць +Name[bg]=Равностоен достъп +Name[bn]=সহায়ক প্রযুক্তি +Name[br]=Haezadusted +Name[bs]=Pristupačnost +Name[ca]=Accessibilitat +Name[cs]=Zpřístupnění +Name[csb]=Pòmòce przistãpù +Name[cy]=Hygyrchedd +Name[da]=Tilgængelighed +Name[de]=Zugangshilfen +Name[el]=Προσιτότητα +Name[eo]=Alirebleco +Name[es]=Accesibilidad +Name[et]=Hõlbustus +Name[eu]=Erabilerraztasuna +Name[fa]=دستیابیپذیری +Name[fi]=Helppokäyttötoiminnot +Name[fr]=Accessibilité +Name[fy]=Tagonklikens +Name[ga]=Inrochtaineacht +Name[gl]=Accesibilidade +Name[he]=נגישות +Name[hi]=पहुँच +Name[hr]=Pristupačnost +Name[hu]=Kezelési segítség +Name[id]=Aksesibiliti +Name[is]=Aðgengi +Name[it]=Accessibilità +Name[ja]=アクセシビリティ +Name[ka]=სპეციალური შესაძლბლობები +Name[kk]=Арнайы мүмкіндіктер +Name[km]=ភាពអាចចូលដំណើរការបាន +Name[ko]=내게 필요한 설정 +Name[lo]=ຄວາມສາມາດໃນການໃຊ້ງານ +Name[lt]=Prieinamumas +Name[lv]=Pieejamība +Name[mk]=Пристапливост +Name[mn]=Хэрэглэх тохь +Name[ms]=Kebolehcapaian +Name[mt]=Aċċessibiltà +Name[nb]=Tilgjengelighet +Name[nds]=Behinnertenhülp +Name[ne]=पहुँचता +Name[nl]=Toegankelijkheid +Name[nn]=Tilgjenge +Name[nso]=Botsenelo +Name[oc]=Accessibilitat +Name[pa]=ਸਹੂਲਤਾਂ +Name[pl]=Dostępność +Name[pt]=Acessibilidade +Name[pt_BR]=Acessibilidade +Name[ro]=Accesibilitate +Name[ru]=Специальные возможности +Name[rw]=Ukugerwaho +Name[se]=Álkkibut geavaheapmi +Name[sk]=Prístupnosť +Name[sl]=Dostopnost +Name[sr]=Приступачност +Name[sr@Latn]=Pristupačnost +Name[ss]=Kutfolakala kalula +Name[sv]=Handikappstöd +Name[ta]=அணுகல் +Name[te]=అందుబాటు +Name[tg]=Имконпазирӣ +Name[th]=ตัวช่วยในการใช้งาน +Name[tr]=Erişilebilirlik +Name[tt]=Qulaylıq +Name[uk]=Доступність +Name[uz]=Qulayliklar +Name[uz@cyrillic]=Қулайликлар +Name[ven]=Dzheneaho +Name[vi]=Hỗ trợ người tàn tật +Name[wa]=Accessibilité +Name[xh]=Unikezelo +Name[zh_CN]=辅助 +Name[zh_TW]=無障礙輔助 +Name[zu]=Ukungena + +Comment=Improve accessibility for disabled persons +Comment[af]=Verbeter toeganklikheid vir gestremde persone +Comment[ar]=تسهيل الاستخدام لذوي الاحتياجات الخاصة +Comment[az]=Yetişmə qabiliyyəti zəyif olanların həyatını asanlaşdırar +Comment[be]=Павялічвае даступнасць для людзей з фізічнымі адхіленнямі +Comment[bg]=Настройване на достъпа за хора с увреждания +Comment[bn]=অসমর্থ ব্যবহারকারীদের সহায়তা করার প্রযুক্তি +Comment[bs]=Bolja pristupačnost za osobe sa nedostacima +Comment[ca]=Accessibilitat millorada per a persones discapacitades +Comment[cs]=Zlepšení přístupnosti pro osoby s postižením +Comment[csb]=Pòprôwionô przistãpnosc dlô niefùlsprôwnëch lëdzi +Comment[cy]=Gwella hygyrchedd i bobl anabl +Comment[da]=Forbedr tilgængelighed for handicappede personer +Comment[de]=Verbesserte Benutzbarkeit für behinderte Menschen +Comment[el]=Βελτίωση της προσιτότητας για άτομα με ειδικές ανάγκες +Comment[eo]=Plibonigita alirebleco por handikapitoj +Comment[es]=Mejorar accesibilidad para discapacitados +Comment[et]=Puuetega inimestele mõeldud seaded +Comment[eu]=Erabilerraztasuna hobetzen du pertsona elbarrientzat +Comment[fa]=بهبود دستیابیپذیری برای اشخاص ناتوان +Comment[fi]=Käyttöä helpottavia asetuksia +Comment[fr]=Accessibilité améliorée pour les personnes handicapées +Comment[fy]=Ferbeterde tagonklikens foar brûkers mei in handikap +Comment[ga]=Feabhsaigh an inrochtaineacht do dhaoine míchumasaithe +Comment[gl]=Acesibilidade mellorada para persoas con discapacidades +Comment[he]=שיפור הנגישות עבור אנשים עם מגבלות +Comment[hi]=विकलांग व्यक्तियों के लिए पहुँच बेहतर बनाए +Comment[hr]=Unaprijedite pristupačnost osobama s invaliditetom +Comment[hu]=A számítógép kezelését segítő eszközök fogyatékosoknak +Comment[is]=Endurbætt aðgengi fyrir þá sem þurfa +Comment[it]=Accessibilità migliorata per le persone disabili +Comment[ja]=障害のある方達のためのアクセス改善 +Comment[ka]=ფიზიკური ნაკლოვანებბის მქონი ხალხისთვის სპეციალური შესაძლბლობები +Comment[kk]=Мүмкіншіліктері шектеулі адамдарға көмек +Comment[km]=បង្កើនមធ្យោបាយងាយស្រួលសម្រាប់មនុស្សពិការ +Comment[ko]=장애인들을 위하여 접근성을 향상시킵니다 +Comment[lo]=ປັບຄ່າຄວາມສາມາດໃນການໃຊ້ງານສຳຫລັບຜູ້ທີ່ມີຄວາມສາມາດ +Comment[lt]=Pagerintas prieinamumas neįgaliems asmenims +Comment[lv]=Uzlabo pieejamību cilvekiem ar īpašām vajadzībām +Comment[mk]=Ја подобрува пристапливоста за хендикепирани лица +Comment[mn]=Гэмтэлтэй хүнд зориулан сайжруулсан хэрэглээ +Comment[ms]=Tingkatkan keaksesan bagi orang kurang upaya +Comment[mt]=Aċċessibbiltà aħjar għal persuni b'diżabilità +Comment[nb]=Forbedret tilgjengelighet for funksjonshemmede +Comment[nds]=Verbetert den Togang för Behinnerte +Comment[ne]=अक्षम व्यक्तिका लागि पहुँच क्षमता सुधार गर्नुहोस् +Comment[nl]=Verbeterde toegankelijkheid voor gebruikers met een handicap +Comment[nn]=Forbetra tilgjenge for funksjonshemma personar +Comment[nso]=Kaonafatsa botsenelo bja batho bao basa kgonego go itirela +Comment[pa]=ਅਪੰਗ ਵਿਅਕਤੀ ਲਈ ਸੁਧਾਰੀ ਸਹਾਇਤਾ +Comment[pl]=Poprawiona dostępność dla osób niepełnosprawnych +Comment[pt]=Acessibilidade melhorada para pessoas com necessidades especiais +Comment[pt_BR]=Melhora a acessibilidade para pessoas com deficiência +Comment[ro]=Îmbunătățește accesibilitate KDE pentru persoanele cu handicap +Comment[ru]=Специальные возможности для людей с физическими недостатками +Comment[rw]=Kongera ukugerwaho kw'abantu bahagaritswe +Comment[se]=Álkkibut geavaheapmi doaimmahehttejuvvon olbmuide +Comment[sk]=Zlepšenie prístupnosti pre postihnutých používateľov +Comment[sl]=Izboljšana dostopnost za prizadete osebe +Comment[sr]=Унапређује приступачност за хендикепиране особе +Comment[sr@Latn]=Unapređuje pristupačnost za hendikepirane osobe +Comment[ss]=Phucula kufinyelela kwebantfu labachwalile +Comment[sv]=Förbättrad tillgänglighet för handikappade personer +Comment[ta]=பார்க்க முடியாதவர்களுக்கு அணுகலை அதிகப்படுத்தவும் +Comment[tg]=Имкониятҳои махсус барои одамони нуқсони ҷисмонӣ +Comment[th]=ทำให้ความสามารถในการใช้งาน สำหรับผู้พิการดีขึ้น +Comment[tr]=Görme sorunu olanlar için erişilebilirlik seçenekleri +Comment[tt]=Ğäriplär öçen uñaylıqlar +Comment[uk]=Підвищення зручності для інвалідів +Comment[uz]=Nogiron kishilar uchun qulayliklar +Comment[uz@cyrillic]=Ногирон кишилар учун қулайликлар +Comment[ven]=Khwinifhadzani madzhenele uitela vhathu vha zwihole +Comment[vi]=Hỗ trợ người tàn tật +Comment[wa]=Amidrêye l' accessibilité po les mesplotchès djins +Comment[xh]=Phucula unikekezeleko lwabantu abakhubazekileyo +Comment[zh_CN]=方便残疾人使用的辅助功能 +Comment[zh_TW]=方便傷殘人士使用 +Comment[zu]=Ukwenza ukungena kwabantu abakhubazekile kube lula + +Keywords=access,accessibility,deaf,impaired,bell,audible bell,visible bell,Keyboard,keys,sticky keys,bounce keys,slow keys,mouse navigation,num pad +Keywords[af]=access,accessibility,deaf,impaired,bell,audible bell,visible bell,Keyboard,keys,sticky keys,bounce keys,slow keys,mouse navigation,num bordjie +Keywords[az]=yetişmə,yetişmə qabiliyyəti,kar,əlil,çən,eşidilə bilən çən,görünür çən,Klaviatura,düymələr,yapışqan düymələr,hoppanan düymələr,yavaş düymələr,siçan yönləndirməsi,num pad +Keywords[be]=доступ,даступнасць,званок,гукавы сігнал,бачны сігнал,клавіятура,клавішы,"ліпучыя" клавішы,"рухомыя" клавішы,марудныя клавішы,навігацыя мышшу,лічбавая клавіятура,access,accessibility,deaf,impaired,bell,audible bell,visible bell,Keyboard,keys,sticky keys,bounce keys,slow keys,mouse navigation,num pad +Keywords[bg]=достъп, увреждания, равностоен, равноправен, зрителни, зрителен, без зрение, access, accessibility, deaf, impaired, bell, audible bell, visible bell, Keyboard, keys, sticky keys, bounce keys, slow keys, mouse navigation, num pad +Keywords[ca]=accés,accessibilitat,sord,disminuït,timbre,timbre audible,timbre visible,Teclat,tecles,tecles apegaloses,tecles de repetició,tecles lentes,navegació del ratolí,teclat numèric +Keywords[cs]=Zpřístupnění,Hluchý,Slepý,Postižený,Zvonek,Slyšitelný zvonek,Viditelný zvonek,Klávesnice,Pomalé klávesy,Navigace myši,Num pad +Keywords[csb]=przistãp,przistãpnosc,głëchy,zwónk,słëszalny zwónk widzalny zwónk,klawiatura,klawisze,przëklejone klawisze,odbijanié klawiszów,pòwólné klawisze,nawigacëjô mëszą,numericznô klawiatura +Keywords[cy]=mynediad,hygyrchedd,byddar,cloch,cloch clywadwy,cloch gweladwy,bysellfwrdd,allweddell,bysell,bysell gludog,bysell sponcio,bysell araf,llywio llygoden,pad rhif +Keywords[da]=adgang,tilgængelighed,døv,handicappet,klokke,hørbar klokke,synlig klokke,Tastatur,taster,klæbrige taster,bounce-taster,langsomme taster,musenavigering,numerisk tastatur +Keywords[de]=Behinderung,Maussteuerung,Signale,Tastatur,Tasten,Taubheit,Verlangsamte Tasten,Zahlenblock,Zugang,Zugangshilfen +Keywords[el]=πρόσβαση,προσιτότητα,κωφός,impaired,κουδούνι,ακουστή ειδοποίηση,ορατή ειδοποίηση,Πληκτρολόγιο,πλήκτρα,κολλημένα πλήκτρα,πλήκτρα αναπήδησης,αργά πλήκτρα,πλοήγηση ποντικιού,αριθμητικό πληκτρολόγιο +Keywords[eo]=aliro,handikapito,malhelpito,pepo,videbla pepo,klavaro,klavoj,klavfikso, musnavigado,nombroklavaro +Keywords[es]=acceso,accesibilidad,sordo,disminuido,timbre,timbre audible,timbre visible,Teclado,teclas,teclas pegajosas,teclas de golpe,teclas lentas,navegación del ratón,teclado numérico +Keywords[et]=juurdepääs,kurt,puue,puudega,signaal,kuuldav signaal,visuaalne signaal,klaviatuur,klahvid,kleepuvad klahvid,põrkavad klahvid,aeglased klahvid,hiire liigutamine,numbriklaviatuur +Keywords[eu]=sarrera,erabilerraztasuna,gorra,elbarria,ezkila,ezkila entzungarria, ezkila ikusgarria,Teklatua,teklak,tekla itsaskorrak, bounce teklak,tekla geldoak,sagu bidezko arakaketa,tekla numerikoak +Keywords[fa]=دستیابی، دستیابیپذیری، ناشنوا، معلول، زنگ، زنگ شنیدنی، زنگ مرئی، صفحه کلید، کلیدها، کلیدهای چسبناک، کلیدهای واگشت، کلیدهای کند، ناوش موشی، صفحه اعداد +Keywords[fi]=käytettävyys,esteettömyys,kuuro,vammautunut,virheilmoitus,virheääni,näkyvä virheilmoitus,näppäimistö,näppäimet,alas jäävät näppäimet,toistavat näppäimet,hitaat näppäimet,hiirinavigointi,numeronäppäimistö +Keywords[fr]=accès,accessibilité,surdité,sourd,cloche,son,cloche visuelle,cloche sonore,clavier,touches,souris,touches lentes,touches rémanentes,cloche auditive,touches répétées,répétition des touches,auto-maintien des touches,maintien des touches,navigation à la souris,pointeur de souris,émulation du clavier,clavier numérique +Keywords[fy]=tagong,tagonklikens,dôf,handikap,beheind,bel,sinjalearing,sichtbermeldingen,Kaaiboerd,kaaien,kleef kaaien,kaaioanslag,Mûsnavigaasje,num pad,numeryske klavier +Keywords[ga]=rochtain,inrochtaineacht,bodhar,clog,clog inchloiste,clog infheicthe,Méarchlár,eochracha,eochracha greamaitheacha,eochracha preabtha,eochracha go mall,nascleanúint luiche,eochaircheap uimhriúil +Keywords[gl]=aceso,acesibilidade,impar,campá,badalada audíbel,badalada visíbel,teclado,teclas,teclas pegadias,teclas de repetición,teclas lentas,navegación do rato,teclado numérico +Keywords[he]=גישה,נגישות,חירשים,לקויים,פעמון,פעמון נשמע,פעמון חזותי,לוח,מקשים ,מקלדת ,מקשים,מקשים דביקים,מקשים מוקפצים,מקשים אטיים,ניווט עכבר,מקשי מספרים, access,accessibility,deaf,impaired,bell,audible bell,visible bell,Keyboard,keys,sticky keys,bounce keys,slow keys,mouse navigation,num pad +Keywords[hi]=एक्सेस, पहुँच,बघिर,दुर्बल,घंटी,सुनने योग्य घंटी,दिखने योग्य घंटी,कुंजीपट,कुंजियाँ, चिपकी (स्टिकी) कुंजी,बाउंस कुंजी,धीमी कुंजी,माउस नेविगेशन,न्यूम पैड +Keywords[hr]=access,accessibility,deaf,impaired,bell,audible bell,visible bell,Keyboard,keys,sticky keys,bounce keys,slow keys,mouse navigation,num pad,pristup,pristupačnost,gluh,gluhoća,oštećenje,zvono,zvuk zvona,vidljivo zvono,tipkovnica,tipke,odbijanje tipki,spore tipke,navigacija mišem,numeričke tipke +Keywords[hu]=hozzáférés,segédeszközök,süket,fogyatékos,csengő,hallható csengetés,látható csengetés,billentyűzet,billentyűk,ragadós billentyűk,visszaugró billentyűk,lassú billentyűk,egérkezelés,numerikus billentyűzet +Keywords[is]=aðgangur,aðgengi,heyrnarlaus,fatlaður,píp,bjalla,sjáanleg bjalla,lyklaborð,takkar,músarnotkun,talnaborð +Keywords[it]=accesso,accessibilità,non udenti,portatori di handicap,campanella,campanella udibile,campanella visibile,tastiera,tasti,permanenza dei tasti,pressione ravvicinata dei tasti,rallentamento dei tasti,navigazione mouse,tastierino numerico +Keywords[ja]=アクセス,アクセシビリティ,聾唖,障害,ベル,音声ベル,視覚ベル,キーボート,キー,スティッキーキー,バウンスキー,スローキー,マウス補助,数字パッド +Keywords[km]=ចូលដំណើរការ,មធ្យោបាយងាយស្រួល,ថ្លង់,ពិការ,កណ្ដឹង,កណ្ដឹងឭ,កណ្ដឹងមើលឃើញ,ក្ដារចុច,គ្រាប់ចុច,គ្រាប់ចុចស្អិត,គ្រាប់ចុចលោត,គ្រាប់ចុចយឺត,ការរុករកកណ្ដុរ,បន្ទះលេខ +Keywords[lt]=prieinamumas,kurčias,kurčnebylys,neįgalus,skambutis,girdimas,matomas skambutis,klaviatūra,mygtukai,prisegti mygtukai,lėti mygtukai,navigacija su pele +Keywords[lv]=pieeja,pieejamība,kurls,vājināts,zvans,dzirdams zvans,redzams zvans,Tastatūra,taustiņi,salīmētie taustiņi,elastīgie taustiņi,lēnie taustiņi,peles navigācija,num pads +Keywords[mk]=access,accessibility,deaf,impaired,bell,audible bell,visible bell,Keyboard,keys,sticky keys,bounce keys,slow keys,mouse navigation,num pad,пристап,пристапност,глув,хендикепиран,ѕвонче,звучно ѕвонче,визуелно ѕвонче,Тастатура,копчиња,лепливи копчиња,отскочни копчиња,бавни копчиња,навигација со глушецот,тастатура со бројки +Keywords[mn]=Гар,Гэмтэл,Дүлий,Сигнал,Товчилуур,Тооны хэсэг,Хандалт,Хулганы жолоодлого,Хэрэглэх тохь, Удаашруулсан товчилуур +Keywords[mt]=access,accessibility,aċċessibbiltà,deaf,trux,truxa,torox,impaired,ħadikappat,bell,audible bell,visible bell,Keyboard,keys,sticky keys,bounce keys,slow keys,mouse navigation,num pad +Keywords[nb]=tilgang,tilgjengelighet,døv,handikappet,lyd,signal,bjelle,synlig signal,tastatur,taster,faste valgtaster,trege taster,filtertaster,musnavigering,numerisk tastatur +Keywords[nds]=Togang,accessibility,doof,Behinnerte,Pingel,höörbore Pingel,Ogenpingel,Tastatuur,Tasten,backige Tasten,springen Tasten,langsam Tasten,Muusnavigatschoon,Tallenblock +Keywords[ne]=पहुँच, पहुँचयोग्यता, डिफ, बिग्रेको, बेल, सुन्न सकिने बेल, हेर्न सकिने बेल, कुञ्जीपाटी, कुञ्जीहरू, टाँसिने कुञ्जीहरू, उफ्रिने कुञ्जीहरू, ढिलो कुञ्जीहरू, माउस नेभिगेसन, नम प्याड +Keywords[nl]=toegang,toegankelijkheid,doof,handicap,gehandicapt,bel,signalering,zichtbare meldingen,Keyboard,toetsenbord,keys,toetsen,vastgeplakte toetsen,toetsenaanslag,muisnavigatie,num pad,numerieke klavier +Keywords[nn]=tilgang,tilgjenge,døv,handikappa,lyd,signal,bjelle,synleg signal,tastatur,tastar,faste modifikasjonstastar,trege tastar,filtertastar,musnavigering,numerisk tastatur +Keywords[nso]=tsenelo,botsenelo,sefofu,kelekantswe,bell,bell yeo e kwagalago, bell yeo e bonagalago,Keyboard,ditobetswa,ditobetswa tseo di tiilego,ditobetswa tsago pampa,ditobetswa tsago nanya,navigation ya legotlo,num pad +Keywords[pa]=access,accessibility,deaf,impaired,bell,audible bell,visible bell,ਕੀ-ਬੋਰਡ,keys,sticky keys,bounce keys,slow keys,mouse navigation,num pad +Keywords[pl]=dostęp,dostępność,głuchy,upośledzony,dzwonek,słyszalny dzwonek widzialny dzwonek,klawiatura,klawisze,klejące klawisze,odbijanie klawiszy,powolne klawisze,nawigacja myszą,klawiatura numeryczna +Keywords[pt]=acesso,acessibilidade,surdo,deficiente,campainha,campainha audível,campainha visível,teclado,teclas,teclas 'sticky',teclas 'bounce',teclas lentas,navegação com o rato,num pad +Keywords[pt_BR]=acesso,acessibilidade,surdo,deficiente,campainha,audível,campainha visível, teclado,teclas,teclas persistentes,teclas repetidas,teclas lentas,navegação do mouse,teclado numérico +Keywords[ro]=acces,accesibilitate,surd,handicap,difuzor,audibil,sunet vizibil,tastatură,taste,taste comutator,taste fără repetiție,taste lente,navigare mouse,tastatura numerică +Keywords[ru]=access,accessibility,deaf,impaired,bell,audible bell,visible bell,Keyboard,keys,sticky keys,bounce keys,slow keys,mouse navigation,num pad,залипающие клавиши,специальные возможности,клавиши +Keywords[rw]=kugera,ukugerwaho,ikitumva,cyononekaye,inzogera,inzogera yumvikana,inzogera igaragara,mwandikisho,buto,buto zifashe,buto zidunda,iyega ry'imbeba,agacemibare +Keywords[se]=álkkibut,bealljeheapmi,doaimmahehttejuvvon,jietna,signála,oaidnus signála,boallobeavdi,boalut,giddes boalut,sáhpannavigašuvdna,numerálaš boallobeavdi +Keywords[sk]=prístup,prístupnosť,hluchý,postihnutý,zvonček,hlasný zvonček,viditeľný zvonček, klávesnica,klávesy,lepivé klávesy,odrážané klávesy,pomalé klávesy,navigácia myšou,číslice +Keywords[sl]=dostop,dostopnost,gluh,gluhota,prizadetost,zvonec,vidni zvonec,zvonček,tipkovnica,tipke,lepljive tipke,počasne tipke,navigacija miške,numerična tipkovnica,invalidnost,invalid +Keywords[sr]=приступ,приступачност,глув,хендикепиран,звоно,звучно звоно,визуелно звоно,тастатура,тастери,лепљиви тастери,спори тастери,померање миша,нумеричка тастатура +Keywords[sr@Latn]=pristup,pristupačnost,gluv,hendikepiran,zvono,zvučno zvono,vizuelno zvono,tastatura,tasteri,lepljivi tasteri,spori tasteri,pomeranje miša,numerička tastatura +Keywords[sv]=tillgång,tillgänglighet,döv,handikappad,signal,ljudsignal,visuell signal,Tangentbord,tangenter,klistriga tangenter,studsande tangenter,långsamma tangenter,musnavigering,numeriskt tangentbord +Keywords[ta]=அணுகல்,அணுகும் முறை,காது கேளாத,ஆற்றல் குறைந்த,மணியோசை,காதால் கேட்கும் அளவிற்கு மணியோசை,தெரியும் மணியோசை,விசைபலகை,விசைகள்,ஒட்டும் விசைகள்,மீளும் தன்மையுடைய விசைகள்,மெதுவான விசைகள்,சுட்டிநாவிகேஷன்,எண்ணிக்கை அட்டை +Keywords[th]=การเข้าถึง,ความง่ายในการใช้งาน,หูหนวก,บกพร่อง,ออด, ออดใช้ฟัง,ออดใช้ดู,แป้นพิมพ์,ปุ่ม,ปุ่มติดหนึบ,ปุ่มสะท้อน, ปุ่มชะลอ,นำทางโดยเมาส์,แผงปุ่มตัวเลข +Keywords[tr]=erişim,erişilebilirlik,sağır,özürlü,zil,duyulabilir zil,görünür zil,Klavye,tuşlar,yapışkan tuşlar,zıplayan tuşlar,yavaş tuşlar,fare yönlendirmesi,num pad +Keywords[uk]=доступ,доступність,глухий,каліка,дзвінок,аудіодзвінок,відеодзвінок,клавіатура,клавіші,липкі клавіші,пружні клавіші,повільні клавіші,навігація миші,цифрова клавіатура +Keywords[ven]=dzhena,dzheneaho,dzingandevhe,bele,bele i pfalaho,bele i vhonalaho,khiibodo,khii,khii i nambatelaho,khii i fhufhaho,khii i lengaho,lwendo lwa mausu,num pad +Keywords[vi]=truy cập,hỗ trợ người tàn tật,điếc,bị thương,chuông,chuông kêu,chuông rung,bàn phím,phím,phím dính,phím nảy,phím chậm,di chuyển chuột,bàn phím số +Keywords[wa]=accès,accessibilité,sourd,mesplotche,cloke,clotche,veyåve,taprece,tapes,aclapantès tapes,tapes di ridjiblaedje,londjinnès tapes,naiviaedje al sori,num pad,xhilete,etindåve xhilete,veyåve xhilete +Keywords[xh]=nikezela,unikezelo,ayiva,yonakalisiwe,intsimbi,intsimbi evakalayo, intsimbi ebonakalayo,ibhodi yezitshixo,izitshixo,isithixo esincangathi, izitshixo ezilungisiweyo,izitshixo ezinengxolo,izitshixo ezicothayo,indlela yokubeka i mouse endaweni,inkatha ye num +Keywords[zh_CN]=access,accessibility,deaf,impaired,bell,audible bell,visible bell,Keyboard,keys,sticky keys,bounce keys,slow keys,mouse navigation,num pad,辅助功能,聋,键盘,粘滞键,撞击键,筛选键,鼠标导航,可视铃声,小键盘 +Keywords[zh_TW]=access,accessibility,deaf,impaired,bell,audible bell,visible bell,Keyboard,keys,sticky keys,bounce keys,slow keys,mouse navigation,num pad,使用,聾,鈴聲,聽得見的鈴,看得見的鈴,鍵盤,按鍵,滑鼠導向,數字鍵 +Keywords[zu]=ngena,ukungena,okuthuli,kukhubazekile,insimbi,insimbiezwakalayo, insimbi ebonakalayo,okhiye,okhiye abanamathelayo,okhiyeababhampayo,okhiye abahamba kancane,ukuzula kwe-mouse,num pad + +Categories=Qt;KDE;X-KDE-settings-accessibility; diff --git a/kcontrol/accessibility/accessibility.h b/kcontrol/accessibility/accessibility.h new file mode 100644 index 000000000..ad94dcdcc --- /dev/null +++ b/kcontrol/accessibility/accessibility.h @@ -0,0 +1,71 @@ +/**************************************************************************** + accessibility.h + KDE Control Accessibility module to control Bell, Keyboard and ?Mouse? + ------------------- + Copyright : (c) 2000 Matthias H�lzer-Kl�pfel + ------------------- + Original Author: Matthias H�lzer-Kl�pfel + Contributors: Jos� Pablo Ezequiel "Pupeno" Fern�ndez <[email protected]> + Current Maintainer: Jos� Pablo Ezequiel "Pupeno" Fern�ndez <[email protected]> + ****************************************************************************/ + +/**************************************************************************** + * * + * This program is free software; you can redistribute it and/or modify * + * it under the terms of the GNU General Public License as published by * + * the Free Software Foundation; either version 2 of the License, or * + * (at your option) any later version. * + * * + ****************************************************************************/ + +#ifndef _ACCESSIBILITY_H_ +#define _ACCESSIBILITY_H_ + +#include <kdebug.h> + +#include "accessibilityconfigwidget.h" + +class AccessibilityConfig : public AccessibilityConfigWidget { + Q_OBJECT + + public: + /** + * Constructor + */ + AccessibilityConfig(QWidget *parent = 0L, const char *name = 0L, const QStringList &foo = QStringList()); + + /** + * Destructor + */ + virtual ~AccessibilityConfig(); + + /** + * This method is invoked whenever the module should read its + * configuration (most of the times from a config file) and update the + * user interface. This happens when the user clicks the "Reset" button in + * the control center, to undo all of his changes and restore the currently + * valid settings. NOTE that this is not called after the modules is loaded, + * so you probably want to call this method in the constructor. + */ + void load(); + void load( bool useDefaults ); + + /** + * This function gets called when the user wants to save the settings in + * the user interface, updating the config files or wherever the + * configuration is stored. The method is called when the user clicks "Apply" + * or "Ok". + */ + void save(); + + /** + * This function is called to set the settings in the module to sensible + * default values. It gets called when hitting the "Default" button. The + * default values should probably be the same as the ones the application + * uses when started without a config file. + */ + void defaults(); + +}; + +#endif // _ACCESSIBILITY_H_ diff --git a/kcontrol/accessibility/accessibilityconfigwidget.ui b/kcontrol/accessibility/accessibilityconfigwidget.ui new file mode 100644 index 000000000..5d0069a09 --- /dev/null +++ b/kcontrol/accessibility/accessibilityconfigwidget.ui @@ -0,0 +1,1630 @@ +<!DOCTYPE UI><UI version="3.1" stdsetdef="1"> +<class>AccessibilityConfigWidget</class> +<author>José Pablo Ezequiel Fernández <[email protected]></author> +<widget class="KCModule"> + <property name="name"> + <cstring>AccessibilityConfigWidget</cstring> + </property> + <property name="geometry"> + <rect> + <x>0</x> + <y>0</y> + <width>552</width> + <height>419</height> + </rect> + </property> + <property name="caption"> + <string>Accessibility</string> + </property> + <vbox> + <property name="name"> + <cstring>unnamed</cstring> + </property> + <property name="margin"> + <number>0</number> + </property> + <widget class="QTabWidget"> + <property name="name"> + <cstring>mainTab</cstring> + </property> + <widget class="QWidget"> + <property name="name"> + <cstring>tab</cstring> + </property> + <attribute name="title"> + <string>&Bell</string> + </attribute> + <vbox> + <property name="name"> + <cstring>unnamed</cstring> + </property> + <widget class="QGroupBox"> + <property name="name"> + <cstring>audibleBellGroup</cstring> + </property> + <property name="title"> + <string>&Audible Bell</string> + </property> + <property name="whatsThis" stdset="0"> + <string>This is the configuration of the Audible Bell.<br> +It could be the system bell and/or a custom bell.</string> + </property> + <vbox> + <property name="name"> + <cstring>unnamed</cstring> + </property> + <widget class="QCheckBox"> + <property name="name"> + <cstring>systemBell</cstring> + </property> + <property name="text"> + <string>Use &system bell</string> + </property> + <property name="whatsThis" stdset="0"> + <string>If this option is checked, the default system bell will be used. See the "System Bell" control module for how to customize the system bell.<br> +Normally, this is just a "beep".</string> + </property> + </widget> + <widget class="QCheckBox"> + <property name="name"> + <cstring>customBell</cstring> + </property> + <property name="text"> + <string>Use &customized bell</string> + </property> + <property name="whatsThis" stdset="0"> + <string>Check this option if you want to use a customized bell, playing a sound file. If you do this, you will probably want to turn off the system bell.<br> +Please note that on slow machines this may cause a "lag" between the event causing the bell and the sound being played.</string> + </property> + </widget> + <widget class="QLayoutWidget"> + <property name="name"> + <cstring>soundToPlayLayout</cstring> + </property> + <hbox> + <property name="name"> + <cstring>unnamed</cstring> + </property> + <spacer> + <property name="name"> + <cstring>soundToPlaySpacer</cstring> + </property> + <property name="orientation"> + <enum>Horizontal</enum> + </property> + <property name="sizeType"> + <enum>Fixed</enum> + </property> + <property name="sizeHint"> + <size> + <width>20</width> + <height>20</height> + </size> + </property> + </spacer> + <widget class="QLabel"> + <property name="name"> + <cstring>soundToPlayLabel</cstring> + </property> + <property name="enabled"> + <bool>false</bool> + </property> + <property name="text"> + <string>Sound &to play:</string> + </property> + <property name="buddy" stdset="0"> + <cstring>soundToPlay</cstring> + </property> + <property name="whatsThis" stdset="0"> + <string>If the option "Use customized bell" is enabled, you can choose a sound file here.</string> + </property> + </widget> + <widget class="KURLRequester"> + <property name="name"> + <cstring>soundToPlay</cstring> + </property> + <property name="enabled"> + <bool>false</bool> + </property> + </widget> + </hbox> + </widget> + </vbox> + </widget> + <widget class="QGroupBox"> + <property name="name"> + <cstring>visibleBellGroup</cstring> + </property> + <property name="title"> + <string>&Visible Bell</string> + </property> + <vbox> + <property name="name"> + <cstring>unnamed</cstring> + </property> + <widget class="QCheckBox"> + <property name="name"> + <cstring>visibleBell</cstring> + </property> + <property name="text"> + <string>&Use visible bell</string> + </property> + </widget> + <widget class="QLayoutWidget"> + <property name="name"> + <cstring>layout9</cstring> + </property> + <grid> + <property name="name"> + <cstring>unnamed</cstring> + </property> + <widget class="QLayoutWidget" row="1" column="1"> + <property name="name"> + <cstring>visibleBellDurationLayout</cstring> + </property> + <grid> + <property name="name"> + <cstring>unnamed</cstring> + </property> + <widget class="KIntSpinBox" row="1" column="0"> + <property name="name"> + <cstring>visibleBellDuration</cstring> + </property> + <property name="enabled"> + <bool>false</bool> + </property> + <property name="suffix"> + <string> msec</string> + </property> + <property name="maxValue"> + <number>2000</number> + </property> + <property name="minValue"> + <number>100</number> + </property> + <property name="lineStep"> + <number>100</number> + </property> + <property name="value"> + <number>500</number> + </property> + </widget> + <widget class="QSlider" row="1" column="1"> + <property name="name"> + <cstring>visibleBellDurationSlider</cstring> + </property> + <property name="enabled"> + <bool>false</bool> + </property> + <property name="minValue"> + <number>100</number> + </property> + <property name="maxValue"> + <number>2000</number> + </property> + <property name="lineStep"> + <number>100</number> + </property> + <property name="pageStep"> + <number>100</number> + </property> + <property name="value"> + <number>500</number> + </property> + <property name="orientation"> + <enum>Horizontal</enum> + </property> + <property name="tickmarks"> + <enum>Right</enum> + </property> + </widget> + <widget class="QLabel" row="0" column="0"> + <property name="name"> + <cstring>visibleBellDurationLabel</cstring> + </property> + <property name="enabled"> + <bool>false</bool> + </property> + <property name="text"> + <string>&Duration:</string> + </property> + <property name="buddy" stdset="0"> + <cstring>visibleBellDuration</cstring> + </property> + </widget> + </grid> + </widget> + <spacer row="0" column="0"> + <property name="name"> + <cstring>visibleBellOptionsSpacer</cstring> + </property> + <property name="orientation"> + <enum>Horizontal</enum> + </property> + <property name="sizeType"> + <enum>Fixed</enum> + </property> + <property name="sizeHint"> + <size> + <width>20</width> + <height>20</height> + </size> + </property> + </spacer> + <widget class="QButtonGroup" row="0" column="1"> + <property name="name"> + <cstring>inverFlashScreenButtonGroup</cstring> + </property> + <property name="frameShape"> + <enum>NoFrame</enum> + </property> + <property name="frameShadow"> + <enum>Plain</enum> + </property> + <property name="lineWidth"> + <number>0</number> + </property> + <property name="title"> + <string></string> + </property> + <property name="flat"> + <bool>true</bool> + </property> + <vbox> + <property name="name"> + <cstring>unnamed</cstring> + </property> + <property name="margin"> + <number>0</number> + </property> + <widget class="QRadioButton"> + <property name="name"> + <cstring>invertScreen</cstring> + </property> + <property name="enabled"> + <bool>false</bool> + </property> + <property name="text"> + <string>I&nvert screen</string> + </property> + <property name="checked"> + <bool>true</bool> + </property> + </widget> + <widget class="QLayoutWidget"> + <property name="name"> + <cstring>flashScreenLayout</cstring> + </property> + <hbox> + <property name="name"> + <cstring>unnamed</cstring> + </property> + <widget class="QRadioButton"> + <property name="name"> + <cstring>flashScreen</cstring> + </property> + <property name="enabled"> + <bool>false</bool> + </property> + <property name="text"> + <string>F&lash screen:</string> + </property> + </widget> + <widget class="KColorButton"> + <property name="name"> + <cstring>flashScreenColor</cstring> + </property> + <property name="enabled"> + <bool>false</bool> + </property> + <property name="text"> + <string></string> + </property> + <property name="color"> + <color> + <red>255</red> + <green>0</green> + <blue>0</blue> + </color> + </property> + </widget> + <spacer> + <property name="name"> + <cstring>flashScreenSpacer</cstring> + </property> + <property name="orientation"> + <enum>Horizontal</enum> + </property> + <property name="sizeType"> + <enum>Expanding</enum> + </property> + <property name="sizeHint"> + <size> + <width>0</width> + <height>15</height> + </size> + </property> + </spacer> + </hbox> + </widget> + </vbox> + </widget> + </grid> + </widget> + </vbox> + </widget> + <spacer> + <property name="name"> + <cstring>bellSpacer</cstring> + </property> + <property name="orientation"> + <enum>Vertical</enum> + </property> + <property name="sizeType"> + <enum>Expanding</enum> + </property> + <property name="sizeHint"> + <size> + <width>20</width> + <height>0</height> + </size> + </property> + </spacer> + </vbox> + </widget> + <widget class="QWidget"> + <property name="name"> + <cstring>tab</cstring> + </property> + <attribute name="title"> + <string>&Keyboard</string> + </attribute> + <vbox> + <property name="name"> + <cstring>unnamed</cstring> + </property> + <widget class="QGroupBox"> + <property name="name"> + <cstring>stickyKeysGroup</cstring> + </property> + <property name="title"> + <string>S&ticky Keys</string> + </property> + <vbox> + <property name="name"> + <cstring>unnamed</cstring> + </property> + <widget class="QCheckBox"> + <property name="name"> + <cstring>stickyKeys</cstring> + </property> + <property name="text"> + <string>Use &sticky keys</string> + </property> + </widget> + <widget class="QLayoutWidget"> + <property name="name"> + <cstring>lockWithStickyKeysLayout</cstring> + </property> + <hbox> + <property name="name"> + <cstring>unnamed</cstring> + </property> + <spacer> + <property name="name"> + <cstring>lockWithStickyKeysSpacer</cstring> + </property> + <property name="orientation"> + <enum>Horizontal</enum> + </property> + <property name="sizeType"> + <enum>Fixed</enum> + </property> + <property name="sizeHint"> + <size> + <width>20</width> + <height>20</height> + </size> + </property> + </spacer> + <widget class="QCheckBox"> + <property name="name"> + <cstring>lockWithStickyKeys</cstring> + </property> + <property name="enabled"> + <bool>false</bool> + </property> + <property name="text"> + <string>&Lock with sticky keys</string> + </property> + <property name="checked"> + <bool>true</bool> + </property> + </widget> + </hbox> + </widget> + </vbox> + </widget> + <widget class="QGroupBox"> + <property name="name"> + <cstring>slowKeysGroup</cstring> + </property> + <property name="title"> + <string>Slo&w Keys</string> + </property> + <vbox> + <property name="name"> + <cstring>unnamed</cstring> + </property> + <widget class="QCheckBox"> + <property name="name"> + <cstring>slowKeys</cstring> + </property> + <property name="text"> + <string>&Use slow keys</string> + </property> + </widget> + <widget class="QLayoutWidget"> + <property name="name"> + <cstring>slowKeysDelayLayout</cstring> + </property> + <grid> + <property name="name"> + <cstring>unnamed</cstring> + </property> + <widget class="KIntSpinBox" row="1" column="1"> + <property name="name"> + <cstring>slowKeysDelay</cstring> + </property> + <property name="enabled"> + <bool>false</bool> + </property> + <property name="suffix"> + <string> msec</string> + </property> + <property name="maxValue"> + <number>2000</number> + </property> + <property name="minValue"> + <number>100</number> + </property> + <property name="lineStep"> + <number>100</number> + </property> + <property name="value"> + <number>500</number> + </property> + </widget> + <widget class="QSlider" row="1" column="2"> + <property name="name"> + <cstring>slowKeysDelaySlider</cstring> + </property> + <property name="enabled"> + <bool>false</bool> + </property> + <property name="minValue"> + <number>100</number> + </property> + <property name="maxValue"> + <number>2000</number> + </property> + <property name="lineStep"> + <number>100</number> + </property> + <property name="pageStep"> + <number>100</number> + </property> + <property name="value"> + <number>500</number> + </property> + <property name="orientation"> + <enum>Horizontal</enum> + </property> + <property name="tickmarks"> + <enum>Right</enum> + </property> + </widget> + <spacer row="0" column="0"> + <property name="name"> + <cstring>slowKeysSpacer</cstring> + </property> + <property name="orientation"> + <enum>Horizontal</enum> + </property> + <property name="sizeType"> + <enum>Fixed</enum> + </property> + <property name="sizeHint"> + <size> + <width>20</width> + <height>20</height> + </size> + </property> + </spacer> + <widget class="QLabel" row="0" column="1"> + <property name="name"> + <cstring>slowKeysDelayLabel</cstring> + </property> + <property name="enabled"> + <bool>false</bool> + </property> + <property name="text"> + <string>&Duration:</string> + </property> + <property name="buddy" stdset="0"> + <cstring>slowKeysDelay</cstring> + </property> + </widget> + </grid> + </widget> + </vbox> + </widget> + <widget class="QGroupBox"> + <property name="name"> + <cstring>bounceKeysGroup</cstring> + </property> + <property name="title"> + <string>&Bounce Keys</string> + </property> + <vbox> + <property name="name"> + <cstring>unnamed</cstring> + </property> + <widget class="QCheckBox"> + <property name="name"> + <cstring>bounceKeys</cstring> + </property> + <property name="text"> + <string>Use bou&nce keys</string> + </property> + </widget> + <widget class="QLayoutWidget"> + <property name="name"> + <cstring>bounceKeysDelayLayout</cstring> + </property> + <grid> + <property name="name"> + <cstring>unnamed</cstring> + </property> + <widget class="QSlider" row="1" column="2"> + <property name="name"> + <cstring>bounceKeysDelaySlider</cstring> + </property> + <property name="enabled"> + <bool>false</bool> + </property> + <property name="minValue"> + <number>100</number> + </property> + <property name="maxValue"> + <number>2000</number> + </property> + <property name="lineStep"> + <number>100</number> + </property> + <property name="pageStep"> + <number>100</number> + </property> + <property name="value"> + <number>500</number> + </property> + <property name="orientation"> + <enum>Horizontal</enum> + </property> + <property name="tickmarks"> + <enum>Right</enum> + </property> + </widget> + <spacer row="0" column="0"> + <property name="name"> + <cstring>bounceKeysDelaySpacer</cstring> + </property> + <property name="orientation"> + <enum>Horizontal</enum> + </property> + <property name="sizeType"> + <enum>Fixed</enum> + </property> + <property name="sizeHint"> + <size> + <width>20</width> + <height>20</height> + </size> + </property> + </spacer> + <widget class="KIntSpinBox" row="1" column="1"> + <property name="name"> + <cstring>bounceKeysDelay</cstring> + </property> + <property name="enabled"> + <bool>false</bool> + </property> + <property name="suffix"> + <string> msec</string> + </property> + <property name="maxValue"> + <number>2000</number> + </property> + <property name="minValue"> + <number>100</number> + </property> + <property name="lineStep"> + <number>100</number> + </property> + <property name="value"> + <number>500</number> + </property> + </widget> + <widget class="QLabel" row="0" column="1"> + <property name="name"> + <cstring>bounceKeysDelayLabel</cstring> + </property> + <property name="enabled"> + <bool>false</bool> + </property> + <property name="text"> + <string>Du&ration:</string> + </property> + <property name="buddy" stdset="0"> + <cstring>bounceKeysDelay</cstring> + </property> + </widget> + </grid> + </widget> + </vbox> + </widget> + <spacer> + <property name="name"> + <cstring>keyboardSpacer</cstring> + </property> + <property name="orientation"> + <enum>Vertical</enum> + </property> + <property name="sizeType"> + <enum>Expanding</enum> + </property> + <property name="sizeHint"> + <size> + <width>21</width> + <height>61</height> + </size> + </property> + </spacer> + </vbox> + </widget> + <widget class="QWidget"> + <property name="name"> + <cstring>tab</cstring> + </property> + <attribute name="title"> + <string>&Mouse</string> + </attribute> + <vbox> + <property name="name"> + <cstring>unnamed</cstring> + </property> + <widget class="QGroupBox"> + <property name="name"> + <cstring>mouseNavigationGroup</cstring> + </property> + <property name="title"> + <string>&Navigation</string> + </property> + <vbox> + <property name="name"> + <cstring>unnamed</cstring> + </property> + <widget class="QCheckBox"> + <property name="name"> + <cstring>moveWithKeyboard</cstring> + </property> + <property name="text"> + <string>Mo&ve mouse with keyboard</string> + </property> + </widget> + <widget class="QLayoutWidget"> + <property name="name"> + <cstring>moveWithKeyboardLayout</cstring> + </property> + <grid> + <property name="name"> + <cstring>unnamed</cstring> + </property> + <widget class="KIntSpinBox" row="2" column="2"> + <property name="name"> + <cstring>accelerationTime</cstring> + </property> + <property name="enabled"> + <bool>false</bool> + </property> + <property name="maxValue"> + <number>5000</number> + </property> + <property name="minValue"> + <number>1</number> + </property> + <property name="lineStep"> + <number>250</number> + </property> + <property name="value"> + <number>1000</number> + </property> + </widget> + <widget class="QSlider" row="2" column="3"> + <property name="name"> + <cstring>accelerationTimeSlider</cstring> + </property> + <property name="enabled"> + <bool>false</bool> + </property> + <property name="minValue"> + <number>1</number> + </property> + <property name="maxValue"> + <number>5000</number> + </property> + <property name="lineStep"> + <number>250</number> + </property> + <property name="pageStep"> + <number>2500</number> + </property> + <property name="value"> + <number>1000</number> + </property> + <property name="orientation"> + <enum>Horizontal</enum> + </property> + <property name="tickmarks"> + <enum>Right</enum> + </property> + </widget> + <widget class="QLabel" row="3" column="1"> + <property name="name"> + <cstring>maximumSpeedLabel</cstring> + </property> + <property name="enabled"> + <bool>false</bool> + </property> + <property name="text"> + <string>Ma&ximum speed:</string> + </property> + <property name="alignment"> + <set>AlignVCenter|AlignRight</set> + </property> + <property name="buddy" stdset="0"> + <cstring>maximumSpeed</cstring> + </property> + </widget> + <widget class="QLabel" row="2" column="1"> + <property name="name"> + <cstring>accelerationTimeLabel</cstring> + </property> + <property name="enabled"> + <bool>false</bool> + </property> + <property name="text"> + <string>Acceleration &time:</string> + </property> + <property name="alignment"> + <set>AlignVCenter|AlignRight</set> + </property> + <property name="buddy" stdset="0"> + <cstring>accelerationTime</cstring> + </property> + </widget> + <widget class="QSlider" row="0" column="3"> + <property name="name"> + <cstring>accelerationDelaySlider</cstring> + </property> + <property name="enabled"> + <bool>false</bool> + </property> + <property name="minValue"> + <number>1</number> + </property> + <property name="maxValue"> + <number>1000</number> + </property> + <property name="lineStep"> + <number>50</number> + </property> + <property name="pageStep"> + <number>500</number> + </property> + <property name="value"> + <number>160</number> + </property> + <property name="orientation"> + <enum>Horizontal</enum> + </property> + <property name="tickmarks"> + <enum>Right</enum> + </property> + </widget> + <widget class="KIntSpinBox" row="3" column="2"> + <property name="name"> + <cstring>maximumSpeed</cstring> + </property> + <property name="enabled"> + <bool>false</bool> + </property> + <property name="maxValue"> + <number>1000</number> + </property> + <property name="minValue"> + <number>1</number> + </property> + <property name="lineStep"> + <number>10</number> + </property> + <property name="value"> + <number>500</number> + </property> + </widget> + <widget class="KIntSpinBox" row="1" column="2"> + <property name="name"> + <cstring>repeatInterval</cstring> + </property> + <property name="enabled"> + <bool>false</bool> + </property> + <property name="suffix"> + <string> msec</string> + </property> + <property name="maxValue"> + <number>1000</number> + </property> + <property name="minValue"> + <number>1</number> + </property> + <property name="lineStep"> + <number>10</number> + </property> + <property name="value"> + <number>5</number> + </property> + </widget> + <spacer row="0" column="0"> + <property name="name"> + <cstring>moveWithKeyboardSpacer</cstring> + </property> + <property name="orientation"> + <enum>Horizontal</enum> + </property> + <property name="sizeType"> + <enum>Fixed</enum> + </property> + <property name="sizeHint"> + <size> + <width>20</width> + <height>20</height> + </size> + </property> + </spacer> + <widget class="QSlider" row="3" column="3"> + <property name="name"> + <cstring>maximumSpeedSlider</cstring> + </property> + <property name="enabled"> + <bool>false</bool> + </property> + <property name="minValue"> + <number>1</number> + </property> + <property name="maxValue"> + <number>1000</number> + </property> + <property name="lineStep"> + <number>10</number> + </property> + <property name="pageStep"> + <number>100</number> + </property> + <property name="value"> + <number>500</number> + </property> + <property name="orientation"> + <enum>Horizontal</enum> + </property> + <property name="tickmarks"> + <enum>Right</enum> + </property> + <property name="tickInterval"> + <number>50</number> + </property> + </widget> + <widget class="QLabel" row="1" column="1"> + <property name="name"> + <cstring>repeatIntervalLabel</cstring> + </property> + <property name="enabled"> + <bool>false</bool> + </property> + <property name="text"> + <string>&Repeat interval:</string> + </property> + <property name="alignment"> + <set>AlignVCenter|AlignRight</set> + </property> + <property name="buddy" stdset="0"> + <cstring>repeatInterval</cstring> + </property> + </widget> + <widget class="KIntSpinBox" row="0" column="2"> + <property name="name"> + <cstring>accelerationDelay</cstring> + </property> + <property name="enabled"> + <bool>false</bool> + </property> + <property name="sizePolicy"> + <sizepolicy> + <hsizetype>1</hsizetype> + <vsizetype>0</vsizetype> + <horstretch>0</horstretch> + <verstretch>0</verstretch> + </sizepolicy> + </property> + <property name="suffix"> + <string> msec</string> + </property> + <property name="maxValue"> + <number>1000</number> + </property> + <property name="minValue"> + <number>1</number> + </property> + <property name="lineStep"> + <number>50</number> + </property> + <property name="value"> + <number>160</number> + </property> + </widget> + <widget class="QLabel" row="4" column="1"> + <property name="name"> + <cstring>accelerationProfileLabel</cstring> + </property> + <property name="enabled"> + <bool>false</bool> + </property> + <property name="text"> + <string>Acceleration &profile:</string> + </property> + <property name="alignment"> + <set>AlignVCenter|AlignRight</set> + </property> + <property name="buddy" stdset="0"> + <cstring>accelerationProfile</cstring> + </property> + </widget> + <widget class="KIntSpinBox" row="4" column="2"> + <property name="name"> + <cstring>accelerationProfile</cstring> + </property> + <property name="enabled"> + <bool>false</bool> + </property> + <property name="maxValue"> + <number>1000</number> + </property> + <property name="minValue"> + <number>-1000</number> + </property> + <property name="lineStep"> + <number>100</number> + </property> + </widget> + <widget class="QSlider" row="4" column="3"> + <property name="name"> + <cstring>accelerationProfileSlider</cstring> + </property> + <property name="enabled"> + <bool>false</bool> + </property> + <property name="minValue"> + <number>-1000</number> + </property> + <property name="maxValue"> + <number>1000</number> + </property> + <property name="lineStep"> + <number>100</number> + </property> + <property name="pageStep"> + <number>1000</number> + </property> + <property name="orientation"> + <enum>Horizontal</enum> + </property> + <property name="tickmarks"> + <enum>Right</enum> + </property> + <property name="tickInterval"> + <number>100</number> + </property> + </widget> + <widget class="QSlider" row="1" column="3"> + <property name="name"> + <cstring>repeatInternalSlider</cstring> + </property> + <property name="enabled"> + <bool>false</bool> + </property> + <property name="minValue"> + <number>1</number> + </property> + <property name="maxValue"> + <number>1000</number> + </property> + <property name="lineStep"> + <number>10</number> + </property> + <property name="pageStep"> + <number>100</number> + </property> + <property name="value"> + <number>5</number> + </property> + <property name="orientation"> + <enum>Horizontal</enum> + </property> + <property name="tickmarks"> + <enum>Right</enum> + </property> + <property name="tickInterval"> + <number>50</number> + </property> + </widget> + <widget class="QLabel" row="0" column="1"> + <property name="name"> + <cstring>accelerationDelayLabel</cstring> + </property> + <property name="enabled"> + <bool>false</bool> + </property> + <property name="text"> + <string>&Acceleration delay:</string> + </property> + <property name="alignment"> + <set>AlignVCenter|AlignRight</set> + </property> + <property name="buddy" stdset="0"> + <cstring>accelerationDelay</cstring> + </property> + </widget> + </grid> + </widget> + </vbox> + </widget> + <spacer> + <property name="name"> + <cstring>mouseSpacer</cstring> + </property> + <property name="orientation"> + <enum>Vertical</enum> + </property> + <property name="sizeType"> + <enum>Expanding</enum> + </property> + <property name="sizeHint"> + <size> + <width>20</width> + <height>1</height> + </size> + </property> + </spacer> + </vbox> + </widget> + </widget> + </vbox> +</widget> +<connections> + <connection> + <sender>customBell</sender> + <signal>toggled(bool)</signal> + <receiver>soundToPlay</receiver> + <slot>setEnabled(bool)</slot> + </connection> + <connection> + <sender>customBell</sender> + <signal>toggled(bool)</signal> + <receiver>soundToPlayLabel</receiver> + <slot>setEnabled(bool)</slot> + </connection> + <connection> + <sender>visibleBellDuration</sender> + <signal>valueChanged(int)</signal> + <receiver>visibleBellDurationSlider</receiver> + <slot>setValue(int)</slot> + </connection> + <connection> + <sender>visibleBellDurationSlider</sender> + <signal>valueChanged(int)</signal> + <receiver>visibleBellDuration</receiver> + <slot>setValue(int)</slot> + </connection> + <connection> + <sender>slowKeysDelay</sender> + <signal>valueChanged(int)</signal> + <receiver>slowKeysDelaySlider</receiver> + <slot>setValue(int)</slot> + </connection> + <connection> + <sender>slowKeysDelaySlider</sender> + <signal>valueChanged(int)</signal> + <receiver>slowKeysDelay</receiver> + <slot>setValue(int)</slot> + </connection> + <connection> + <sender>bounceKeysDelay</sender> + <signal>valueChanged(int)</signal> + <receiver>bounceKeysDelaySlider</receiver> + <slot>setValue(int)</slot> + </connection> + <connection> + <sender>bounceKeysDelaySlider</sender> + <signal>valueChanged(int)</signal> + <receiver>bounceKeysDelay</receiver> + <slot>setValue(int)</slot> + </connection> + <connection> + <sender>visibleBell</sender> + <signal>toggled(bool)</signal> + <receiver>invertScreen</receiver> + <slot>setEnabled(bool)</slot> + </connection> + <connection> + <sender>visibleBell</sender> + <signal>toggled(bool)</signal> + <receiver>flashScreen</receiver> + <slot>setEnabled(bool)</slot> + </connection> + <connection> + <sender>visibleBell</sender> + <signal>toggled(bool)</signal> + <receiver>AccessibilityConfigWidget</receiver> + <slot>updateFlashScreenColor()</slot> + </connection> + <connection> + <sender>visibleBell</sender> + <signal>toggled(bool)</signal> + <receiver>visibleBellDuration</receiver> + <slot>setEnabled(bool)</slot> + </connection> + <connection> + <sender>visibleBell</sender> + <signal>toggled(bool)</signal> + <receiver>visibleBellDurationLabel</receiver> + <slot>setEnabled(bool)</slot> + </connection> + <connection> + <sender>visibleBell</sender> + <signal>toggled(bool)</signal> + <receiver>visibleBellDurationSlider</receiver> + <slot>setEnabled(bool)</slot> + </connection> + <connection> + <sender>flashScreen</sender> + <signal>toggled(bool)</signal> + <receiver>flashScreenColor</receiver> + <slot>setEnabled(bool)</slot> + </connection> + <connection> + <sender>stickyKeys</sender> + <signal>toggled(bool)</signal> + <receiver>lockWithStickyKeys</receiver> + <slot>setEnabled(bool)</slot> + </connection> + <connection> + <sender>slowKeys</sender> + <signal>toggled(bool)</signal> + <receiver>slowKeysDelayLabel</receiver> + <slot>setEnabled(bool)</slot> + </connection> + <connection> + <sender>slowKeys</sender> + <signal>toggled(bool)</signal> + <receiver>slowKeysDelay</receiver> + <slot>setEnabled(bool)</slot> + </connection> + <connection> + <sender>slowKeys</sender> + <signal>toggled(bool)</signal> + <receiver>slowKeysDelaySlider</receiver> + <slot>setEnabled(bool)</slot> + </connection> + <connection> + <sender>bounceKeys</sender> + <signal>toggled(bool)</signal> + <receiver>bounceKeysDelayLabel</receiver> + <slot>setEnabled(bool)</slot> + </connection> + <connection> + <sender>bounceKeys</sender> + <signal>toggled(bool)</signal> + <receiver>bounceKeysDelay</receiver> + <slot>setEnabled(bool)</slot> + </connection> + <connection> + <sender>bounceKeys</sender> + <signal>toggled(bool)</signal> + <receiver>bounceKeysDelaySlider</receiver> + <slot>setEnabled(bool)</slot> + </connection> + <connection> + <sender>accelerationDelay</sender> + <signal>valueChanged(int)</signal> + <receiver>accelerationDelaySlider</receiver> + <slot>setValue(int)</slot> + </connection> + <connection> + <sender>accelerationDelaySlider</sender> + <signal>valueChanged(int)</signal> + <receiver>accelerationDelay</receiver> + <slot>setValue(int)</slot> + </connection> + <connection> + <sender>repeatInterval</sender> + <signal>valueChanged(int)</signal> + <receiver>repeatInternalSlider</receiver> + <slot>setValue(int)</slot> + </connection> + <connection> + <sender>repeatInternalSlider</sender> + <signal>valueChanged(int)</signal> + <receiver>repeatInterval</receiver> + <slot>setValue(int)</slot> + </connection> + <connection> + <sender>accelerationTime</sender> + <signal>valueChanged(int)</signal> + <receiver>accelerationTimeSlider</receiver> + <slot>setValue(int)</slot> + </connection> + <connection> + <sender>accelerationTimeSlider</sender> + <signal>valueChanged(int)</signal> + <receiver>accelerationTime</receiver> + <slot>setValue(int)</slot> + </connection> + <connection> + <sender>maximumSpeed</sender> + <signal>valueChanged(int)</signal> + <receiver>maximumSpeedSlider</receiver> + <slot>setValue(int)</slot> + </connection> + <connection> + <sender>maximumSpeedSlider</sender> + <signal>valueChanged(int)</signal> + <receiver>maximumSpeed</receiver> + <slot>setValue(int)</slot> + </connection> + <connection> + <sender>accelerationProfile</sender> + <signal>valueChanged(int)</signal> + <receiver>accelerationProfileSlider</receiver> + <slot>setValue(int)</slot> + </connection> + <connection> + <sender>accelerationProfileSlider</sender> + <signal>valueChanged(int)</signal> + <receiver>accelerationProfile</receiver> + <slot>setValue(int)</slot> + </connection> + <connection> + <sender>moveWithKeyboard</sender> + <signal>toggled(bool)</signal> + <receiver>accelerationDelayLabel</receiver> + <slot>setEnabled(bool)</slot> + </connection> + <connection> + <sender>moveWithKeyboard</sender> + <signal>toggled(bool)</signal> + <receiver>accelerationDelay</receiver> + <slot>setEnabled(bool)</slot> + </connection> + <connection> + <sender>moveWithKeyboard</sender> + <signal>toggled(bool)</signal> + <receiver>accelerationDelaySlider</receiver> + <slot>setEnabled(bool)</slot> + </connection> + <connection> + <sender>moveWithKeyboard</sender> + <signal>toggled(bool)</signal> + <receiver>repeatIntervalLabel</receiver> + <slot>setEnabled(bool)</slot> + </connection> + <connection> + <sender>moveWithKeyboard</sender> + <signal>toggled(bool)</signal> + <receiver>repeatInterval</receiver> + <slot>setEnabled(bool)</slot> + </connection> + <connection> + <sender>moveWithKeyboard</sender> + <signal>toggled(bool)</signal> + <receiver>repeatInternalSlider</receiver> + <slot>setEnabled(bool)</slot> + </connection> + <connection> + <sender>moveWithKeyboard</sender> + <signal>toggled(bool)</signal> + <receiver>accelerationTimeLabel</receiver> + <slot>setEnabled(bool)</slot> + </connection> + <connection> + <sender>moveWithKeyboard</sender> + <signal>toggled(bool)</signal> + <receiver>accelerationTime</receiver> + <slot>setEnabled(bool)</slot> + </connection> + <connection> + <sender>moveWithKeyboard</sender> + <signal>toggled(bool)</signal> + <receiver>accelerationTimeSlider</receiver> + <slot>setEnabled(bool)</slot> + </connection> + <connection> + <sender>moveWithKeyboard</sender> + <signal>toggled(bool)</signal> + <receiver>maximumSpeedLabel</receiver> + <slot>setEnabled(bool)</slot> + </connection> + <connection> + <sender>moveWithKeyboard</sender> + <signal>toggled(bool)</signal> + <receiver>maximumSpeed</receiver> + <slot>setEnabled(bool)</slot> + </connection> + <connection> + <sender>moveWithKeyboard</sender> + <signal>toggled(bool)</signal> + <receiver>maximumSpeedSlider</receiver> + <slot>setEnabled(bool)</slot> + </connection> + <connection> + <sender>moveWithKeyboard</sender> + <signal>toggled(bool)</signal> + <receiver>accelerationProfileLabel</receiver> + <slot>setEnabled(bool)</slot> + </connection> + <connection> + <sender>moveWithKeyboard</sender> + <signal>toggled(bool)</signal> + <receiver>accelerationProfile</receiver> + <slot>setEnabled(bool)</slot> + </connection> + <connection> + <sender>moveWithKeyboard</sender> + <signal>toggled(bool)</signal> + <receiver>accelerationProfileSlider</receiver> + <slot>setEnabled(bool)</slot> + </connection> + <connection> + <sender>systemBell</sender> + <signal>toggled(bool)</signal> + <receiver>AccessibilityConfigWidget</receiver> + <slot>changed(bool)</slot> + </connection> + <connection> + <sender>customBell</sender> + <signal>toggled(bool)</signal> + <receiver>AccessibilityConfigWidget</receiver> + <slot>changed(bool)</slot> + </connection> + <connection> + <sender>soundToPlay</sender> + <signal>textChanged(const QString&)</signal> + <receiver>AccessibilityConfigWidget</receiver> + <slot>changed(bool)</slot> + </connection> + <connection> + <sender>visibleBell</sender> + <signal>toggled(bool)</signal> + <receiver>AccessibilityConfigWidget</receiver> + <slot>changed(bool)</slot> + </connection> + <connection> + <sender>invertScreen</sender> + <signal>toggled(bool)</signal> + <receiver>AccessibilityConfigWidget</receiver> + <slot>changed(bool)</slot> + </connection> + <connection> + <sender>flashScreen</sender> + <signal>toggled(bool)</signal> + <receiver>AccessibilityConfigWidget</receiver> + <slot>changed(bool)</slot> + </connection> + <connection> + <sender>flashScreenColor</sender> + <signal>changed(const QColor&)</signal> + <receiver>AccessibilityConfigWidget</receiver> + <slot>changed(bool)</slot> + </connection> + <connection> + <sender>visibleBellDuration</sender> + <signal>valueChanged(int)</signal> + <receiver>AccessibilityConfigWidget</receiver> + <slot>changed(bool)</slot> + </connection> + <connection> + <sender>visibleBellDurationSlider</sender> + <signal>valueChanged(int)</signal> + <receiver>AccessibilityConfigWidget</receiver> + <slot>changed(bool)</slot> + </connection> + <connection> + <sender>stickyKeys</sender> + <signal>toggled(bool)</signal> + <receiver>AccessibilityConfigWidget</receiver> + <slot>changed(bool)</slot> + </connection> + <connection> + <sender>lockWithStickyKeys</sender> + <signal>toggled(bool)</signal> + <receiver>AccessibilityConfigWidget</receiver> + <slot>changed(bool)</slot> + </connection> + <connection> + <sender>slowKeys</sender> + <signal>toggled(bool)</signal> + <receiver>AccessibilityConfigWidget</receiver> + <slot>changed(bool)</slot> + </connection> + <connection> + <sender>slowKeysDelay</sender> + <signal>valueChanged(int)</signal> + <receiver>AccessibilityConfigWidget</receiver> + <slot>changed(bool)</slot> + </connection> + <connection> + <sender>slowKeysDelaySlider</sender> + <signal>valueChanged(int)</signal> + <receiver>AccessibilityConfigWidget</receiver> + <slot>changed(bool)</slot> + </connection> + <connection> + <sender>bounceKeys</sender> + <signal>toggled(bool)</signal> + <receiver>AccessibilityConfigWidget</receiver> + <slot>changed(bool)</slot> + </connection> + <connection> + <sender>bounceKeysDelay</sender> + <signal>valueChanged(int)</signal> + <receiver>AccessibilityConfigWidget</receiver> + <slot>changed(bool)</slot> + </connection> + <connection> + <sender>bounceKeysDelaySlider</sender> + <signal>valueChanged(int)</signal> + <receiver>AccessibilityConfigWidget</receiver> + <slot>changed(bool)</slot> + </connection> + <connection> + <sender>moveWithKeyboard</sender> + <signal>toggled(bool)</signal> + <receiver>AccessibilityConfigWidget</receiver> + <slot>changed(bool)</slot> + </connection> + <connection> + <sender>accelerationDelay</sender> + <signal>valueChanged(int)</signal> + <receiver>AccessibilityConfigWidget</receiver> + <slot>changed(bool)</slot> + </connection> + <connection> + <sender>accelerationDelaySlider</sender> + <signal>valueChanged(int)</signal> + <receiver>AccessibilityConfigWidget</receiver> + <slot>changed(bool)</slot> + </connection> + <connection> + <sender>repeatInterval</sender> + <signal>valueChanged(int)</signal> + <receiver>AccessibilityConfigWidget</receiver> + <slot>changed(bool)</slot> + </connection> + <connection> + <sender>repeatInternalSlider</sender> + <signal>valueChanged(int)</signal> + <receiver>AccessibilityConfigWidget</receiver> + <slot>changed(bool)</slot> + </connection> + <connection> + <sender>accelerationTime</sender> + <signal>valueChanged(int)</signal> + <receiver>AccessibilityConfigWidget</receiver> + <slot>changed(bool)</slot> + </connection> + <connection> + <sender>accelerationTimeSlider</sender> + <signal>valueChanged(int)</signal> + <receiver>AccessibilityConfigWidget</receiver> + <slot>changed(bool)</slot> + </connection> + <connection> + <sender>maximumSpeed</sender> + <signal>valueChanged(int)</signal> + <receiver>AccessibilityConfigWidget</receiver> + <slot>changed(bool)</slot> + </connection> + <connection> + <sender>maximumSpeedSlider</sender> + <signal>valueChanged(int)</signal> + <receiver>AccessibilityConfigWidget</receiver> + <slot>changed(bool)</slot> + </connection> + <connection> + <sender>accelerationProfile</sender> + <signal>valueChanged(int)</signal> + <receiver>AccessibilityConfigWidget</receiver> + <slot>changed(bool)</slot> + </connection> + <connection> + <sender>accelerationProfileSlider</sender> + <signal>valueChanged(int)</signal> + <receiver>AccessibilityConfigWidget</receiver> + <slot>changed(bool)</slot> + </connection> +</connections> +<tabstops> + <tabstop>mainTab</tabstop> + <tabstop>systemBell</tabstop> + <tabstop>customBell</tabstop> + <tabstop>soundToPlay</tabstop> + <tabstop>visibleBell</tabstop> + <tabstop>invertScreen</tabstop> + <tabstop>flashScreen</tabstop> + <tabstop>flashScreenColor</tabstop> + <tabstop>visibleBellDuration</tabstop> + <tabstop>visibleBellDurationSlider</tabstop> + <tabstop>stickyKeys</tabstop> + <tabstop>lockWithStickyKeys</tabstop> + <tabstop>slowKeys</tabstop> + <tabstop>slowKeysDelay</tabstop> + <tabstop>slowKeysDelaySlider</tabstop> + <tabstop>bounceKeys</tabstop> + <tabstop>bounceKeysDelay</tabstop> + <tabstop>bounceKeysDelaySlider</tabstop> + <tabstop>moveWithKeyboard</tabstop> + <tabstop>accelerationDelay</tabstop> + <tabstop>accelerationDelaySlider</tabstop> + <tabstop>repeatInterval</tabstop> + <tabstop>repeatInternalSlider</tabstop> + <tabstop>accelerationTime</tabstop> + <tabstop>accelerationTimeSlider</tabstop> + <tabstop>maximumSpeed</tabstop> + <tabstop>maximumSpeedSlider</tabstop> + <tabstop>accelerationProfile</tabstop> + <tabstop>accelerationProfileSlider</tabstop> +</tabstops> +<includes> + <include location="local" impldecl="in implementation">accessibilityconfigwidget.ui.h</include> + <include location="local" impldecl="in implementation">kdialog.h</include> +</includes> +<slots> + <slot access="private" specifier="non virtual">updateFlashScreenColor()</slot> +</slots> +<layoutdefaults spacing="3" margin="6"/> +<layoutfunctions spacing="KDialog::spacingHint" margin="KDialog::marginHint"/> +<includehints> + <includehint>kcmodule.h</includehint> + <includehint>kurlrequester.h</includehint> + <includehint>klineedit.h</includehint> + <includehint>kpushbutton.h</includehint> + <includehint>knuminput.h</includehint> + <includehint>kcolorbutton.h</includehint> + <includehint>knuminput.h</includehint> + <includehint>knuminput.h</includehint> + <includehint>knuminput.h</includehint> + <includehint>knuminput.h</includehint> + <includehint>knuminput.h</includehint> + <includehint>knuminput.h</includehint> + <includehint>knuminput.h</includehint> +</includehints> +</UI> diff --git a/kcontrol/accessibility/accessibilityconfigwidget.ui.h b/kcontrol/accessibility/accessibilityconfigwidget.ui.h new file mode 100644 index 000000000..38d44a502 --- /dev/null +++ b/kcontrol/accessibility/accessibilityconfigwidget.ui.h @@ -0,0 +1,22 @@ +/**************************************************************************** +** ui.h extension file, included from the uic-generated form implementation. +** +** If you wish to add, delete or rename functions or slots use +** Qt Designer which will update this file, preserving your code. Create an +** init() function in place of a constructor, and a destroy() function in +** place of a destructor. +*****************************************************************************/ + +void AccessibilityConfigWidget::updateFlashScreenColor(){ + flashScreenColor->setEnabled(flashScreen->isChecked()); +} + + +void AccessibilityConfigWidget::configChanged() +{ + +} + + + + diff --git a/kcontrol/accessibility/configure.in.in b/kcontrol/accessibility/configure.in.in new file mode 100644 index 000000000..c3f539bd5 --- /dev/null +++ b/kcontrol/accessibility/configure.in.in @@ -0,0 +1,3 @@ +ACCESSIBILITY_SUBDIR= +KDE_CHECK_HEADER(X11/extensions/XKBstr.h, ACCESSIBILITY_SUBDIR=accessibility) +AM_CONDITIONAL(include_kcontrol_accessibility, test -n "$ACCESSIBILITY_SUBDIR") diff --git a/kcontrol/accessibility/kcm_accessibility.kcfg b/kcontrol/accessibility/kcm_accessibility.kcfg new file mode 100644 index 000000000..ad9d0d450 --- /dev/null +++ b/kcontrol/accessibility/kcm_accessibility.kcfg @@ -0,0 +1,67 @@ +<?xml version="1.0" encoding="UTF-8"?> +<kcfg xmlns="http://www.kde.org/standards/kcfg/1.0" + xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" + xsi:schemaLocation="http://www.kde.org/standards/kcfg/1.0 + http://www.kde.org/standards/kcfg/1.0/kcfg.xsd" > + <kcfgfile name="bellrc"/> + <group name="General"> + <entry name="SystemBell" type="Bool"> + <label>If the simple PC speaker should be used</label> + <default>false</default> + </entry> + <entry name="CustomBell" type="Bool"> + <label>Whether a custom sound should be used as bell</label> + <default>false</default> + </entry> + <entry name="Visiblebell" type="Bool"> + <label>If the screen should blink when the bell is sounded</label> + <default>false</default> + </entry> + </group> + <group name="CustomBell"> + <entry name="Sound" type="Path"> + <label>The path to the custom sound, if it is used</label> + </entry> + </group> + <group name="Visible"> + <entry name="Flash" type="Bool"> + <label>If the screen should be flashed</label> + <default>false</default> + </entry> + <entry name="Invert" type="Bool"> + <label>If the screen image should be inverted</label> + <default>true</default> + </entry> + <entry name="FlashColor" type="Color"> + <label>The color to flash the screen with</label> + <default>#FF0000</default> + </entry> + <entry name="Duration" type="UInt"> + <label>For how long the flash is active</label> + <default>500</default> + <max>3000</max> + </entry> + </group> + <!-- + // keyboard + // sticky keys + stickykeys->setchecked(false); + lockwithstickykeys->setchecked(true); + + // slow keys + slowkeys->setchecked(false); + slowkeysdelay->setvalue(500); + + // bounce keys + bouncekeys->setchecked(false); + bouncekeysdelay->setvalue(500); + + // mouse + // navigation + accelerationdelay->setvalue(160); + repeatinterval->setvalue(5); + accelerationtime->setvalue(1000); + maximumspeed->setvalue(500); + accelerationProfile->setValue(0); + --> +</kcfg> diff --git a/kcontrol/accessibility/settings.kcfgc b/kcontrol/accessibility/settings.kcfgc new file mode 100644 index 000000000..b0b7a9407 --- /dev/null +++ b/kcontrol/accessibility/settings.kcfgc @@ -0,0 +1,5 @@ +File=kcm_accessibility.kcfg +ClassName=Settings +Singleton=true +Mutators=true + |