2 @SuppressWarnings public class QEvent{
3 static const int None = 0;
5 static const int MouseButtonPress = 2;
6 static const int MouseButtonRelease = 3;
7 static const int MouseButtonDblClick = 4;
8 static const int MouseMove = 5;
9 static const int KeyPress = 6;
10 static const int KeyRelease = 7;
11 static const int FocusIn = 8;
12 static const int FocusOut = 9;
13 static const int FocusAboutToChange = 23;
14 static const int Enter = 10;
15 static const int Leave = 11;
16 static const int Paint = 12;
17 static const int Move = 13;
18 static const int Resize = 14;
19 static const int Create = 15;
20 static const int Destroy = 16;
21 static const int Show = 17;
22 static const int Hide = 18;
23 static const int Close = 19;
24 static const int Quit = 20;
25 static const int ParentChange = 21;
26 static const int ParentAboutToChange = 131;
27 static const int ThreadChange = 22;
28 static const int WindowActivate = 24;
29 static const int WindowDeactivate = 25;
30 static const int ShowToParent = 26;
31 static const int HideToParent = 27;
32 static const int Wheel = 31;
33 static const int WindowTitleChange = 33;
34 static const int WindowIconChange = 34;
35 static const int ApplicationWindowIconChange = 35;
36 static const int ApplicationFontChange = 36;
37 static const int ApplicationLayoutDirectionChange = 37;
38 static const int ApplicationPaletteChange = 38;
39 static const int PaletteChange = 39;
40 static const int Clipboard = 40;
41 static const int Speech = 42;
42 static const int MetaCall = 43;
43 static const int SockAct = 50;
44 static const int WinEventAct = 132;
45 static const int DeferredDelete = 52;
46 static const int DragEnter = 60;
47 static const int DragMove = 61;
48 static const int DragLeave = 62;
49 static const int Drop = 63;
50 static const int DragResponse = 64;
51 static const int ChildAdded = 68;
52 static const int ChildPolished = 69;
53 static const int ChildRemoved = 71;
54 static const int ShowWindowRequest = 73;
55 static const int PolishRequest = 74;
56 static const int Polish = 75;
57 static const int LayoutRequest = 76;
58 static const int UpdateRequest = 77;
59 static const int UpdateLater = 78;
60 static const int EmbeddingControl = 79;
61 static const int ActivateControl = 80;
62 static const int DeactivateControl = 81;
63 static const int ContextMenu = 82;
64 static const int InputMethod = 83;
65 static const int TabletMove = 87;
66 static const int LocaleChange = 88;
67 static const int LanguageChange = 89;
68 static const int LayoutDirectionChange = 90;
69 static const int Style = 91;
70 static const int TabletPress = 92;
71 static const int TabletRelease = 93;
72 static const int OkRequest = 94;
73 static const int HelpRequest = 95;
74 static const int IconDrag = 96;
75 static const int FontChange = 97;
76 static const int EnabledChange = 98;
77 static const int ActivationChange = 99;
78 static const int StyleChange = 100;
79 static const int IconTextChange = 101;
80 static const int ModifiedChange = 102;
81 static const int MouseTrackingChange = 109;
82 static const int WindowBlocked = 103;
83 static const int WindowUnblocked = 104;
84 static const int WindowStateChange = 105;
85 static const int ReadOnlyChange = 106;
86 static const int ToolTip = 110;
87 static const int WhatsThis = 111;
88 static const int StatusTip = 112;
89 static const int ActionChanged = 113;
90 static const int ActionAdded = 114;
91 static const int ActionRemoved = 115;
92 static const int FileOpen = 116;
93 static const int Shortcut = 117;
94 static const int ShortcutOverride = 51;
95 static const int WhatsThisClicked = 118;
96 static const int ToolBarChange = 120;
97 static const int ApplicationActivate = 121;
98 static const int ApplicationActivated = ApplicationActivate;
99 static const int ApplicationDeactivate = 122;
100 static const int ApplicationDeactivated = ApplicationDeactivate;
101 static const int QueryWhatsThis = 123;
102 static const int EnterWhatsThisMode = 124;
103 static const int LeaveWhatsThisMode = 125;
104 static const int ZOrderChange = 126;
105 static const int HoverEnter = 127;
106 static const int HoverLeave = 128;
107 static const int HoverMove = 129;
108 static const int EnterEditFocus = 150;
109 static const int LeaveEditFocus = 151;
110 static const int AcceptDropsChange = 152;
111 static const int ZeroTimerEvent = 154;
112 static const int GraphicsSceneMouseMove = 155;
113 static const int GraphicsSceneMousePress = 156;
114 static const int GraphicsSceneMouseRelease = 157;
115 static const int GraphicsSceneMouseDoubleClick = 158;
116 static const int GraphicsSceneContextMenu = 159;
117 static const int GraphicsSceneHoverEnter = 160;
118 static const int GraphicsSceneHoverMove = 161;
119 static const int GraphicsSceneHoverLeave = 162;
120 static const int GraphicsSceneHelp = 163;
121 static const int GraphicsSceneDragEnter = 164;
122 static const int GraphicsSceneDragMove = 165;
123 static const int GraphicsSceneDragLeave = 166;
124 static const int GraphicsSceneDrop = 167;
125 static const int GraphicsSceneWheel = 168;
126 static const int KeyboardLayoutChange = 169;
127 static const int DynamicPropertyChange = 170;
128 static const int TabletEnterProximity = 171;
129 static const int TabletLeaveProximity = 172;
130 static const int NonClientAreaMouseMove = 173;
131 static const int NonClientAreaMouseButtonPress = 174;
132 static const int NonClientAreaMouseButtonRelease = 175;
133 static const int NonClientAreaMouseButtonDblClick = 176;
134 static const int MacSizeChange = 177;
135 static const int ContentsRectChange = 178;
136 static const int MacGLWindowChange = 179;
137 static const int FutureCallOut = 180;
138 static const int GraphicsSceneResize = 181;
139 static const int GraphicsSceneMove = 182;
140 static const int CursorChange = 183;
141 static const int ToolTipChange = 184;
142 static const int NetworkReplyUpdated = 185;
143 static const int GrabMouse = 186;
144 static const int UngrabMouse = 187;
145 static const int GrabKeyboard = 188;
146 static const int UngrabKeyboard = 189;
147 static const int MacGLClearDrawable = 191;
148 static const int StateMachineSignal = 192;
149 static const int StateMachineWrapped = 193;
150 static const int TouchBegin = 194;
151 static const int TouchUpdate = 195;
152 static const int TouchEnd = 196;
153 static const int NativeGesture = 197;
154 static const int RequestSoftwareInputPanel = 199;
155 static const int CloseSoftwareInputPanel = 200;
156 static const int WinIdChange = 203;
157 static const int Gesture = 198;
158 static const int GestureOverride = 202;
159 static const int ScrollPrepare = 204;
160 static const int Scroll = 205;
161 static const int Expose = 206;
162 static const int InputMethodQuery = 207;
163 static const int OrientationChange = 208;
164 static const int TouchCancel = 209;
165 static const int ThemeChange = 210;
166 static const int SockClose = 211;
167 static const int PlatformPanel = 212;
168 static const int StyleAnimationUpdate = 213;
169 static const int ApplicationStateChange = 214;
170 static const int WindowChangeInternal = 215;
171 static const int ScreenChangeInternal = 216;
172 static const int PlatformSurface = 217;
173 static const int Pointer = 218;
174 static const int TabletTrackingChange = 219;
175 static const int User = 1000;
176 static const int MaxUser = 65535;