Changeset 353


Ignore:
Timestamp:
Nov 27, 2009, 1:20:02 AM (15 years ago)
Author:
Dmitry A. Kuminov
Message:

gui/kernel: Completely steal the Alt key and other default shortcuts (Alt+F7, Alt+F10 etc) from the system-wide frame accelerator table so that they can be normally processed by Qt applications. The only ones remaining for the system are are Alt+F4, Ctrl+Esc, Alt+Esc.

Location:
trunk/src/gui/kernel
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/gui/kernel/qapplication_pm.cpp

    r317 r353  
    842842        } else {
    843843            switch(msg) {
     844
     845
     846
     847
     848
     849
     850
     851
     852
     853
     854
     855
     856
     857
     858
     859
     860
     861
     862
     863
     864
     865
     866
    844867
    845868            case WM_CHAR: { // keyboard event
  • trunk/src/gui/kernel/qkeymapper_pm.cpp

    r180 r353  
    375375        KeyRecord *rec = key_recorder.findKey(chm.scancode, false);
    376376
     377
     378
     379
     380
     381
     382
     383
     384
     385
     386
     387
     388
     389
     390
     391
     392
     393
     394
     395
     396
     397
     398
     399
     400
     401
    377402        // If rec's state doesn't match the current state, something has changed behind our back
    378403        // (Consumed by modal widget is one possibility) So, remove the record from the list
Note: See TracChangeset for help on using the changeset viewer.