1.事件过滤器
bool QObject::eventFilter(QObject * watched, QEvent * event) [virtual]
2.统一的
bool QObject::event(QEvent * e) [virtual]
bool QWidget::event(QEvent * event) [virtual protected]
3.特殊事件
closeEvent(), focusInEvent(), focusOutEvent(), enterEvent(), keyPressEvent(), keyReleaseEvent(), leaveEvent(), mouseDoubleClickEvent(),mouseMoveEvent(), mousePressEvent(), mouseReleaseEvent(), moveEvent(), paintEvent(), resizeEvent(), QObject::event(), and QObject::timerEvent().
时间: 2024-12-16 10:40:55