summaryrefslogtreecommitdiffstats
path: root/src/MainWidget.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Fixed visualization of key text the first time modifier keys areMichele Calgaro2021-03-161-3/+12
| | | | | | | | | | | | | pressed. Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it> This commit also include a small part of Ray's patch to fix visualization of & if it is on a lower character position. Signed-off-by: Ray-V <ray-v@inbox.lv> Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it> (cherry picked from commit af106fa553fb2f706910686a0e30f909582bca7d)
* Fixed behavior of caps for non-alpha characters, which was broken inMichele Calgaro2021-03-151-6/+7
| | | | | | | commit 1865767. Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it> (cherry picked from commit 48c1053fa1e5896a10e576b9eb35634fa789cff4)
* Fixed key text display when shift is used (caps is still broken) as wellMichele Calgaro2021-03-131-121/+82
| | | | | | | as several improvements to the code. Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it> (cherry picked from commit 00e207e95d5aab6bbc37c8178bd189b0c0619be6)
* Added additional translation strings.Ray-V2021-03-021-4/+4
| | | | | | Signed-off-by: Ray-V <ray-v@inbox.lv> Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it> (cherry picked from commit 2c080a7a204d725e2e4852bb7c05d45c71a60cb2)
* Added less-than (<) and greater-than (>) keys near left shift for non-US ↵Ray-V2021-03-011-28/+33
| | | | | | | | | | keyboards. Adjusted keyboard geometry accordingly. Signed-off-by: Ray-V <ray-v@inbox.lv> Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it> (cherry picked from commit f84f133f7c5afb610cd82bc3c95fe43ee9c0efc0)
* Keys color can now be changed without the need to restart theMichele Calgaro2021-02-271-7/+23
| | | | | | | application. Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it> (cherry picked from commit 64d40d992ecb290a7d395b14e5d3b81e4ed074d2)
* Added functionality to select keyboard background and keys colors.Ray-V2021-02-261-5/+34
| | | | | | | | A restart of the application is required if the keys color is changed. Signed-off-by: Ray-V <ray-v@inbox.lv> Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it> (cherry picked from commit dd8d52708461bcd9d5fd11f62fc59f18fcfc542e)
* Simplified code for numpad buttons. This adds on to PR #9.Michele Calgaro2021-02-201-5/+5
| | | | | Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it> (cherry picked from commit 47d89f2d15ad750689d6376234b37b85e1ab5704)
* Fixed several keycodes. This relates to PR #9.Ray-V2021-02-201-9/+9
| | | | | | Signed-off-by: Ray-V <ray-v@inbox.lv> Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it> (cherry picked from commit 8bbaa8f9fed784d11bda8ea90ef94bf47f92b90d)
* Increased size of button icons to make them more visible.Michele Calgaro2021-02-181-6/+6
| | | | | Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it> (cherry picked from commit 2aaedb4a040815288a4ba2d3b7f7dae642a615b4)
* 1. Use icons for quit and num pad show/hide buttons.Ray-V2021-02-181-13/+25
| | | | | | | | 2. Resize quit, num pad show/hide, configure buttons. 3. Add tooltips to the buttons. Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it> (cherry picked from commit ed6e395fd03dc836ee48a75e29025934a5c515b4)
* Added tooltip for the system tray icon.Ray-V2021-02-171-1/+1
| | | | | | Signed-off-by: Ray-V <ray-v@inbox.lv> Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it> (cherry picked from commit 134205339095da28318a6a2238e232ce836a2a4b)
* LWin and RWin have been set back to toggle keys, as they are used as ↵Michele Calgaro2021-02-151-20/+10
| | | | | | | | | Super_L/R modifiers in X. Minor tweaks to the key position on the last row. Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it> (cherry picked from commit 74abd47697ddc9a7ca0dbc7cbba618d94d8cf92a)
* Add RWIN key and set both Win keys to non-toggle for xmodmap.Ray-V2021-02-151-11/+23
| | | | | | Signed-off-by: Ray-V <ray-v@inbox.lv> Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it> (cherry picked from commit 2af99da072d82ae809ef57f83911a7f4c45da1f5)
* Hide resize handle when the keyboard is locked on the screen.Michele Calgaro2021-02-111-3/+9
| | | | | Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it> (cherry picked from commit aae2b175aefd87d06bdf223c323a6b66a75a6a00)
* Simplified code from previous commit and fixed 'lock on screen' ↵Michele Calgaro2021-02-111-26/+20
| | | | | | | functionality after restoring the keyboard from a previous run. Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it> (cherry picked from commit b53e33352c2b7de5521b0944b30a0b12afa2f97e)
* Added 'lock on screen' functionality.Ray-V2021-02-111-2/+18
| | | | | | Signed-off-by: Ray-V <ray-v@inbox.lv> Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it> (cherry picked from commit 0da79dd6ef5eae251828d32568aedb01240590b3)
* Save and restore status of numpad between startups. This refers to PR #9.Ray-V2021-02-101-0/+6
| | | | | | Signed-off-by: Ray-V <ray-v@inbox.lv> Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it> (cherry picked from commit d1fca948cfde3b711652e69e03084908facc9f83)
* Inappropriately used TQString::fromUtf8() moved to place where it is needed.Slávek Banko2018-09-281-5/+5
| | | | | | | The definition of -UTQT_NO_ASCII_CAST is no longer needed. Signed-off-by: Slávek Banko <slavek.banko@axis.cz> (cherry picked from commit f39f545444a1c3b4c315029fbedb118d24010dd0)
* convert to the cmake building systemgregory guy2018-09-281-1/+1
| | | | | Signed-off-by: gregory guy <g-gregory@gmx.fr> (cherry picked from commit b7ae75d53ab260a281d6424d566738fc8a3715c5)
* Rename common header files for consistency with class renamingTimothy Pearson2013-02-141-1/+1
|
* Rename a number of classes to enhance compatibility with KDE4Timothy Pearson2013-02-011-2/+2
|
* Rename a number of libraries and executables to avoid conflicts with KDE4Timothy Pearson2013-01-271-1/+1
|
* Rename KCModule, KConfig, KIO, KServer, and KSocket to avoid conflicts with KDE4Timothy Pearson2013-01-251-8/+8
|
* Rename KInstance and KAboutData to avoid conflicts with KDE4Timothy Pearson2013-01-221-1/+1
|
* Rename KApplication to TDEApplication to avoid conflicts with KDE4Timothy Pearson2013-01-201-8/+8
|
* Update prior commitTimothy Pearson2012-08-071-0/+1
|
* Update deprecated XKeycodeToKeysym callTimothy Pearson2012-08-071-2/+2
|
* Fix inadvertent "TQ" changes.Darrell Anderson2012-04-131-11/+11
|
* Rename additional global functions and variables for tqt3Timothy Pearson2012-03-021-1/+1
|
* Rename obsolete tq methods to standard namesTimothy Pearson2011-12-211-1/+1
|
* Remove additional unneeded tq method conversionsTimothy Pearson2011-12-191-1/+1
|
* Revert "Rename a number of old tq methods that are no longer tq specific"Timothy Pearson2011-12-161-2/+2
| | | | This reverts commit a8375f185a6fe1417de964699551476864dc1fcd.
* Rename a number of old tq methods that are no longer tq specificTimothy Pearson2011-12-151-2/+2
|
* Fix a number of strings in Trinity that were incorrectly converted to TQ* ↵tpearson2011-09-181-1/+1
| | | | | | | | | from Q* This fixes the Kopete MSN protocol among other things git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/kvkbd@1254372 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
* rename the following methods:tpearson2011-08-101-2/+2
| | | | | | | | tqparent parent tqmask mask git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/kvkbd@1246260 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
* Remove the tq in front of these incorrectly TQt4-converted methods/data members:tpearson2011-07-091-1/+1
| | | | | | | | | | | | tqrepaint[...] tqinvalidate[...] tqparent[...] tqmask[...] tqlayout[...] tqalignment[...] git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/kvkbd@1240522 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
* TQt4 port kvkbdtpearson2011-07-011-112/+112
| | | | | | | This enables compilation under both Qt3 and Qt4 git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/kvkbd@1239029 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
* Added KDE3 version of kvkbdtpearson2010-02-241-0/+1839
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/kvkbd@1095344 283d02a7-25f6-0310-bc7c-ecb5cbfe19da