xlang v4.0 Release
程序设计语言基础库文档
载入中...
搜索中...
未找到
QEvent.xcsm
浏览该文件的文档.
1package Qt{
2 @SuppressWarnings public class QEvent{
3 static const int None = 0; // invalid event
4 static const int Timer = 1; // timer event
5 static const int MouseButtonPress = 2; // mouse button pressed
6 static const int MouseButtonRelease = 3; // mouse button released
7 static const int MouseButtonDblClick = 4; // mouse button double click
8 static const int MouseMove = 5; // mouse move
9 static const int KeyPress = 6; // key pressed
10 static const int KeyRelease = 7; // key released
11 static const int FocusIn = 8; // keyboard focus received
12 static const int FocusOut = 9; // keyboard focus lost
13 static const int FocusAboutToChange = 23; // keyboard focus is about to be lost
14 static const int Enter = 10; // mouse enters widget
15 static const int Leave = 11; // mouse leaves widget
16 static const int Paint = 12; // paint widget
17 static const int Move = 13; // move widget
18 static const int Resize = 14; // resize widget
19 static const int Create = 15; // after widget creation
20 static const int Destroy = 16; // during widget destruction
21 static const int Show = 17; // widget is shown
22 static const int Hide = 18; // widget is hidden
23 static const int Close = 19; // request to close widget
24 static const int Quit = 20; // request to quit application
25 static const int ParentChange = 21; // widget has been reparented
26 static const int ParentAboutToChange = 131; // sent just before the parent change is done
27 static const int ThreadChange = 22; // object has changed threads
28 static const int WindowActivate = 24; // window was activated
29 static const int WindowDeactivate = 25; // window was deactivated
30 static const int ShowToParent = 26; // widget is shown to parent
31 static const int HideToParent = 27; // widget is hidden to parent
32 static const int Wheel = 31; // wheel event
33 static const int WindowTitleChange = 33; // window title changed
34 static const int WindowIconChange = 34; // icon changed
35 static const int ApplicationWindowIconChange = 35; // application icon changed
36 static const int ApplicationFontChange = 36; // application font changed
37 static const int ApplicationLayoutDirectionChange = 37; // application layout direction changed
38 static const int ApplicationPaletteChange = 38; // application palette changed
39 static const int PaletteChange = 39; // widget palette changed
40 static const int Clipboard = 40; // internal clipboard event
41 static const int Speech = 42; // reserved for speech input
42 static const int MetaCall = 43; // meta call event
43 static const int SockAct = 50; // socket activation
44 static const int WinEventAct = 132; // win event activation
45 static const int DeferredDelete = 52; // deferred delete event
46 static const int DragEnter = 60; // drag moves into widget
47 static const int DragMove = 61; // drag moves in widget
48 static const int DragLeave = 62; // drag leaves or is cancelled
49 static const int Drop = 63; // actual drop
50 static const int DragResponse = 64; // drag accepted/rejected
51 static const int ChildAdded = 68; // new child widget
52 static const int ChildPolished = 69; // polished child widget
53 static const int ChildRemoved = 71; // deleted child widget
54 static const int ShowWindowRequest = 73; // widget's window should be mapped
55 static const int PolishRequest = 74; // widget should be polished
56 static const int Polish = 75; // widget is polished
57 static const int LayoutRequest = 76; // widget should be relayouted
58 static const int UpdateRequest = 77; // widget should be repainted
59 static const int UpdateLater = 78; // request update() later
60 static const int EmbeddingControl = 79; // ActiveX embedding
61 static const int ActivateControl = 80; // ActiveX activation
62 static const int DeactivateControl = 81; // ActiveX deactivation
63 static const int ContextMenu = 82; // context popup menu
64 static const int InputMethod = 83; // input method
65 static const int TabletMove = 87; // Wacom tablet event
66 static const int LocaleChange = 88; // the system locale changed
67 static const int LanguageChange = 89; // the application language changed
68 static const int LayoutDirectionChange = 90; // the layout direction changed
69 static const int Style = 91; // internal style event
70 static const int TabletPress = 92; // tablet press
71 static const int TabletRelease = 93; // tablet release
72 static const int OkRequest = 94; // CE (Ok) button pressed
73 static const int HelpRequest = 95; // CE (?) button pressed
74 static const int IconDrag = 96; // proxy icon dragged
75 static const int FontChange = 97; // font has changed
76 static const int EnabledChange = 98; // enabled state has changed
77 static const int ActivationChange = 99; // window activation has changed
78 static const int StyleChange = 100; // style has changed
79 static const int IconTextChange = 101; // icon text has changed. Deprecated.
80 static const int ModifiedChange = 102; // modified state has changed
81 static const int MouseTrackingChange = 109; // mouse tracking state has changed
82 static const int WindowBlocked = 103; // window is about to be blocked modally
83 static const int WindowUnblocked = 104; // windows modal blocking has ended
84 static const int WindowStateChange = 105;
85 static const int ReadOnlyChange = 106; // readonly state has changed
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; // file open request
93 static const int Shortcut = 117; // shortcut triggered
94 static const int ShortcutOverride = 51; // shortcut override request
95 static const int WhatsThisClicked = 118;
96 static const int ToolBarChange = 120; // toolbar visibility toggled
97 static const int ApplicationActivate = 121; // deprecated. Use ApplicationStateChange instead.
98 static const int ApplicationActivated = ApplicationActivate; // deprecated
99 static const int ApplicationDeactivate = 122; // deprecated. Use ApplicationStateChange instead.
100 static const int ApplicationDeactivated = ApplicationDeactivate; // deprecated
101 static const int QueryWhatsThis = 123; // query what's this widget help
102 static const int EnterWhatsThisMode = 124;
103 static const int LeaveWhatsThisMode = 125;
104 static const int ZOrderChange = 126; // child widget has had its z-order changed
105 static const int HoverEnter = 127; // mouse cursor enters a hover widget
106 static const int HoverLeave = 128; // mouse cursor leaves a hover widget
107 static const int HoverMove = 129; // mouse cursor move inside a hover widget
108 static const int EnterEditFocus = 150; // enter edit mode in keypad navigation
109 static const int LeaveEditFocus = 151; // enter edit mode in keypad navigation
110 static const int AcceptDropsChange = 152;
111 static const int ZeroTimerEvent = 154; // Used for Windows Zero timer events
112 static const int GraphicsSceneMouseMove = 155; // GraphicsView
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; // keyboard layout changed
127 static const int DynamicPropertyChange = 170; // A dynamic property was changed through setProperty/property
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; // when the Qt::WA_Mac{Normal;Small;Mini}Size changes
135 static const int ContentsRectChange = 178; // sent by QWidget::setContentsMargins (internal)
136 static const int MacGLWindowChange = 179; // Internal! the window of the GLWidget has changed
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; // Internal for QNetworkReply
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; // Internal Cocoa; the window has changed; so we must clear
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; // QtGui native gesture
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; // Screen orientation has changed
164 static const int TouchCancel = 209;
165 static const int ThemeChange = 210;
166 static const int SockClose = 211; // socket closed
167 static const int PlatformPanel = 212;
168 static const int StyleAnimationUpdate = 213; // style animation target should be updated
169 static const int ApplicationStateChange = 214;
170 static const int WindowChangeInternal = 215; // internal for QQuickWidget
171 static const int ScreenChangeInternal = 216;
172 static const int PlatformSurface = 217; // Platform surface created or about to be destroyed
173 static const int Pointer = 218; // QQuickPointerEvent; ### Qt 6: QPointerEvent
174 static const int TabletTrackingChange = 219; // tablet tracking state has changed
175 static const int User = 1000; // first user event id
176 static const int MaxUser = 65535; // last user event id
177 };
178};
定时器类