2014-11-13 19:30:51 +02:00
|
|
|
|
/**
|
|
|
|
|
* kcmaccess.h
|
|
|
|
|
*
|
|
|
|
|
* Copyright (c) 2000 Matthias H<EFBFBD>zer-Klpfel <hoelzer@kde.org>
|
|
|
|
|
*
|
|
|
|
|
*/
|
|
|
|
|
|
|
|
|
|
#ifndef __kcmaccess_h__
|
|
|
|
|
#define __kcmaccess_h__
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
#include <kcmodule.h>
|
|
|
|
|
#include <knuminput.h>
|
|
|
|
|
|
|
|
|
|
|
2019-05-05 02:36:36 +00:00
|
|
|
|
#include <QCheckBox>
|
|
|
|
|
#include <QLabel>
|
|
|
|
|
#include <QLineEdit>
|
|
|
|
|
#include <QPushButton>
|
|
|
|
|
#include <QRadioButton>
|
2014-11-13 19:30:51 +02:00
|
|
|
|
class KColorButton;
|
2019-05-05 02:36:36 +00:00
|
|
|
|
#include <QSlider>
|
2014-11-13 19:30:51 +02:00
|
|
|
|
|
|
|
|
|
class KAccessConfig : public KCModule
|
|
|
|
|
{
|
|
|
|
|
Q_OBJECT
|
|
|
|
|
|
|
|
|
|
public:
|
|
|
|
|
|
|
|
|
|
KAccessConfig( QWidget *parent, const QVariantList& );
|
|
|
|
|
virtual ~KAccessConfig();
|
|
|
|
|
|
|
|
|
|
void load();
|
|
|
|
|
void save();
|
|
|
|
|
void defaults();
|
|
|
|
|
|
|
|
|
|
protected Q_SLOTS:
|
|
|
|
|
|
|
|
|
|
void configChanged();
|
|
|
|
|
void checkAccess();
|
|
|
|
|
void invertClicked();
|
|
|
|
|
void flashClicked();
|
|
|
|
|
void selectSound();
|
|
|
|
|
void changeFlashScreenColor();
|
|
|
|
|
void configureKNotify();
|
|
|
|
|
|
|
|
|
|
private:
|
|
|
|
|
|
|
|
|
|
QCheckBox *systemBell, *customBell, *visibleBell;
|
|
|
|
|
QRadioButton *invertScreen, *flashScreen;
|
2021-06-13 16:51:17 +03:00
|
|
|
|
QLabel *soundLabel;
|
2014-11-13 19:30:51 +02:00
|
|
|
|
QLineEdit *soundEdit;
|
|
|
|
|
QPushButton *soundButton;
|
|
|
|
|
KColorButton *colorButton;
|
|
|
|
|
KDoubleNumInput *durationSlider;
|
|
|
|
|
|
|
|
|
|
QCheckBox *stickyKeys, *stickyKeysLock, *stickyKeysAutoOff;
|
|
|
|
|
QCheckBox *stickyKeysBeep, *toggleKeysBeep, *kNotifyModifiers;
|
|
|
|
|
QPushButton *kNotifyModifiersButton;
|
|
|
|
|
|
|
|
|
|
QCheckBox *slowKeys, *bounceKeys;
|
|
|
|
|
KDoubleNumInput *slowKeysDelay, *bounceKeysDelay;
|
|
|
|
|
QCheckBox *slowKeysPressBeep, *slowKeysAcceptBeep;
|
|
|
|
|
QCheckBox *slowKeysRejectBeep, *bounceKeysRejectBeep;
|
|
|
|
|
|
|
|
|
|
QCheckBox *gestures, *gestureConfirmation;
|
|
|
|
|
QCheckBox *timeout;
|
|
|
|
|
KIntNumInput *timeoutDelay;
|
|
|
|
|
QCheckBox *accessxBeep, *kNotifyAccessX;
|
|
|
|
|
QPushButton *kNotifyAccessXButton;
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
#endif
|