⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 qevent.3qt

📁 tmark1.11:用于生成QT/EMBEDDED应用工程的Markfile文件
💻 3QT
字号:
.TH QEvent 3qt "6 July 1999" "Troll Tech AS" \" -*- nroff -*-.\" Copyright 1992-1999 Troll Tech AS.  All rights reserved.  See the.\" license file included in the distribution for a complete license.\" statement..\".ad l.nh.SH NAMEQEvent \- Base class of all event classes. Event objects contain event parameters.SH SYNOPSIS.br.PP\fC#include <qevent.h>\fR.PPInherits Qt..PPInherited by QChildEvent, QCloseEvent, QCustomEvent, QDragLeaveEvent, QDragResponseEvent, QDropEvent, QFocusEvent, QHideEvent, QKeyEvent, QMouseEvent, QMoveEvent, QPaintEvent, QResizeEvent, QShowEvent, QTimerEvent and QWheelEvent..PP.SS "Public Members".in +1c.ti -1c.BI "enum \fBType\fR { None = 0, Timer = 1, MouseButtonPress = 2, MouseButtonRelease = 3, MouseButtonDblClick= 4, MouseMove = 5, KeyPress = 6, KeyRelease = 7, FocusIn = 8, FocusOut = 9, Enter = 10, Leave = 11, Paint = 12, Move = 13, Resize = 14, Create = 15, Destroy = 16, Show = 17, Hide = 18, Close = 19, Quit = 20, Accel = 30, Wheel = 31, AccelAvailable = 32, Clipboard = 40, SockAct = 50, DragEnter = 60, DragMove = 61, DragLeave = 62, Drop = 63, DragResponse = 64, ChildInserted = 70, ChildRemoved = 71, LayoutHint = 72, ActivateControl = 80, DeactivateControl = 81, User = 1000 }".br.ti -1c.BI "\fBQEvent\fR ( Type type )".br.ti -1c.BI "virtual \fB~QEvent\fR ()".br.ti -1c.BI "Type \fBtype\fR () const".br.in -1c.SH DESCRIPTIONThe QEvent class is base class of all event classes. Event objects contain event parameters..PPThe main event loop of Qt fetches native window system events from the event queue, translates them into QEvent and sends the translated events to QObjects..PPGenerally, events come from the underlying window system, but it is also possible to manually send events through the QApplication class using QApplication::sendEvent() and QApplication::postEvent()..PPQObject received events by having its QObject::event() function called. The default implementation simply calls QObject::timerEvent() for timer events and ignores all other events. QWidget reimplements event() and dispatches incoming events to various event handles such as QWidget::keyPressEvent() and QWidget::mouseMoveEvent()..PPThe basic QEvent only contains an event type parameter. Subclasses of QEvent contain additional parameters that describe the particular event..PPSee also: QObject::event(), QObject::installEventFilter(), QWidget::event(), QApplication::sendEvent(), QApplcation::postEvent() and QApplication::processEvents()..SH MEMBER FUNCTION DOCUMENTATION.SH "QEvent::QEvent ( Type type )"Contructs an event object with a \fItype.\fR The file qevent.h lists all event types..SH "QEvent::~QEvent () \fC[virtual]\fR"Destroys the event.  Reports an error if the event is posted for dispatch to an object..SH "SEE ALSO".BR http://www.troll.no/qt/qevent.html.SH COPYRIGHTCopyright 1992-1999 Troll Tech AS.  See the license file included inthe distribution for a complete license statement..SH AUTHORGenerated automatically from the source code.

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -