libyui-qt
2.49.2
|
Helper class that can obtain the CapsLock status, too. More...
#include <YQInputField.h>
Signals | |
void | capsLockActivated () |
void | capsLockDeactivated () |
Public Member Functions | |
YQRawLineEdit (QWidget *parent) | |
Constructor. | |
virtual | ~YQRawLineEdit () |
Destructor. | |
bool | isCapsLockActive () const |
Check if CapsLock is active (rather: was active at the time of the last key or focus event) | |
Protected Member Functions | |
bool | x11Event (XEvent *event) |
X11 raw event handler. More... | |
Helper class that can obtain the CapsLock status, too.
For some reason, Qt does not propagate that information from X11.
Definition at line 167 of file YQInputField.h.
|
protected |
X11 raw event handler.
Propagates all events to the Qt event handlers, but updates _capsLockActive for key events.
Reimplemented from QWidget.
Definition at line 257 of file YQInputField.cc.