From 85af0341dc94a5a65d3643f53d95c21d40017c1c Mon Sep 17 00:00:00 2001 From: Michele Calgaro Date: Thu, 25 Mar 2021 10:01:12 +0900 Subject: Added support for AltGr characters. This resolves issue #11. Signed-off-by: Michele Calgaro --- src/VButton.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src/VButton.h') diff --git a/src/VButton.h b/src/VButton.h index 782eefa..86a58ee 100644 --- a/src/VButton.h +++ b/src/VButton.h @@ -34,14 +34,16 @@ protected: TQString normalText; TQString capsText; TQString shiftText; + TQString altGrText; TQString capsShiftText; + TQString altGrShiftText; TQRect orig_size; void timerEvent ( TQTimerEvent * ); public slots: void sendKey(); - void shiftCapsPressed(bool shift, bool caps); + void shiftCapsAltGrPressed(bool shift, bool caps, bool altGrState); protected slots: void enterEvent(TQEvent *e); -- cgit v1.2.1