libyui-qt  2.49.2
YQRawLineEdit Class Reference

Helper class that can obtain the CapsLock status, too. More...

#include <YQInputField.h>

Inheritance diagram for YQRawLineEdit:
Collaboration diagram for YQRawLineEdit:

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...
 

Detailed Description

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.

Member Function Documentation

◆ x11Event()

bool YQRawLineEdit::x11Event ( XEvent *  event)
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.


The documentation for this class was generated from the following files: