Qt 4.8
|
The QEvent class is the base class of all event classes. More...
#include <qcoreevent.h>
Public Functions | |
void | accept () |
Sets the accept flag of the event object, the equivalent of calling setAccepted(true). More... | |
void | ignore () |
Clears the accept flag parameter of the event object, the equivalent of calling setAccepted(false). More... | |
bool | isAccepted () const |
QEvent (Type type) | |
Contructs an event object of type type. More... | |
void | setAccepted (bool accepted) |
bool | spontaneous () const |
Returns true if the event originated outside the application (a system event); otherwise returns false. More... | |
Type | type () const |
Returns the event type. More... | |
virtual | ~QEvent () |
Destroys the event. More... | |
Static Public Functions | |
static int | registerEventType (int hint=-1) |
Registers and returns a custom event type. More... | |
Protected Variables | |
QEventPrivate * | d |
ushort | t |
Properties | |
ushort | m_accept: 1 |
ushort | posted: 1 |
ushort | reserved: 13 |
ushort | spont: 1 |
The QEvent class is the base class of all event classes.
Event objects contain event parameters.
Qt's main event loop (QCoreApplication::exec()) fetches native window system events from the event queue, translates them into QEvents, and sends the translated events to QObject.
In general, events come from the underlying window system (spontaneous() returns true), but it is also possible to manually send events using QCoreApplication::sendEvent() and QCoreApplication::postEvent() (spontaneous() returns false).
QObjects receive events by having their QObject::event() function called. The function can be reimplemented in subclasses to customize event handling and add additional event types; QWidget::event() is a notable example. By default, events are dispatched to event handlers like QObject::timerEvent() and QWidget::mouseMoveEvent(). QObject::installEventFilter() allows an object to intercept events destined for another object.
The basic QEvent contains only an event type parameter and an "accept" flag. The accept flag set with accept(), and cleared with ignore(). It is set by default, but don't rely on this as subclasses may choose to clear it in their constructor.
Subclasses of QEvent contain additional parameters that describe the particular event.
Definition at line 56 of file qcoreevent.h.
enum QEvent::Type |
This enum type defines the valid event types in Qt.
The event types and the specialized classes for each type are as follows:
User events should have values between User
and MaxUser
:
For convenience, you can use the registerEventType() function to register and reserve a custom event type for your application. Doing so will allow you to avoid accidentally re-using a custom event type already in use elsewhere in your application.
Definition at line 62 of file qcoreevent.h.
QEvent::QEvent | ( | Type | type | ) |
Contructs an event object of type type.
Definition at line 289 of file qcoreevent.cpp.
Referenced by QFileOpenEvent::QFileOpenEvent(), QPaintEvent::QPaintEvent(), QChildEvent::~QChildEvent(), and QWindowStateChangeEvent::~QWindowStateChangeEvent().
|
virtual |
Destroys the event.
If it was posted , it will be removed from the list of events to be posted.
Definition at line 299 of file qcoreevent.cpp.
|
inline |
Sets the accept flag of the event object, the equivalent of calling setAccepted(true).
Setting the accept parameter indicates that the event receiver wants the event. Unwanted events might be propagated to the parent widget.
Definition at line 309 of file qcoreevent.h.
Referenced by QDragMoveEvent::accept(), QAlphaWidget::closeEvent(), QDialog::closeEvent(), QMdiSubWindow::closeEvent(), QRollEffect::closeEvent(), QLabel::contextMenuEvent(), QGraphicsScene::contextMenuEvent(), QWorkspaceTitleBar::contextMenuEvent(), QOleDropTarget::Drop(), QColorWell::dropEvent(), QColorShowLabel::dropEvent(), QWindowsVistaStyle::event(), QMenuBar::event(), QMenu::event(), QMainWindow::event(), QApplication::event(), QWidget::event(), QMainWindowTabBar::event(), QCalendarTextNavigator::eventFilter(), QIconModeViewBase::filterDropEvent(), QTextBrowser::keyPressEvent(), QAbstractScrollArea::keyPressEvent(), QTextControlPrivate::keyPressEvent(), QMenuBar::keyPressEvent(), QMenu::keyPressEvent(), QPlainTextEdit::keyPressEvent(), QComboBox::keyPressEvent(), QGraphicsScene::keyPressEvent(), QTextEdit::keyPressEvent(), QFileDialogLineEdit::keyPressEvent(), QFileDialogListView::keyPressEvent(), QFileDialogTreeView::keyPressEvent(), QGraphicsScene::keyReleaseEvent(), QTextEdit::keyReleaseEvent(), QDropEvent::mimeData(), QWorkspaceTitleBar::mouseDoubleClickEvent(), QDial::mouseMoveEvent(), QSlider::mouseMoveEvent(), QAbstractButton::mouseMoveEvent(), QGraphicsScene::mouseMoveEvent(), QWorkspaceTitleBar::mouseMoveEvent(), QDial::mousePressEvent(), QSlider::mousePressEvent(), QAbstractButton::mousePressEvent(), QDial::mouseReleaseEvent(), QSlider::mouseReleaseEvent(), QAbstractButton::mouseReleaseEvent(), QWorkspaceTitleBar::mouseReleaseEvent(), QGraphicsScene::mouseReleaseEvent(), QShortcutMap::nextState(), QApplication::notify(), QTextControl::processEvent(), QLineControl::processEvent(), QGraphicsScenePrivate::touchEventHandler(), QShortcutMap::tryShortcutEvent(), QAbstractSlider::wheelEvent(), QComboBox::wheelEvent(), and QGraphicsScene::wheelEvent().
|
inline |
Clears the accept flag parameter of the event object, the equivalent of calling setAccepted(false).
Clearing the accept parameter indicates that the event receiver does not want the event. Unwanted events might be propagated to the parent widget.
Definition at line 310 of file qcoreevent.h.
Referenced by QMdiSubWindow::changeEvent(), QDialog::closeEvent(), QMdiSubWindow::closeEvent(), QMessageBox::closeEvent(), QAbstractScrollArea::contextMenuEvent(), QMdiSubWindow::contextMenuEvent(), QLabel::contextMenuEvent(), QGraphicsScene::contextMenuEvent(), QWorkspaceTitleBar::contextMenuEvent(), QTextControlPrivate::dragEnterEvent(), QTextControlPrivate::dragMoveEvent(), QLineEdit::dropEvent(), QColorWell::dropEvent(), QColorShowLabel::dropEvent(), QAbstractScrollArea::event(), QTabBar::event(), QApplication::event(), QWidget::event(), QGraphicsScene::focusInEvent(), QKeyEvent::hasExtendedInfo(), QDragMoveEvent::ignore(), QTextControlPrivate::inputMethodEvent(), QLineEdit::inputMethodEvent(), QComboBox::inputMethodEvent(), QDeclarativeTextInput::inputMethodEvent(), QTextBrowser::keyPressEvent(), QDialog::keyPressEvent(), QAbstractScrollArea::keyPressEvent(), QMdiSubWindow::keyPressEvent(), QTextControlPrivate::keyPressEvent(), QMenuBar::keyPressEvent(), QAbstractButton::keyPressEvent(), QAbstractSlider::keyPressEvent(), QWellArray::keyPressEvent(), QMenu::keyPressEvent(), QTabWidget::keyPressEvent(), QPlainTextEdit::keyPressEvent(), QComboBox::keyPressEvent(), QDeclarativeTextInput::keyPressEvent(), QGraphicsScene::keyPressEvent(), QTextEdit::keyPressEvent(), QAbstractItemView::keyPressEvent(), QAbstractButton::keyReleaseEvent(), QGraphicsScene::keyReleaseEvent(), QTextEdit::keyReleaseEvent(), QAbstractScrollArea::mouseDoubleClickEvent(), QMdiSubWindow::mouseDoubleClickEvent(), QTextControlPrivate::mouseDoubleClickEvent(), QWorkspaceTitleBar::mouseDoubleClickEvent(), QMdi::ControlLabel::mouseDoubleClickEvent(), QDial::mouseMoveEvent(), QSlider::mouseMoveEvent(), QAbstractScrollArea::mouseMoveEvent(), QAbstractButton::mouseMoveEvent(), QWorkspaceTitleBar::mouseMoveEvent(), QDial::mousePressEvent(), QSlider::mousePressEvent(), QAbstractScrollArea::mousePressEvent(), QMdiSubWindow::mousePressEvent(), QTextControlPrivate::mousePressEvent(), QAbstractButton::mousePressEvent(), QWorkspaceTitleBar::mousePressEvent(), QMdi::ControlLabel::mousePressEvent(), QGraphicsScenePrivate::mousePressEventHandler(), QDial::mouseReleaseEvent(), QSlider::mouseReleaseEvent(), QAbstractScrollArea::mouseReleaseEvent(), QMdiSubWindow::mouseReleaseEvent(), QAbstractButton::mouseReleaseEvent(), QWorkspaceTitleBar::mouseReleaseEvent(), QGraphicsScene::mouseReleaseEvent(), QMdi::ControlLabel::mouseReleaseEvent(), QApplication::notify(), QTextControl::processEvent(), QDropEvent::QDropEvent(), QIconDragEvent::QIconDragEvent(), qt_mac_menu_event(), QMdiArea::resizeEvent(), QLabelPrivate::sendControlEvent(), QRubberBand::showEvent(), QShortcutMap::tryShortcutEvent(), and QAbstractSlider::wheelEvent().
|
inline |
Definition at line 307 of file qcoreevent.h.
Referenced by _q_hoverFromMouseEvent(), QApplicationPrivate::canQuit(), QGraphicsWidget::close(), QWidgetPrivate::close_helper(), QGraphicsView::contextMenuEvent(), QGraphicsScene::contextMenuEvent(), QGraphicsProxyWidget::dragEnterEvent(), QGraphicsView::dragEnterEvent(), QGraphicsView::dragLeaveEvent(), QGraphicsProxyWidget::dragMoveEvent(), QGraphicsView::dragMoveEvent(), QGraphicsScene::dragMoveEvent(), QOleDropTarget::DragOver(), QOleDropTarget::Drop(), QGraphicsView::dropEvent(), QAbstractItemViewPrivate::dropOn(), QListModeViewBase::dropOn(), QGraphicsProxyWidget::event(), QStyleSheetStyle::event(), QPlainTextEdit::event(), QGraphicsView::event(), QGraphicsScene::event(), QTextEdit::event(), QApplication::event(), QWidget::event(), QCompleter::eventFilter(), QWhatsThisPrivate::eventFilter(), QGraphicsView::focusInEvent(), QAbstractItemView::focusNextPrevChild(), QApplicationPrivate::globalAppleEventProcessor(), QApplicationPrivate::globalEventProcessor(), handle_xdnd_position(), QGraphicsScene::helpEvent(), QDeclarativeItem::inputMethodEvent(), QDeclarativeTextInput::inputMethodEvent(), QDeclarativeKeysAttached::inputMethodEvent(), QGestureEvent::isAccepted(), QKeyMapperPrivate::isADeadKey(), QDeclarativeKeyNavigationAttached::keyPressed(), QDeclarativeKeysAttached::keyPressed(), QDeclarativeItem::keyPressEvent(), QLineEdit::keyPressEvent(), QDeclarativeGridView::keyPressEvent(), QPlainTextEdit::keyPressEvent(), QGraphicsView::keyPressEvent(), QDeclarativeListView::keyPressEvent(), QDeclarativeTextInput::keyPressEvent(), QGraphicsScene::keyPressEvent(), QDeclarativeTextEdit::keyPressEvent(), QTextEdit::keyPressEvent(), QDeclarativeKeyNavigationAttached::keyReleased(), QDeclarativeKeysAttached::keyReleased(), QDeclarativeItem::keyReleaseEvent(), QGraphicsView::keyReleaseEvent(), QGraphicsScene::keyReleaseEvent(), QDeclarativeTextEdit::keyReleaseEvent(), QX11Data::motifdndHandle(), QDeclarativeTextEdit::mouseDoubleClickEvent(), QDeclarativeTextEdit::mouseMoveEvent(), QGraphicsViewPrivate::mouseMoveEventHandler(), QDeclarativeText::mousePressEvent(), QGraphicsView::mousePressEvent(), QDeclarativeTextEdit::mousePressEvent(), QGraphicsTextItem::mousePressEvent(), QDeclarativeText::mouseReleaseEvent(), QGraphicsView::mouseReleaseEvent(), QDeclarativeTextInput::mouseReleaseEvent(), QDeclarativeTextEdit::mouseReleaseEvent(), QApplication::notify(), QTextControl::processEvent(), qt_keyrelease_scanner(), qt_mac_menu_event(), qtKey2CocoaKey(), QGraphicsProxyWidgetPrivate::removeSubFocusHelper(), QDeclarativeItem::sceneEvent(), QOleDropTarget::sendDragEnterEvent(), QGraphicsScenePrivate::sendTouchBeginEvent(), QGraphicsProxyWidgetPrivate::sendWidgetKeyEvent(), QGraphicsProxyWidgetPrivate::sendWidgetMouseEvent(), QETWidget::translateMouseEvent(), QETWidget::translateXinputEvent(), QShortcutMap::tryShortcutEvent(), QGraphicsView::viewportEvent(), QGraphicsView::wheelEvent(), QGraphicsScene::wheelEvent(), and QX11Data::xdndHandleDrop().
|
static |
Registers and returns a custom event type.
The hint provided will be used if it is available, otherwise it will return a value between QEvent::User and QEvent::MaxUser that has not yet been registered. The hint is ignored if its value is not between QEvent::User and QEvent::MaxUser.
Definition at line 398 of file qcoreevent.cpp.
|
inline |
Definition at line 306 of file qcoreevent.h.
Referenced by _q_hoverFromMouseEvent(), QDeclarativeFlickablePrivate::captureDelayedPress(), QPlainTextEdit::changeEvent(), QTextEdit::changeEvent(), QGraphicsView::contextMenuEvent(), QGraphicsProxyWidget::dragEnterEvent(), QGraphicsView::dragLeaveEvent(), QMenuBar::event(), QMenu::event(), QPlainTextEdit::event(), QTextEdit::event(), QGraphicsScene::helpEvent(), QGraphicsView::mouseDoubleClickEvent(), QGraphicsScene::mouseMoveEvent(), QGraphicsViewPrivate::mouseMoveEventHandler(), QGraphicsView::mousePressEvent(), QGraphicsView::mouseReleaseEvent(), QApplication::notify(), QDeclarativeKeyEvent::QDeclarativeKeyEvent(), QTextControlPrivate::sendMouseEventToInputContext(), QGraphicsScenePrivate::sendTouchBeginEvent(), QGraphicsView::viewportEvent(), and QGraphicsView::wheelEvent().
|
inline |
Returns true if the event originated outside the application (a system event); otherwise returns false.
The return value of this function is not defined for paint events.
Definition at line 304 of file qcoreevent.h.
Referenced by QWidgetResizeHandler::eventFilter(), QGraphicsView::mouseDoubleClickEvent(), QGraphicsViewPrivate::mouseMoveEventHandler(), QGraphicsView::mousePressEvent(), QGraphicsView::mouseReleaseEvent(), QApplication::notify(), QDeclarativeFlickable::sendMouseEvent(), QGraphicsProxyWidgetPrivate::sendWidgetMouseEvent(), QDialog::showEvent(), and QGraphicsView::viewportEvent().
|
inline |
Returns the event type.
Definition at line 303 of file qcoreevent.h.
Referenced by QStateMachinePrivate::_q_process(), QToolButton::actionEvent(), QMenuBar::actionEvent(), QToolBar::actionEvent(), QMenu::actionEvent(), QChildEvent::added(), QTextControlPrivate::anchorForCursor(), QSignalTransitionPrivate::callOnTransition(), QDeclarativeFlickablePrivate::captureDelayedPress(), QWSEmbedWidget::changeEvent(), QErrorMessage::changeEvent(), QExpandingLineEdit::changeEvent(), QRubberBand::changeEvent(), QAxWidget::changeEvent(), QGroupBox::changeEvent(), QToolBox::changeEvent(), QWorkspace::changeEvent(), QFontDialog::changeEvent(), QDockWidget::changeEvent(), QMdiSubWindow::changeEvent(), QToolButton::changeEvent(), QColorDialog::changeEvent(), QSplitter::changeEvent(), QProgressDialog::changeEvent(), QFrame::changeEvent(), QMenuBar::changeEvent(), QLabel::changeEvent(), QAbstractButton::changeEvent(), QToolBar::changeEvent(), QAbstractSpinBox::changeEvent(), QDialogButtonBox::changeEvent(), QAbstractSlider::changeEvent(), QMenu::changeEvent(), QTabWidget::changeEvent(), QTabBar::changeEvent(), QGraphicsWidget::changeEvent(), QLineEdit::changeEvent(), QComboBoxPrivateContainer::changeEvent(), QComboBox::changeEvent(), QPlainTextEdit::changeEvent(), QFileDialog::changeEvent(), QTextEdit::changeEvent(), QMessageBox::changeEvent(), QWidget::changeEvent(), QWorkspaceChild::changeEvent(), QGroupBox::childEvent(), QSplitter::childEvent(), QMdiSubWindow::childEvent(), QMdiArea::childEvent(), QLayout::childEvent(), QWorkspaceChild::childEvent(), clipboardData(), cloneEvent(), QCoreApplication::compressEvent(), QApplication::compressEvent(), QAbstractItemViewPrivate::contiguousSelectionCommand(), QDBusConnectionPrivate::customEvent(), QStyledItemDelegate::editorEvent(), QItemDelegate::editorEvent(), QRadioButton::event(), QScrollBar::event(), QWidgetAction::event(), QAnimationGroup::event(), QScriptDebuggerFrontendPrivate::event(), QX11EmbedWidget::event(), QSocketNotifier::event(), QCheckBox::event(), QGraphicsProxyWidget::event(), QWinEventNotifier::event(), QScriptDebuggerBackendPrivate::event(), QSplashScreen::event(), QFutureWatcherBase::event(), QScrollArea::event(), QScriptDebuggerCodeView::event(), QNetworkReplyImpl::event(), QWindowsVistaStyle::event(), QSoftKeyManager::event(), QGraphicsSceneBspTreeIndex::event(), QGroupBox::event(), QPushButton::event(), QFontComboBox::event(), QMDIControl::event(), QShortcut::event(), QSlider::event(), QEventDispatcherWin32::event(), QAbstractScrollArea::event(), QMotifStyle::event(), QStatusBar::event(), QWorkspace::event(), QState::event(), QSpinBox::event(), QClipboard::event(), QDnotifySignalThread::event(), QDialog::event(), QDeclarativeSystemPalette::event(), QToolButton::event(), QDeclarativeWorkerScript::event(), QDeclarativeListModelWorkerAgent::event(), QSystemTrayIcon::event(), QMdiSubWindow::event(), QProgressBar::event(), QDeclarativePixmapReply::event(), QSplitter::event(), QX11EmbedContainer::event(), QObject::event(), QDockWidget::event(), QMacStyle::event(), QAbstractSpinBox::event(), QFrame::event(), QAxHostWidget::event(), QScriptEngineDebuggerBackendPrivate::event(), QDeclarativePixmapReaderThreadObject::event(), QSidebar::event(), QAbstractButton::event(), QAbstractSlider::event(), QLabel::event(), QScriptEngineDebuggerFrontendPrivate::event(), QMenuBar::event(), QToolBar::event(), QFileSystemModel::event(), QCalendarWidget::event(), QMdiArea::event(), QDialogButtonBox::event(), QTabWidget::event(), QDateTimeEdit::event(), QDeclarativeXmlQueryThreadObject::event(), QCalendarPopup::event(), QSystemTrayIconSys::event(), QDeclarativeItem::event(), QStateMachine::event(), QDeclarativePathView::event(), QSplitterHandle::event(), QMenu::event(), QDeclarativeWorkerScriptEnginePrivate::event(), QWizard::event(), QTabBar::event(), QHeaderView::event(), QCoreApplication::event(), QDeclarativeGridView::event(), QMainWindow::event(), QGraphicsWidget::event(), QAction::event(), QComboBox::event(), QPlainTextEdit::event(), QLineEdit::event(), QGraphicsView::event(), QDeclarativeListView::event(), QDeclarativeTextInput::event(), QGraphicsScene::event(), QWorkspaceTitleBar::event(), QDeclarativeTextEdit::event(), QTextEdit::event(), QDeclarativePinchArea::event(), QSettings::event(), QMessageBox::event(), QAbstractItemView::event(), QApplication::event(), QTreeWidget::event(), QMdi::ControlLabel::event(), QMdi::ControllerWidget::event(), QWidget::event(), QCalendarView::event(), QReadNotifier::event(), QWriteNotifier::event(), QExceptionNotifier::event(), QMainWindowTabBar::event(), QUIKitSoftwareInputHandler::eventFilter(), QWSEmbedWidget::eventFilter(), QFocusFrame::eventFilter(), QDeclarativeApplication::eventFilter(), QSizeGrip::eventFilter(), QBBInputContext::eventFilter(), QAlphaWidget::eventFilter(), QX11EmbedWidget::eventFilter(), QmlJSDebugger::QDeclarativeViewInspector::eventFilter(), QGraphicsProxyWidget::eventFilter(), QCalendarTextNavigator::eventFilter(), QScrollArea::eventFilter(), QMeeGoGraphicsSystemSwitchHandler::eventFilter(), QDeclarativeLoader::eventFilter(), QWindowsStyle::eventFilter(), QWidgetResizeHandler::eventFilter(), QStyledItemDelegate::eventFilter(), QPlastiqueStyle::eventFilter(), QDeclarativeView::eventFilter(), QWorkspace::eventFilter(), QDeclarativeSystemPalette::eventFilter(), QMotifStyle::eventFilter(), QItemDelegate::eventFilter(), QMdiSubWindow::eventFilter(), QX11EmbedContainer::eventFilter(), QFontDialog::eventFilter(), QAxHostWidget::eventFilter(), QTipLabel::eventFilter(), QVistaHelper::eventFilter(), QmlJSDebugger::AbstractViewInspector::eventFilter(), QMenuBar::eventFilter(), QCompleter::eventFilter(), QCalendarWidget::eventFilter(), QMdiArea::eventFilter(), QScriptDebugger::eventFilter(), QScriptDebuggerLocalsItemDelegate::eventFilter(), QMacStylePrivate::eventFilter(), QScriptBreakpointsItemDelegate::eventFilter(), QComboBoxPrivateContainer::eventFilter(), QGraphicsScene::eventFilter(), QGtkStyleFilter::eventFilter(), QAxServerBase::eventFilter(), QWhatsThisPrivate::eventFilter(), QWorkspaceChild::eventFilter(), QEventTransition::eventTest(), QSignalTransition::eventTest(), QKeyEventTransition::eventTest(), QMouseEventTransition::eventTest(), QBasicKeyEventTransition::eventTest(), QBasicMouseEventTransition::eventTest(), QAbstractItemViewPrivate::extendedSelectionCommand(), QScriptEdit::extraAreaEvent(), QScriptEdit::extraAreaMouseEvent(), QGestureEvent::gesture(), QFocusEvent::gotFocus(), QStateMachinePrivate::handleFilteredEvent(), QBBInputContext::hasPhysicalKeyboard(), QAbstractItemDelegate::helpEvent(), isProcessBeingDebugged(), QFocusEvent::lostFocus(), QVistaHelper::mouseEvent(), QMenuPrivate::mouseEventTaken(), QWSInputContext::mouseHandler(), QMacInputContext::mouseHandler(), QWinInputContext::mouseHandler(), QInputContext::mouseHandler(), QXIMInputContext::mouseHandler(), QTabBar::mousePressEvent(), QAbstractItemViewPrivate::multiSelectionCommand(), QShortcutMap::nextState(), QDockWidgetPrivate::nonClientAreaMouseEvent(), QApplication::notify(), QApplicationPrivate::notify_helper(), operator<<(), QChildEvent::polished(), QCoreApplication::postEvent(), QTextControl::processEvent(), QLineControl::processEvent(), QLineControl::processMouseEvent(), qStoreColors(), qt_keyrelease_scanner(), QPanGestureRecognizer::recognize(), QWinNativePanGestureRecognizer::recognize(), QMacSwipeGestureRecognizer::recognize(), QPinchGestureRecognizer::recognize(), QMacPinchGestureRecognizer::recognize(), QSwipeGestureRecognizer::recognize(), QTapGestureRecognizer::recognize(), QTapAndHoldGestureRecognizer::recognize(), QGraphicsItemPrivate::remapItemPos(), QChildEvent::removed(), QCoreApplicationPrivate::removePostedEvent(), QCoreApplication::removePostedEvents(), QCoreApplicationPrivate::removePostedTimerEvent(), QMacPinchGestureRecognizer::reset(), QDeclarativeFocusPanel::sceneEvent(), QDeclarativeGestureArea::sceneEvent(), QDeclarativeItem::sceneEvent(), QDeclarativeMouseArea::sceneEvent(), QDeclarativeFlickable::sceneEvent(), QDeclarativeTextInput::sceneEvent(), QDeclarativePinchArea::sceneEvent(), QGraphicsItem::sceneEvent(), QGraphicsTextItem::sceneEvent(), QDeclarativePathView::sceneEventFilter(), QDeclarativeFlickable::sceneEventFilter(), QDeclarativeMouseArea::sceneEventFilter(), QDeclarativePinchArea::sceneEventFilter(), QAbstractItemView::selectionCommand(), QDeclarativePathView::sendMouseEvent(), QDeclarativeMouseArea::sendMouseEvent(), QDeclarativeFlickable::sendMouseEvent(), QDeclarativePinchArea::sendMouseEvent(), QApplicationPrivate::sendMouseEvent(), QLineEditPrivate::sendMouseEventToInputContext(), QCoreApplicationPrivate::sendPostedEvents(), QGraphicsProxyWidgetPrivate::sendWidgetMouseEvent(), QPrintDialogPrivate::setupOptions(), QAbstractItemViewPrivate::shouldForwardEvent(), showToolTip(), QGraphicsViewPrivate::storeDragDropEvent(), QTornOffMenu::syncWithMenu(), QAbstractScrollArea::viewportEvent(), QMdiArea::viewportEvent(), QHeaderView::viewportEvent(), QTreeView::viewportEvent(), QGraphicsView::viewportEvent(), QAbstractItemView::viewportEvent(), QGraphicsLayout::widgetEvent(), QLayout::widgetEvent(), QGraphicsWidget::windowFrameEvent(), QChildEvent::~QChildEvent(), and QMouseEvent::~QMouseEvent().
|
friend |
Definition at line 329 of file qcoreevent.h.
|
friend |
Definition at line 327 of file qcoreevent.h.
|
friend |
Definition at line 328 of file qcoreevent.h.
|
friend |
Definition at line 324 of file qcoreevent.h.
|
friend |
Definition at line 325 of file qcoreevent.h.
Definition at line 331 of file qcoreevent.h.
|
friend |
Definition at line 337 of file qcoreevent.h.
|
friend |
Definition at line 334 of file qcoreevent.h.
|
friend |
Definition at line 335 of file qcoreevent.h.
|
friend |
Definition at line 332 of file qcoreevent.h.
|
friend |
Definition at line 333 of file qcoreevent.h.
|
friend |
Definition at line 330 of file qcoreevent.h.
|
friend |
Definition at line 326 of file qcoreevent.h.
|
protected |
Definition at line 315 of file qcoreevent.h.
Referenced by QGraphicsSceneDragDropEvent::acceptProposedAction(), QGraphicsSceneMouseEvent::button(), QGraphicsSceneMouseEvent::buttonDownPos(), QGraphicsSceneMouseEvent::buttonDownScenePos(), QGraphicsSceneMouseEvent::buttonDownScreenPos(), QGraphicsSceneMouseEvent::buttons(), QGraphicsSceneWheelEvent::buttons(), QGraphicsSceneDragDropEvent::buttons(), QGestureEvent::d_func(), QWheelEvent::delta(), QGraphicsSceneWheelEvent::delta(), QTouchEventTouchPointPrivate::detach(), QGraphicsSceneDragDropEvent::dropAction(), QGraphicsScene::event(), QGestureEvent::gesture(), QMouseEvent::hasExtendedInfo(), QKeyEvent::hasExtendedInfo(), QWindowStateChangeEvent::isOverride(), QGraphicsSceneMouseEvent::lastPos(), QGraphicsSceneHoverEvent::lastPos(), QGraphicsSceneMouseEvent::lastScenePos(), QGraphicsSceneHoverEvent::lastScenePos(), QGraphicsSceneMouseEvent::lastScreenPos(), QGraphicsSceneHoverEvent::lastScreenPos(), QGraphicsSceneDragDropEvent::mimeData(), QGraphicsSceneMouseEvent::modifiers(), QGraphicsSceneWheelEvent::modifiers(), QGraphicsSceneContextMenuEvent::modifiers(), QGraphicsSceneHoverEvent::modifiers(), QGraphicsSceneDragDropEvent::modifiers(), QKeyEvent::nativeModifiers(), QKeyEvent::nativeScanCode(), QKeyEvent::nativeVirtualKey(), QGraphicsSceneMoveEvent::newPos(), QGraphicsSceneResizeEvent::newSize(), QGraphicsSceneMoveEvent::oldPos(), QGraphicsSceneResizeEvent::oldSize(), QFileOpenEvent::openFile(), QGraphicsSceneWheelEvent::orientation(), QGraphicsSceneMouseEvent::pos(), QGraphicsSceneWheelEvent::pos(), QGraphicsSceneContextMenuEvent::pos(), QGraphicsSceneHoverEvent::pos(), QGraphicsSceneDragDropEvent::pos(), QGraphicsSceneDragDropEvent::possibleActions(), QGraphicsSceneDragDropEvent::proposedAction(), QClipboardEvent::QClipboardEvent(), QFileOpenEvent::QFileOpenEvent(), QGestureEvent::QGestureEvent(), QKeyEventEx::QKeyEventEx(), QMouseEventEx::QMouseEventEx(), QWindowStateChangeEvent::QWindowStateChangeEvent(), QGraphicsSceneContextMenuEvent::reason(), QGraphicsSceneMouseEvent::scenePos(), QGraphicsSceneWheelEvent::scenePos(), QGraphicsSceneContextMenuEvent::scenePos(), QGraphicsSceneHoverEvent::scenePos(), QGraphicsSceneHelpEvent::scenePos(), QGraphicsSceneDragDropEvent::scenePos(), QGraphicsSceneMouseEvent::screenPos(), QGraphicsSceneWheelEvent::screenPos(), QGraphicsSceneContextMenuEvent::screenPos(), QGraphicsSceneHoverEvent::screenPos(), QGraphicsSceneHelpEvent::screenPos(), QGraphicsSceneDragDropEvent::screenPos(), QCoreApplicationPrivate::sendPostedEvents(), QGraphicsSceneMouseEvent::setButton(), QGraphicsSceneMouseEvent::setButtonDownPos(), QGraphicsSceneMouseEvent::setButtonDownScenePos(), QGraphicsSceneMouseEvent::setButtonDownScreenPos(), QGraphicsSceneMouseEvent::setButtons(), QGraphicsSceneWheelEvent::setButtons(), QGraphicsSceneDragDropEvent::setButtons(), QGraphicsSceneWheelEvent::setDelta(), QGraphicsSceneDragDropEvent::setDropAction(), QGraphicsSceneMouseEvent::setLastPos(), QGraphicsSceneHoverEvent::setLastPos(), QGraphicsSceneMouseEvent::setLastScenePos(), QGraphicsSceneHoverEvent::setLastScenePos(), QGraphicsSceneMouseEvent::setLastScreenPos(), QGraphicsSceneHoverEvent::setLastScreenPos(), QGraphicsSceneDragDropEvent::setMimeData(), QGraphicsSceneMouseEvent::setModifiers(), QGraphicsSceneWheelEvent::setModifiers(), QGraphicsSceneContextMenuEvent::setModifiers(), QGraphicsSceneHoverEvent::setModifiers(), QGraphicsSceneDragDropEvent::setModifiers(), QGraphicsSceneMoveEvent::setNewPos(), QGraphicsSceneResizeEvent::setNewSize(), QGraphicsSceneMoveEvent::setOldPos(), QGraphicsSceneResizeEvent::setOldSize(), QGraphicsSceneWheelEvent::setOrientation(), QGraphicsSceneMouseEvent::setPos(), QGraphicsSceneWheelEvent::setPos(), QGraphicsSceneContextMenuEvent::setPos(), QGraphicsSceneHoverEvent::setPos(), QGraphicsSceneDragDropEvent::setPos(), QGraphicsSceneDragDropEvent::setPossibleActions(), QGraphicsSceneDragDropEvent::setProposedAction(), QGraphicsSceneContextMenuEvent::setReason(), QGraphicsSceneMouseEvent::setScenePos(), QGraphicsSceneWheelEvent::setScenePos(), QGraphicsSceneContextMenuEvent::setScenePos(), QGraphicsSceneHoverEvent::setScenePos(), QGraphicsSceneHelpEvent::setScenePos(), QGraphicsSceneDragDropEvent::setScenePos(), QGraphicsSceneMouseEvent::setScreenPos(), QGraphicsSceneWheelEvent::setScreenPos(), QGraphicsSceneContextMenuEvent::setScreenPos(), QGraphicsSceneHoverEvent::setScreenPos(), QGraphicsSceneHelpEvent::setScreenPos(), QGraphicsSceneDragDropEvent::setScreenPos(), QGraphicsSceneDragDropEvent::setSource(), QGraphicsSceneDragDropEvent::source(), QFileOpenEvent::url(), QGraphicsView::viewportEvent(), QChildEvent::~QChildEvent(), QFileOpenEvent::~QFileOpenEvent(), and QGestureEvent::~QGestureEvent().
|
private |
Definition at line 321 of file qcoreevent.h.
|
private |
Definition at line 319 of file qcoreevent.h.
Referenced by QCoreApplication::postEvent(), QCoreApplicationPrivate::removePostedEvent(), QCoreApplication::removePostedEvents(), QCoreApplicationPrivate::removePostedTimerEvent(), QCoreApplicationPrivate::sendPostedEvents(), QCoreApplicationPrivate::~QCoreApplicationPrivate(), ~QEvent(), and QThreadData::~QThreadData().
|
private |
Definition at line 322 of file qcoreevent.h.
|
private |
Definition at line 320 of file qcoreevent.h.
Referenced by QApplication::notify(), and QApplicationPrivate::notify_helper().
|
protected |
Definition at line 316 of file qcoreevent.h.
Referenced by QGraphicsScenePrivate::gestureEventHandler(), QApplication::notify(), and QShortcutMap::tryShortcutEvent().