Changeset 138 for trunk/src/gui/kernel


Ignore:
Timestamp:
Aug 29, 2009, 12:06:08 AM (16 years ago)
Author:
Dmitry A. Kuminov
Message:

gui: Implemented focus notifications.

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

Legend:

Unmodified
Added
Removed
  • trunk/src/gui/kernel/qapplication.h

    r2 r138  
    239239    void winFocus(QWidget *, bool);
    240240    static void winMouseButtonUp();
     241
     242
     243
     244
    241245#endif
    242246
  • trunk/src/gui/kernel/qapplication_pm.cpp

    r136 r138  
    469469#define SV_WORKAREA_XLEFT   54
    470470
     471
     472
     473
     474
     475
     476
     477
     478
     479
     480
     481
     482
     483
     484
     485
     486
     487
     488
     489
     490
     491
     492
     493
     494
     495
    471496// QtWndProc() receives all messages from the main event loop
    472497
     
    659684                if (widget->translateConfigEvent(qmsg))
    660685                    return (MRESULT)TRUE;
     686
     687
     688
     689
     690
     691
     692
     693
     694
     695
     696
     697
     698
     699
     700
     701
     702
     703
     704
     705
     706
     707
     708
     709
     710
     711
     712
     713
     714
     715
     716
     717
    661718                break;
    662719            }
     
    20112068    myCaseEnd()
    20122069
     2070
     2071
     2072
     2073
     2074
     2075
     2076
     2077
     2078
     2079
     2080
     2081
     2082
     2083
     2084
     2085
     2086
     2087
    20132088    default:
    20142089        break;
     
    20302105{
    20312106    QString fl;
     2107
     2108
     2109
    20322110    myDefFlagEx(swp.fl, SWP_SHOW, fl, "SHOW");
    20332111    myDefFlagEx(swp.fl, SWP_HIDE, fl, "HIDE");
     2112
     2113
    20342114    myDefFlagEx(swp.fl, SWP_ACTIVATE, fl, "ACT");
    20352115    myDefFlagEx(swp.fl, SWP_DEACTIVATE, fl, "DEACT");
     2116
     2117
    20362118    myDefFlagEx(swp.fl, SWP_MAXIMIZE, fl, "MAX");
    2037     myDefFlagEx(swp.fl, SWP_MINIMIZE, fl, "MIN");
    20382119    myDefFlagEx(swp.fl, SWP_RESTORE, fl, "REST");
    2039     myDefFlagEx(swp.fl, SWP_MOVE, fl, "MOVE");
    2040     myDefFlagEx(swp.fl, SWP_SIZE, fl, "SIZE");
    2041     myDefFlagEx(swp.fl, SWP_ZORDER, fl, "ZORD");
     2120    myDefFlagEx(swp.fl, SWP_");
     2121    myDefFlagEx(swp.fl, SWP_");
     2122    myDefFlagEx(swp.fl, SWP_");
    20422123
    20432124    return QString().sprintf("SWP(%ld,%ld %ldx%ld %08lX ",
Note: See TracChangeset for help on using the changeset viewer.